PlatformSQLBuilder.java 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224
  1. /*
  2. * Copyright 2010 The YAPULAN Software Foundation
  3. *
  4. * Licensed under the YAPULAN License, Version 2.0 (the "License");
  5. */
  6. package com.miniframe.system.model;
  7. import java.util.ArrayList;
  8. import java.util.HashMap;
  9. import java.util.List;
  10. import java.util.Map;
  11. /**
  12. * 平台配置表 : 平台配置表
  13. * @generated
  14. */
  15. public class PlatformSQLBuilder {
  16. /**
  17. * 平台配置表 : 平台配置表
  18. * @generated
  19. */
  20. protected String orderByClause;
  21. /**
  22. * 平台配置表 : 平台配置表
  23. * @generated
  24. */
  25. protected boolean distinct;
  26. /**
  27. * 平台配置表 : 平台配置表
  28. * @generated
  29. */
  30. protected boolean NoWait;
  31. /**
  32. * 平台配置表 : 平台配置表
  33. * @generated
  34. */
  35. protected boolean forUpdate;
  36. /**
  37. * 平台配置表 : 平台配置表
  38. * @generated
  39. */
  40. protected List<Criteria> oredCriteria;
  41. /**
  42. * 平台配置表 : 平台配置表
  43. * @generated
  44. */
  45. private Integer oracleStart;
  46. /**
  47. * 平台配置表 : 平台配置表
  48. * @generated
  49. */
  50. private Integer oracleEnd;
  51. /**
  52. * 平台配置表 : 平台配置表
  53. * @generated
  54. */
  55. private Integer startOffSet;
  56. /**
  57. * 平台配置表 : 平台配置表
  58. * @generated
  59. */
  60. private Integer pageSize;
  61. /**
  62. * @generated
  63. */
  64. public PlatformSQLBuilder() {
  65. oredCriteria = new ArrayList<Criteria>();
  66. }
  67. /**
  68. * @generated
  69. */
  70. protected PlatformSQLBuilder(PlatformSQLBuilder example) {
  71. this.orderByClause = example.orderByClause;
  72. this.oredCriteria = example.oredCriteria;
  73. this.distinct = example.distinct;
  74. this.forUpdate = example.forUpdate;
  75. this.NoWait = example.NoWait;
  76. }
  77. /**
  78. * 设置排序
  79. * @generated
  80. */
  81. public void setOrderByClause(String orderByClause) {
  82. this.orderByClause = orderByClause;
  83. }
  84. /**
  85. * 获取排序
  86. * @generated
  87. */
  88. public String getOrderByClause() {
  89. return orderByClause;
  90. }
  91. /**
  92. * 设置是否过滤重复
  93. * @generated
  94. */
  95. public void setDistinct(boolean distinct) {
  96. this.distinct = distinct;
  97. }
  98. /**
  99. * 获取是否过滤重复
  100. * @generated
  101. */
  102. public boolean isDistinct() {
  103. return distinct;
  104. }
  105. /**
  106. * 设置是否上锁是否不等待
  107. * @generated
  108. */
  109. public void setNoWait(boolean NoWait) {
  110. this.NoWait = NoWait;
  111. }
  112. /**
  113. * 设置是否上锁是否不等待
  114. * @generated
  115. */
  116. public boolean isNoWait() {
  117. return NoWait;
  118. }
  119. /**
  120. * 设置是否行锁定
  121. * @generated
  122. */
  123. public void setForUpdate(boolean forUpdate) {
  124. this.forUpdate = forUpdate;
  125. }
  126. /**
  127. * 获取是否行锁定
  128. * @generated
  129. */
  130. public boolean isForUpdate() {
  131. return forUpdate;
  132. }
  133. /**
  134. * @generated
  135. */
  136. public List<Criteria> getOredCriteria() {
  137. return oredCriteria;
  138. }
  139. /**
  140. * @generated
  141. */
  142. public void or(Criteria criteria) {
  143. oredCriteria.add(criteria);
  144. }
  145. /**
  146. * 或
  147. * @generated
  148. */
  149. public Criteria or() {
  150. Criteria criteria = createCriteriaInternal();
  151. oredCriteria.add(criteria);
  152. return criteria;
  153. }
  154. /**
  155. * @generated
  156. */
  157. public Criteria createCriteria() {
  158. Criteria criteria = createCriteriaInternal();
  159. if (oredCriteria.size() == 0) {
  160. oredCriteria.add(criteria);
  161. }
  162. return criteria;
  163. }
  164. /**
  165. * @generated
  166. */
  167. protected Criteria createCriteriaInternal() {
  168. Criteria criteria = new Criteria();
  169. return criteria;
  170. }
  171. /**
  172. * 清除
  173. * @generated
  174. */
  175. public void clear() {
  176. oredCriteria.clear();
  177. orderByClause = null;
  178. distinct = false;
  179. forUpdate = false;
  180. NoWait = false;
  181. }
  182. /**
  183. * 设置开始行,从1开始
  184. * @generated
  185. */
  186. public void setOracleStart(Integer oracleStart) {
  187. this.oracleStart = oracleStart;
  188. this.startOffSet = this.oracleStart - 1;
  189. if(this.oracleEnd!=null){
  190. this.pageSize = this.oracleEnd - this.oracleStart + 1;
  191. }
  192. }
  193. /**
  194. * 获取开始行,从1开始
  195. * @generated
  196. */
  197. public Integer getOracleStart() {
  198. return oracleStart;
  199. }
  200. /**
  201. * 设置结束行
  202. * @generated
  203. */
  204. public void setOracleEnd(Integer oracleEnd) {
  205. if(this.oracleStart==null){
  206. this.oracleStart =1;
  207. this.startOffSet =0;
  208. }
  209. this.oracleEnd = oracleEnd;
  210. this.pageSize = this.oracleEnd - this.oracleStart + 1;
  211. }
  212. /**
  213. * 获取结束行
  214. * @generated
  215. */
  216. public Integer getOracleEnd() {
  217. return oracleEnd;
  218. }
  219. /**
  220. * 设置偏移量,从0开始
  221. * @generated
  222. */
  223. public void setStartOffSet(Integer startOffSet) {
  224. this.startOffSet = startOffSet;
  225. this.oracleStart = this.startOffSet + 1;
  226. if(this.pageSize!=null){
  227. this.oracleEnd = this.oracleStart - 1 + this.pageSize;
  228. }
  229. }
  230. /**
  231. * 获取偏移量,从0开始
  232. * @generated
  233. */
  234. public Integer getStartOffSet() {
  235. return startOffSet;
  236. }
  237. /**
  238. * 设置页尺寸
  239. * @generated
  240. */
  241. public void setPageSize(Integer pageSize) {
  242. if(this.oracleStart==null){
  243. this.oracleStart =1;
  244. this.startOffSet =0;
  245. }
  246. this.pageSize = pageSize;
  247. this.oracleEnd = this.pageSize + this.oracleStart - 1;
  248. }
  249. /**
  250. * 获取页尺寸
  251. * @generated
  252. */
  253. public Integer getPageSize() {
  254. return pageSize;
  255. }
  256. /**
  257. * 平台配置表 : 平台配置表
  258. * @generated
  259. */
  260. protected abstract static class GeneratedCriteria {
  261. /**
  262. * 平台配置表 : 平台配置表
  263. * @generated
  264. */
  265. protected List<String> criteriaWithoutValue;
  266. /**
  267. * 平台配置表 : 平台配置表
  268. * @generated
  269. */
  270. protected List<Map<String, Object>> criteriaWithSingleValue;
  271. /**
  272. * 平台配置表 : 平台配置表
  273. * @generated
  274. */
  275. protected List<Map<String, Object>> criteriaWithListValue;
  276. /**
  277. * 平台配置表 : 平台配置表
  278. * @generated
  279. */
  280. protected List<Map<String, Object>> criteriaWithBetweenValue;
  281. /**
  282. * @generated
  283. */
  284. protected GeneratedCriteria() {
  285. super();
  286. criteriaWithoutValue = new ArrayList<String>();
  287. criteriaWithSingleValue = new ArrayList<Map<String, Object>>();
  288. criteriaWithListValue = new ArrayList<Map<String, Object>>();
  289. criteriaWithBetweenValue = new ArrayList<Map<String, Object>>();
  290. }
  291. /**
  292. * 验证
  293. * @generated
  294. */
  295. public boolean isValid() {
  296. return criteriaWithoutValue.size() > 0
  297. || criteriaWithSingleValue.size() > 0
  298. || criteriaWithListValue.size() > 0
  299. || criteriaWithBetweenValue.size() > 0;
  300. }
  301. /**
  302. * @generated
  303. */
  304. public List<String> getCriteriaWithoutValue() {
  305. return criteriaWithoutValue;
  306. }
  307. /**
  308. * @generated
  309. */
  310. public void setCriteriaWithoutValue(List<String> criteriaWithoutValue) {
  311. this.criteriaWithoutValue = criteriaWithoutValue;
  312. }
  313. /**
  314. * @generated
  315. */
  316. public List<Map<String, Object>> getCriteriaWithSingleValue() {
  317. return criteriaWithSingleValue;
  318. }
  319. /**
  320. * @generated
  321. */
  322. public void setCriteriaWithSingleValue(List<Map<String, Object>> criteriaWithSingleValue) {
  323. this.criteriaWithSingleValue = criteriaWithSingleValue;
  324. }
  325. /**
  326. * @generated
  327. */
  328. public List<Map<String, Object>> getCriteriaWithListValue() {
  329. return criteriaWithListValue;
  330. }
  331. /**
  332. * @generated
  333. */
  334. public void setCriteriaWithListValue(List<Map<String, Object>> criteriaWithListValue) {
  335. this.criteriaWithListValue = criteriaWithListValue;
  336. }
  337. /**
  338. * @generated
  339. */
  340. public List<Map<String, Object>> getCriteriaWithBetweenValue() {
  341. return criteriaWithBetweenValue;
  342. }
  343. /**
  344. * @generated
  345. */
  346. public void setCriteriaWithBetweenValue(List<Map<String, Object>> criteriaWithBetweenValue) {
  347. this.criteriaWithBetweenValue = criteriaWithBetweenValue;
  348. }
  349. /**
  350. * @generated
  351. */
  352. public void whereSQL(String condition) {
  353. if (condition == null) {
  354. throw new RuntimeException("Value for condition cannot be null");
  355. }
  356. criteriaWithoutValue.add(condition);
  357. }
  358. /**
  359. * @generated
  360. */
  361. protected void addCriterion(String condition) {
  362. if (condition == null) {
  363. throw new RuntimeException("Value for condition cannot be null");
  364. }
  365. criteriaWithoutValue.add(condition);
  366. }
  367. /**
  368. * @generated
  369. */
  370. protected void addCriterion(String condition, Object value, String property) {
  371. if (value == null) {
  372. throw new RuntimeException("Value for " + property + " cannot be null");
  373. }
  374. Map<String, Object> map = new HashMap<String, Object>();
  375. map.put("condition", condition);
  376. map.put("value", value);
  377. criteriaWithSingleValue.add(map);
  378. }
  379. /**
  380. * @generated
  381. */
  382. protected void addCriterion(String condition, List<? extends Object> values, String property) {
  383. if (values == null || values.size() == 0) {
  384. throw new RuntimeException("Value list for " + property + " cannot be null or empty");
  385. }
  386. Map<String, Object> map = new HashMap<String, Object>();
  387. map.put("condition", condition);
  388. map.put("values", values);
  389. criteriaWithListValue.add(map);
  390. }
  391. /**
  392. * @generated
  393. */
  394. protected void addCriterion(String condition, Object value1, Object value2, String property) {
  395. if (value1 == null || value2 == null) {
  396. throw new RuntimeException("Between values for " + property + " cannot be null");
  397. }
  398. List<Object> list = new ArrayList<Object>();
  399. list.add(value1);
  400. list.add(value2);
  401. Map<String, Object> map = new HashMap<String, Object>();
  402. map.put("condition", condition);
  403. map.put("values", list);
  404. criteriaWithBetweenValue.add(map);
  405. }
  406. /**
  407. * @generated
  408. */
  409. public Criteria andIdIsNull() {
  410. addCriterion("id is null");
  411. return (Criteria) this;
  412. }
  413. /**
  414. * @generated
  415. */
  416. public Criteria andIdIsNotNull() {
  417. addCriterion("id <> ''");
  418. return (Criteria) this;
  419. }
  420. /**
  421. * @generated
  422. */
  423. public Criteria andIdEqualTo(String value) {
  424. addCriterion("id =", value, "id");
  425. return (Criteria) this;
  426. }
  427. /**
  428. * @generated
  429. */
  430. public Criteria andIdNotEqualTo(String value) {
  431. addCriterion("id <>", value, "id");
  432. return (Criteria) this;
  433. }
  434. /**
  435. * @generated
  436. */
  437. public Criteria andIdGreaterThan(String value) {
  438. addCriterion("id >", value, "id");
  439. return (Criteria) this;
  440. }
  441. /**
  442. * @generated
  443. */
  444. public Criteria andIdGreaterThanOrEqualTo(String value) {
  445. addCriterion("id >=", value, "id");
  446. return (Criteria) this;
  447. }
  448. /**
  449. * @generated
  450. */
  451. public Criteria andIdLessThan(String value) {
  452. addCriterion("id <", value, "id");
  453. return (Criteria) this;
  454. }
  455. /**
  456. * @generated
  457. */
  458. public Criteria andIdLessThanOrEqualTo(String value) {
  459. addCriterion("id <=", value, "id");
  460. return (Criteria) this;
  461. }
  462. /**
  463. * @generated
  464. */
  465. public Criteria andIdLike(String value) {
  466. addCriterion("id like", value, "id");
  467. return (Criteria) this;
  468. }
  469. /**
  470. * @generated
  471. */
  472. public Criteria andIdNotLike(String value) {
  473. addCriterion("id not like", value, "id");
  474. return (Criteria) this;
  475. }
  476. /**
  477. * @generated
  478. */
  479. public Criteria andIdIn(List<String> values) {
  480. addCriterion("id in", values, "id");
  481. return (Criteria) this;
  482. }
  483. /**
  484. * @generated
  485. */
  486. public Criteria andIdNotIn(List<String> values) {
  487. addCriterion("id not in", values, "id");
  488. return (Criteria) this;
  489. }
  490. /**
  491. * @generated
  492. */
  493. public Criteria andIdBetween(String value1, String value2) {
  494. addCriterion("id between", value1, value2, "id");
  495. return (Criteria) this;
  496. }
  497. /**
  498. * @generated
  499. */
  500. public Criteria andIdNotBetween(String value1, String value2) {
  501. addCriterion("id not between", value1, value2, "id");
  502. return (Criteria) this;
  503. }
  504. /**
  505. * @generated
  506. */
  507. public Criteria andNameIsNull() {
  508. addCriterion("name is null");
  509. return (Criteria) this;
  510. }
  511. /**
  512. * @generated
  513. */
  514. public Criteria andNameIsNotNull() {
  515. addCriterion("name <> ''");
  516. return (Criteria) this;
  517. }
  518. /**
  519. * @generated
  520. */
  521. public Criteria andNameEqualTo(String value) {
  522. addCriterion("name =", value, "name");
  523. return (Criteria) this;
  524. }
  525. /**
  526. * @generated
  527. */
  528. public Criteria andNameNotEqualTo(String value) {
  529. addCriterion("name <>", value, "name");
  530. return (Criteria) this;
  531. }
  532. /**
  533. * @generated
  534. */
  535. public Criteria andNameGreaterThan(String value) {
  536. addCriterion("name >", value, "name");
  537. return (Criteria) this;
  538. }
  539. /**
  540. * @generated
  541. */
  542. public Criteria andNameGreaterThanOrEqualTo(String value) {
  543. addCriterion("name >=", value, "name");
  544. return (Criteria) this;
  545. }
  546. /**
  547. * @generated
  548. */
  549. public Criteria andNameLessThan(String value) {
  550. addCriterion("name <", value, "name");
  551. return (Criteria) this;
  552. }
  553. /**
  554. * @generated
  555. */
  556. public Criteria andNameLessThanOrEqualTo(String value) {
  557. addCriterion("name <=", value, "name");
  558. return (Criteria) this;
  559. }
  560. /**
  561. * @generated
  562. */
  563. public Criteria andNameLike(String value) {
  564. addCriterion("name like", value, "name");
  565. return (Criteria) this;
  566. }
  567. /**
  568. * @generated
  569. */
  570. public Criteria andNameNotLike(String value) {
  571. addCriterion("name not like", value, "name");
  572. return (Criteria) this;
  573. }
  574. /**
  575. * @generated
  576. */
  577. public Criteria andNameIn(List<String> values) {
  578. addCriterion("name in", values, "name");
  579. return (Criteria) this;
  580. }
  581. /**
  582. * @generated
  583. */
  584. public Criteria andNameNotIn(List<String> values) {
  585. addCriterion("name not in", values, "name");
  586. return (Criteria) this;
  587. }
  588. /**
  589. * @generated
  590. */
  591. public Criteria andNameBetween(String value1, String value2) {
  592. addCriterion("name between", value1, value2, "name");
  593. return (Criteria) this;
  594. }
  595. /**
  596. * @generated
  597. */
  598. public Criteria andNameNotBetween(String value1, String value2) {
  599. addCriterion("name not between", value1, value2, "name");
  600. return (Criteria) this;
  601. }
  602. /**
  603. * @generated
  604. */
  605. public Criteria andPlatformidIsNull() {
  606. addCriterion("platformid is null");
  607. return (Criteria) this;
  608. }
  609. /**
  610. * @generated
  611. */
  612. public Criteria andPlatformidIsNotNull() {
  613. addCriterion("platformid <> ''");
  614. return (Criteria) this;
  615. }
  616. /**
  617. * @generated
  618. */
  619. public Criteria andPlatformidEqualTo(String value) {
  620. addCriterion("platformid =", value, "platformid");
  621. return (Criteria) this;
  622. }
  623. /**
  624. * @generated
  625. */
  626. public Criteria andPlatformidNotEqualTo(String value) {
  627. addCriterion("platformid <>", value, "platformid");
  628. return (Criteria) this;
  629. }
  630. /**
  631. * @generated
  632. */
  633. public Criteria andPlatformidGreaterThan(String value) {
  634. addCriterion("platformid >", value, "platformid");
  635. return (Criteria) this;
  636. }
  637. /**
  638. * @generated
  639. */
  640. public Criteria andPlatformidGreaterThanOrEqualTo(String value) {
  641. addCriterion("platformid >=", value, "platformid");
  642. return (Criteria) this;
  643. }
  644. /**
  645. * @generated
  646. */
  647. public Criteria andPlatformidLessThan(String value) {
  648. addCriterion("platformid <", value, "platformid");
  649. return (Criteria) this;
  650. }
  651. /**
  652. * @generated
  653. */
  654. public Criteria andPlatformidLessThanOrEqualTo(String value) {
  655. addCriterion("platformid <=", value, "platformid");
  656. return (Criteria) this;
  657. }
  658. /**
  659. * @generated
  660. */
  661. public Criteria andPlatformidLike(String value) {
  662. addCriterion("platformid like", value, "platformid");
  663. return (Criteria) this;
  664. }
  665. /**
  666. * @generated
  667. */
  668. public Criteria andPlatformidNotLike(String value) {
  669. addCriterion("platformid not like", value, "platformid");
  670. return (Criteria) this;
  671. }
  672. /**
  673. * @generated
  674. */
  675. public Criteria andPlatformidIn(List<String> values) {
  676. addCriterion("platformid in", values, "platformid");
  677. return (Criteria) this;
  678. }
  679. /**
  680. * @generated
  681. */
  682. public Criteria andPlatformidNotIn(List<String> values) {
  683. addCriterion("platformid not in", values, "platformid");
  684. return (Criteria) this;
  685. }
  686. /**
  687. * @generated
  688. */
  689. public Criteria andPlatformidBetween(String value1, String value2) {
  690. addCriterion("platformid between", value1, value2, "platformid");
  691. return (Criteria) this;
  692. }
  693. /**
  694. * @generated
  695. */
  696. public Criteria andPlatformidNotBetween(String value1, String value2) {
  697. addCriterion("platformid not between", value1, value2, "platformid");
  698. return (Criteria) this;
  699. }
  700. /**
  701. * @generated
  702. */
  703. public Criteria andRemarksIsNull() {
  704. addCriterion("remarks is null");
  705. return (Criteria) this;
  706. }
  707. /**
  708. * @generated
  709. */
  710. public Criteria andRemarksIsNotNull() {
  711. addCriterion("remarks <> ''");
  712. return (Criteria) this;
  713. }
  714. /**
  715. * @generated
  716. */
  717. public Criteria andRemarksEqualTo(String value) {
  718. addCriterion("remarks =", value, "remarks");
  719. return (Criteria) this;
  720. }
  721. /**
  722. * @generated
  723. */
  724. public Criteria andRemarksNotEqualTo(String value) {
  725. addCriterion("remarks <>", value, "remarks");
  726. return (Criteria) this;
  727. }
  728. /**
  729. * @generated
  730. */
  731. public Criteria andRemarksGreaterThan(String value) {
  732. addCriterion("remarks >", value, "remarks");
  733. return (Criteria) this;
  734. }
  735. /**
  736. * @generated
  737. */
  738. public Criteria andRemarksGreaterThanOrEqualTo(String value) {
  739. addCriterion("remarks >=", value, "remarks");
  740. return (Criteria) this;
  741. }
  742. /**
  743. * @generated
  744. */
  745. public Criteria andRemarksLessThan(String value) {
  746. addCriterion("remarks <", value, "remarks");
  747. return (Criteria) this;
  748. }
  749. /**
  750. * @generated
  751. */
  752. public Criteria andRemarksLessThanOrEqualTo(String value) {
  753. addCriterion("remarks <=", value, "remarks");
  754. return (Criteria) this;
  755. }
  756. /**
  757. * @generated
  758. */
  759. public Criteria andRemarksLike(String value) {
  760. addCriterion("remarks like", value, "remarks");
  761. return (Criteria) this;
  762. }
  763. /**
  764. * @generated
  765. */
  766. public Criteria andRemarksNotLike(String value) {
  767. addCriterion("remarks not like", value, "remarks");
  768. return (Criteria) this;
  769. }
  770. /**
  771. * @generated
  772. */
  773. public Criteria andRemarksIn(List<String> values) {
  774. addCriterion("remarks in", values, "remarks");
  775. return (Criteria) this;
  776. }
  777. /**
  778. * @generated
  779. */
  780. public Criteria andRemarksNotIn(List<String> values) {
  781. addCriterion("remarks not in", values, "remarks");
  782. return (Criteria) this;
  783. }
  784. /**
  785. * @generated
  786. */
  787. public Criteria andRemarksBetween(String value1, String value2) {
  788. addCriterion("remarks between", value1, value2, "remarks");
  789. return (Criteria) this;
  790. }
  791. /**
  792. * @generated
  793. */
  794. public Criteria andRemarksNotBetween(String value1, String value2) {
  795. addCriterion("remarks not between", value1, value2, "remarks");
  796. return (Criteria) this;
  797. }
  798. /**
  799. * @generated
  800. */
  801. public Criteria andAccountIsNull() {
  802. addCriterion("account is null");
  803. return (Criteria) this;
  804. }
  805. /**
  806. * @generated
  807. */
  808. public Criteria andAccountIsNotNull() {
  809. addCriterion("account <> ''");
  810. return (Criteria) this;
  811. }
  812. /**
  813. * @generated
  814. */
  815. public Criteria andAccountEqualTo(String value) {
  816. addCriterion("account =", value, "account");
  817. return (Criteria) this;
  818. }
  819. /**
  820. * @generated
  821. */
  822. public Criteria andAccountNotEqualTo(String value) {
  823. addCriterion("account <>", value, "account");
  824. return (Criteria) this;
  825. }
  826. /**
  827. * @generated
  828. */
  829. public Criteria andAccountGreaterThan(String value) {
  830. addCriterion("account >", value, "account");
  831. return (Criteria) this;
  832. }
  833. /**
  834. * @generated
  835. */
  836. public Criteria andAccountGreaterThanOrEqualTo(String value) {
  837. addCriterion("account >=", value, "account");
  838. return (Criteria) this;
  839. }
  840. /**
  841. * @generated
  842. */
  843. public Criteria andAccountLessThan(String value) {
  844. addCriterion("account <", value, "account");
  845. return (Criteria) this;
  846. }
  847. /**
  848. * @generated
  849. */
  850. public Criteria andAccountLessThanOrEqualTo(String value) {
  851. addCriterion("account <=", value, "account");
  852. return (Criteria) this;
  853. }
  854. /**
  855. * @generated
  856. */
  857. public Criteria andAccountLike(String value) {
  858. addCriterion("account like", value, "account");
  859. return (Criteria) this;
  860. }
  861. /**
  862. * @generated
  863. */
  864. public Criteria andAccountNotLike(String value) {
  865. addCriterion("account not like", value, "account");
  866. return (Criteria) this;
  867. }
  868. /**
  869. * @generated
  870. */
  871. public Criteria andAccountIn(List<String> values) {
  872. addCriterion("account in", values, "account");
  873. return (Criteria) this;
  874. }
  875. /**
  876. * @generated
  877. */
  878. public Criteria andAccountNotIn(List<String> values) {
  879. addCriterion("account not in", values, "account");
  880. return (Criteria) this;
  881. }
  882. /**
  883. * @generated
  884. */
  885. public Criteria andAccountBetween(String value1, String value2) {
  886. addCriterion("account between", value1, value2, "account");
  887. return (Criteria) this;
  888. }
  889. /**
  890. * @generated
  891. */
  892. public Criteria andAccountNotBetween(String value1, String value2) {
  893. addCriterion("account not between", value1, value2, "account");
  894. return (Criteria) this;
  895. }
  896. /**
  897. * @generated
  898. */
  899. public Criteria andTotalIsNull() {
  900. addCriterion("total is null");
  901. return (Criteria) this;
  902. }
  903. /**
  904. * @generated
  905. */
  906. public Criteria andTotalIsNotNull() {
  907. addCriterion("total <> ''");
  908. return (Criteria) this;
  909. }
  910. /**
  911. * @generated
  912. */
  913. public Criteria andTotalEqualTo(Long value) {
  914. addCriterion("total =", value, "total");
  915. return (Criteria) this;
  916. }
  917. /**
  918. * @generated
  919. */
  920. public Criteria andTotalNotEqualTo(Long value) {
  921. addCriterion("total <>", value, "total");
  922. return (Criteria) this;
  923. }
  924. /**
  925. * @generated
  926. */
  927. public Criteria andTotalGreaterThan(Long value) {
  928. addCriterion("total >", value, "total");
  929. return (Criteria) this;
  930. }
  931. /**
  932. * @generated
  933. */
  934. public Criteria andTotalGreaterThanOrEqualTo(Long value) {
  935. addCriterion("total >=", value, "total");
  936. return (Criteria) this;
  937. }
  938. /**
  939. * @generated
  940. */
  941. public Criteria andTotalLessThan(Long value) {
  942. addCriterion("total <", value, "total");
  943. return (Criteria) this;
  944. }
  945. /**
  946. * @generated
  947. */
  948. public Criteria andTotalLessThanOrEqualTo(Long value) {
  949. addCriterion("total <=", value, "total");
  950. return (Criteria) this;
  951. }
  952. /**
  953. * @generated
  954. */
  955. public Criteria andTotalIn(List<Long> values) {
  956. addCriterion("total in", values, "total");
  957. return (Criteria) this;
  958. }
  959. /**
  960. * @generated
  961. */
  962. public Criteria andTotalNotIn(List<Long> values) {
  963. addCriterion("total not in", values, "total");
  964. return (Criteria) this;
  965. }
  966. /**
  967. * @generated
  968. */
  969. public Criteria andTotalBetween(Long value1, Long value2) {
  970. addCriterion("total between", value1, value2, "total");
  971. return (Criteria) this;
  972. }
  973. /**
  974. * @generated
  975. */
  976. public Criteria andTotalNotBetween(Long value1, Long value2) {
  977. addCriterion("total not between", value1, value2, "total");
  978. return (Criteria) this;
  979. }
  980. /**
  981. * @generated
  982. */
  983. public Criteria andUsedIsNull() {
  984. addCriterion("used is null");
  985. return (Criteria) this;
  986. }
  987. /**
  988. * @generated
  989. */
  990. public Criteria andUsedIsNotNull() {
  991. addCriterion("used <> ''");
  992. return (Criteria) this;
  993. }
  994. /**
  995. * @generated
  996. */
  997. public Criteria andUsedEqualTo(Long value) {
  998. addCriterion("used =", value, "used");
  999. return (Criteria) this;
  1000. }
  1001. /**
  1002. * @generated
  1003. */
  1004. public Criteria andUsedNotEqualTo(Long value) {
  1005. addCriterion("used <>", value, "used");
  1006. return (Criteria) this;
  1007. }
  1008. /**
  1009. * @generated
  1010. */
  1011. public Criteria andUsedGreaterThan(Long value) {
  1012. addCriterion("used >", value, "used");
  1013. return (Criteria) this;
  1014. }
  1015. /**
  1016. * @generated
  1017. */
  1018. public Criteria andUsedGreaterThanOrEqualTo(Long value) {
  1019. addCriterion("used >=", value, "used");
  1020. return (Criteria) this;
  1021. }
  1022. /**
  1023. * @generated
  1024. */
  1025. public Criteria andUsedLessThan(Long value) {
  1026. addCriterion("used <", value, "used");
  1027. return (Criteria) this;
  1028. }
  1029. /**
  1030. * @generated
  1031. */
  1032. public Criteria andUsedLessThanOrEqualTo(Long value) {
  1033. addCriterion("used <=", value, "used");
  1034. return (Criteria) this;
  1035. }
  1036. /**
  1037. * @generated
  1038. */
  1039. public Criteria andUsedIn(List<Long> values) {
  1040. addCriterion("used in", values, "used");
  1041. return (Criteria) this;
  1042. }
  1043. /**
  1044. * @generated
  1045. */
  1046. public Criteria andUsedNotIn(List<Long> values) {
  1047. addCriterion("used not in", values, "used");
  1048. return (Criteria) this;
  1049. }
  1050. /**
  1051. * @generated
  1052. */
  1053. public Criteria andUsedBetween(Long value1, Long value2) {
  1054. addCriterion("used between", value1, value2, "used");
  1055. return (Criteria) this;
  1056. }
  1057. /**
  1058. * @generated
  1059. */
  1060. public Criteria andUsedNotBetween(Long value1, Long value2) {
  1061. addCriterion("used not between", value1, value2, "used");
  1062. return (Criteria) this;
  1063. }
  1064. }
  1065. /**
  1066. * 平台配置表 : 平台配置表
  1067. * @generated
  1068. */
  1069. public static class Criteria extends GeneratedCriteria {
  1070. protected Criteria() {
  1071. super();
  1072. }
  1073. }
  1074. }