XtTlgyckzExample.java 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594
  1. package com.huimv.xt.dataobject;
  2. import java.util.ArrayList;
  3. import java.util.Date;
  4. import java.util.HashMap;
  5. import java.util.List;
  6. import java.util.Map;
  7. public class XtTlgyckzExample {
  8. /**
  9. * This field was generated by Apache iBATIS ibator.
  10. * This field corresponds to the database table xt_tlg_yckz
  11. *
  12. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  13. */
  14. protected String orderByClause;
  15. /**
  16. * This field was generated by Apache iBATIS ibator.
  17. * This field corresponds to the database table xt_tlg_yckz
  18. *
  19. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  20. */
  21. protected List<Criteria> oredCriteria;
  22. /**
  23. * This field was generated by Apache iBATIS ibator.
  24. * This field corresponds to the database table xt_tlg_yckz
  25. *
  26. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  27. */
  28. protected int start = -1;
  29. /**
  30. * This field was generated by Apache iBATIS ibator.
  31. * This field corresponds to the database table xt_tlg_yckz
  32. *
  33. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  34. */
  35. protected int limit = -1;
  36. /**
  37. * This method was generated by Apache iBATIS ibator.
  38. * This method corresponds to the database table xt_tlg_yckz
  39. *
  40. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  41. */
  42. public XtTlgyckzExample() {
  43. oredCriteria = new ArrayList<Criteria>();
  44. }
  45. /**
  46. * This method was generated by Apache iBATIS ibator.
  47. * This method corresponds to the database table xt_tlg_yckz
  48. *
  49. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  50. */
  51. protected XtTlgyckzExample(XtTlgyckzExample example) {
  52. this.orderByClause = example.orderByClause;
  53. this.oredCriteria = example.oredCriteria;
  54. }
  55. /**
  56. * This method was generated by Apache iBATIS ibator.
  57. * This method corresponds to the database table xt_tlg_yckz
  58. *
  59. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  60. */
  61. public void setOrderByClause(String orderByClause) {
  62. this.orderByClause = orderByClause;
  63. }
  64. /**
  65. * This method was generated by Apache iBATIS ibator.
  66. * This method corresponds to the database table xt_tlg_yckz
  67. *
  68. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  69. */
  70. public String getOrderByClause() {
  71. return orderByClause;
  72. }
  73. /**
  74. * This method was generated by Apache iBATIS ibator.
  75. * This method corresponds to the database table xt_tlg_yckz
  76. *
  77. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  78. */
  79. public List<Criteria> getOredCriteria() {
  80. return oredCriteria;
  81. }
  82. /**
  83. * This method was generated by Apache iBATIS ibator.
  84. * This method corresponds to the database table xt_tlg_yckz
  85. *
  86. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  87. */
  88. public void or(Criteria criteria) {
  89. oredCriteria.add(criteria);
  90. }
  91. /**
  92. * This method was generated by Apache iBATIS ibator.
  93. * This method corresponds to the database table xt_tlg_yckz
  94. *
  95. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  96. */
  97. public Criteria createCriteria() {
  98. Criteria criteria = createCriteriaInternal();
  99. if (oredCriteria.size() == 0) {
  100. oredCriteria.add(criteria);
  101. }
  102. return criteria;
  103. }
  104. /**
  105. * This method was generated by Apache iBATIS ibator.
  106. * This method corresponds to the database table xt_tlg_yckz
  107. *
  108. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  109. */
  110. protected Criteria createCriteriaInternal() {
  111. Criteria criteria = new Criteria();
  112. return criteria;
  113. }
  114. /**
  115. * This method was generated by Apache iBATIS ibator.
  116. * This method corresponds to the database table xt_tlg_yckz
  117. *
  118. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  119. */
  120. public void clear() {
  121. oredCriteria.clear();
  122. }
  123. /**
  124. * This method was generated by Apache iBATIS ibator.
  125. * This method corresponds to the database table xt_tlg_yckz
  126. *
  127. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  128. */
  129. public void setStart(int start) {
  130. this.start=start;
  131. }
  132. /**
  133. * This method was generated by Apache iBATIS ibator.
  134. * This method corresponds to the database table xt_tlg_yckz
  135. *
  136. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  137. */
  138. public int getStart() {
  139. return start;
  140. }
  141. /**
  142. * This method was generated by Apache iBATIS ibator.
  143. * This method corresponds to the database table xt_tlg_yckz
  144. *
  145. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  146. */
  147. public void setLimit(int limit) {
  148. this.limit=limit;
  149. }
  150. /**
  151. * This method was generated by Apache iBATIS ibator.
  152. * This method corresponds to the database table xt_tlg_yckz
  153. *
  154. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  155. */
  156. public int getLimit() {
  157. return limit;
  158. }
  159. /**
  160. * This class was generated by Apache iBATIS ibator.
  161. * This class corresponds to the database table xt_tlg_yckz
  162. *
  163. * @ibatorgenerated Wed Nov 20 15:56:49 CST 2019
  164. */
  165. public static class Criteria {
  166. protected List<String> criteriaWithoutValue;
  167. protected List<Map<String, Object>> criteriaWithSingleValue;
  168. protected List<Map<String, Object>> criteriaWithListValue;
  169. protected List<Map<String, Object>> criteriaWithBetweenValue;
  170. protected Criteria() {
  171. super();
  172. criteriaWithoutValue = new ArrayList<String>();
  173. criteriaWithSingleValue = new ArrayList<Map<String, Object>>();
  174. criteriaWithListValue = new ArrayList<Map<String, Object>>();
  175. criteriaWithBetweenValue = new ArrayList<Map<String, Object>>();
  176. }
  177. public boolean isValid() {
  178. return criteriaWithoutValue.size() > 0
  179. || criteriaWithSingleValue.size() > 0
  180. || criteriaWithListValue.size() > 0
  181. || criteriaWithBetweenValue.size() > 0;
  182. }
  183. public List<String> getCriteriaWithoutValue() {
  184. return criteriaWithoutValue;
  185. }
  186. public List<Map<String, Object>> getCriteriaWithSingleValue() {
  187. return criteriaWithSingleValue;
  188. }
  189. public List<Map<String, Object>> getCriteriaWithListValue() {
  190. return criteriaWithListValue;
  191. }
  192. public List<Map<String, Object>> getCriteriaWithBetweenValue() {
  193. return criteriaWithBetweenValue;
  194. }
  195. protected void addCriterion(String condition) {
  196. if (condition == null) {
  197. throw new RuntimeException("Value for condition cannot be null");
  198. }
  199. criteriaWithoutValue.add(condition);
  200. }
  201. protected void addCriterion(String condition, Object value, String property) {
  202. if (value == null) {
  203. throw new RuntimeException("Value for " + property + " cannot be null");
  204. }
  205. Map<String, Object> map = new HashMap<String, Object>();
  206. map.put("condition", condition);
  207. map.put("value", value);
  208. criteriaWithSingleValue.add(map);
  209. }
  210. protected void addCriterion(String condition, List<? extends Object> values, String property) {
  211. if (values == null || values.size() == 0) {
  212. throw new RuntimeException("Value list for " + property + " cannot be null or empty");
  213. }
  214. Map<String, Object> map = new HashMap<String, Object>();
  215. map.put("condition", condition);
  216. map.put("values", values);
  217. criteriaWithListValue.add(map);
  218. }
  219. protected void addCriterion(String condition, Object value1, Object value2, String property) {
  220. if (value1 == null || value2 == null) {
  221. throw new RuntimeException("Between values for " + property + " cannot be null");
  222. }
  223. List<Object> list = new ArrayList<Object>();
  224. list.add(value1);
  225. list.add(value2);
  226. Map<String, Object> map = new HashMap<String, Object>();
  227. map.put("condition", condition);
  228. map.put("values", list);
  229. criteriaWithBetweenValue.add(map);
  230. }
  231. public Criteria andIdIsNull() {
  232. addCriterion("ID is null");
  233. return this;
  234. }
  235. public Criteria andIdIsNotNull() {
  236. addCriterion("ID is not null");
  237. return this;
  238. }
  239. public Criteria andIdEqualTo(Integer value) {
  240. addCriterion("ID =", value, "id");
  241. return this;
  242. }
  243. public Criteria andIdNotEqualTo(Integer value) {
  244. addCriterion("ID <>", value, "id");
  245. return this;
  246. }
  247. public Criteria andIdGreaterThan(Integer value) {
  248. addCriterion("ID >", value, "id");
  249. return this;
  250. }
  251. public Criteria andIdGreaterThanOrEqualTo(Integer value) {
  252. addCriterion("ID >=", value, "id");
  253. return this;
  254. }
  255. public Criteria andIdLessThan(Integer value) {
  256. addCriterion("ID <", value, "id");
  257. return this;
  258. }
  259. public Criteria andIdLessThanOrEqualTo(Integer value) {
  260. addCriterion("ID <=", value, "id");
  261. return this;
  262. }
  263. public Criteria andIdIn(List<Integer> values) {
  264. addCriterion("ID in", values, "id");
  265. return this;
  266. }
  267. public Criteria andIdNotIn(List<Integer> values) {
  268. addCriterion("ID not in", values, "id");
  269. return this;
  270. }
  271. public Criteria andIdBetween(Integer value1, Integer value2) {
  272. addCriterion("ID between", value1, value2, "id");
  273. return this;
  274. }
  275. public Criteria andIdNotBetween(Integer value1, Integer value2) {
  276. addCriterion("ID not between", value1, value2, "id");
  277. return this;
  278. }
  279. public Criteria andJqidIsNull() {
  280. addCriterion("JQID is null");
  281. return this;
  282. }
  283. public Criteria andJqidIsNotNull() {
  284. addCriterion("JQID is not null");
  285. return this;
  286. }
  287. public Criteria andJqidEqualTo(String value) {
  288. addCriterion("JQID =", value, "jqid");
  289. return this;
  290. }
  291. public Criteria andJqidNotEqualTo(String value) {
  292. addCriterion("JQID <>", value, "jqid");
  293. return this;
  294. }
  295. public Criteria andJqidGreaterThan(String value) {
  296. addCriterion("JQID >", value, "jqid");
  297. return this;
  298. }
  299. public Criteria andJqidGreaterThanOrEqualTo(String value) {
  300. addCriterion("JQID >=", value, "jqid");
  301. return this;
  302. }
  303. public Criteria andJqidLessThan(String value) {
  304. addCriterion("JQID <", value, "jqid");
  305. return this;
  306. }
  307. public Criteria andJqidLessThanOrEqualTo(String value) {
  308. addCriterion("JQID <=", value, "jqid");
  309. return this;
  310. }
  311. public Criteria andJqidLike(String value) {
  312. addCriterion("JQID like", value, "jqid");
  313. return this;
  314. }
  315. public Criteria andJqidNotLike(String value) {
  316. addCriterion("JQID not like", value, "jqid");
  317. return this;
  318. }
  319. public Criteria andJqidIn(List<String> values) {
  320. addCriterion("JQID in", values, "jqid");
  321. return this;
  322. }
  323. public Criteria andJqidNotIn(List<String> values) {
  324. addCriterion("JQID not in", values, "jqid");
  325. return this;
  326. }
  327. public Criteria andJqidBetween(String value1, String value2) {
  328. addCriterion("JQID between", value1, value2, "jqid");
  329. return this;
  330. }
  331. public Criteria andJqidNotBetween(String value1, String value2) {
  332. addCriterion("JQID not between", value1, value2, "jqid");
  333. return this;
  334. }
  335. public Criteria andYxcsIsNull() {
  336. addCriterion("YXCS is null");
  337. return this;
  338. }
  339. public Criteria andYxcsIsNotNull() {
  340. addCriterion("YXCS is not null");
  341. return this;
  342. }
  343. public Criteria andYxcsEqualTo(String value) {
  344. addCriterion("YXCS =", value, "yxcs");
  345. return this;
  346. }
  347. public Criteria andYxcsNotEqualTo(String value) {
  348. addCriterion("YXCS <>", value, "yxcs");
  349. return this;
  350. }
  351. public Criteria andYxcsGreaterThan(String value) {
  352. addCriterion("YXCS >", value, "yxcs");
  353. return this;
  354. }
  355. public Criteria andYxcsGreaterThanOrEqualTo(String value) {
  356. addCriterion("YXCS >=", value, "yxcs");
  357. return this;
  358. }
  359. public Criteria andYxcsLessThan(String value) {
  360. addCriterion("YXCS <", value, "yxcs");
  361. return this;
  362. }
  363. public Criteria andYxcsLessThanOrEqualTo(String value) {
  364. addCriterion("YXCS <=", value, "yxcs");
  365. return this;
  366. }
  367. public Criteria andYxcsLike(String value) {
  368. addCriterion("YXCS like", value, "yxcs");
  369. return this;
  370. }
  371. public Criteria andYxcsNotLike(String value) {
  372. addCriterion("YXCS not like", value, "yxcs");
  373. return this;
  374. }
  375. public Criteria andYxcsIn(List<String> values) {
  376. addCriterion("YXCS in", values, "yxcs");
  377. return this;
  378. }
  379. public Criteria andYxcsNotIn(List<String> values) {
  380. addCriterion("YXCS not in", values, "yxcs");
  381. return this;
  382. }
  383. public Criteria andYxcsBetween(String value1, String value2) {
  384. addCriterion("YXCS between", value1, value2, "yxcs");
  385. return this;
  386. }
  387. public Criteria andYxcsNotBetween(String value1, String value2) {
  388. addCriterion("YXCS not between", value1, value2, "yxcs");
  389. return this;
  390. }
  391. public Criteria andScsjIsNull() {
  392. addCriterion("SCSJ is null");
  393. return this;
  394. }
  395. public Criteria andScsjIsNotNull() {
  396. addCriterion("SCSJ is not null");
  397. return this;
  398. }
  399. public Criteria andScsjEqualTo(Date value) {
  400. addCriterion("SCSJ =", value, "scsj");
  401. return this;
  402. }
  403. public Criteria andScsjNotEqualTo(Date value) {
  404. addCriterion("SCSJ <>", value, "scsj");
  405. return this;
  406. }
  407. public Criteria andScsjGreaterThan(Date value) {
  408. addCriterion("SCSJ >", value, "scsj");
  409. return this;
  410. }
  411. public Criteria andScsjGreaterThanOrEqualTo(Date value) {
  412. addCriterion("SCSJ >=", value, "scsj");
  413. return this;
  414. }
  415. public Criteria andScsjLessThan(Date value) {
  416. addCriterion("SCSJ <", value, "scsj");
  417. return this;
  418. }
  419. public Criteria andScsjLessThanOrEqualTo(Date value) {
  420. addCriterion("SCSJ <=", value, "scsj");
  421. return this;
  422. }
  423. public Criteria andScsjIn(List<Date> values) {
  424. addCriterion("SCSJ in", values, "scsj");
  425. return this;
  426. }
  427. public Criteria andScsjNotIn(List<Date> values) {
  428. addCriterion("SCSJ not in", values, "scsj");
  429. return this;
  430. }
  431. public Criteria andScsjBetween(Date value1, Date value2) {
  432. addCriterion("SCSJ between", value1, value2, "scsj");
  433. return this;
  434. }
  435. public Criteria andScsjNotBetween(Date value1, Date value2) {
  436. addCriterion("SCSJ not between", value1, value2, "scsj");
  437. return this;
  438. }
  439. public Criteria andSftsIsNull() {
  440. addCriterion("SFTS is null");
  441. return this;
  442. }
  443. public Criteria andSftsIsNotNull() {
  444. addCriterion("SFTS is not null");
  445. return this;
  446. }
  447. public Criteria andSftsEqualTo(String value) {
  448. addCriterion("SFTS =", value, "sfts");
  449. return this;
  450. }
  451. public Criteria andSftsNotEqualTo(String value) {
  452. addCriterion("SFTS <>", value, "sfts");
  453. return this;
  454. }
  455. public Criteria andSftsGreaterThan(String value) {
  456. addCriterion("SFTS >", value, "sfts");
  457. return this;
  458. }
  459. public Criteria andSftsGreaterThanOrEqualTo(String value) {
  460. addCriterion("SFTS >=", value, "sfts");
  461. return this;
  462. }
  463. public Criteria andSftsLessThan(String value) {
  464. addCriterion("SFTS <", value, "sfts");
  465. return this;
  466. }
  467. public Criteria andSftsLessThanOrEqualTo(String value) {
  468. addCriterion("SFTS <=", value, "sfts");
  469. return this;
  470. }
  471. public Criteria andSftsLike(String value) {
  472. addCriterion("SFTS like", value, "sfts");
  473. return this;
  474. }
  475. public Criteria andSftsNotLike(String value) {
  476. addCriterion("SFTS not like", value, "sfts");
  477. return this;
  478. }
  479. public Criteria andSftsIn(List<String> values) {
  480. addCriterion("SFTS in", values, "sfts");
  481. return this;
  482. }
  483. public Criteria andSftsNotIn(List<String> values) {
  484. addCriterion("SFTS not in", values, "sfts");
  485. return this;
  486. }
  487. public Criteria andSftsBetween(String value1, String value2) {
  488. addCriterion("SFTS between", value1, value2, "sfts");
  489. return this;
  490. }
  491. public Criteria andSftsNotBetween(String value1, String value2) {
  492. addCriterion("SFTS not between", value1, value2, "sfts");
  493. return this;
  494. }
  495. }
  496. }