XtLxyckzExample.java 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664
  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 XtLxyckzExample {
  8. /**
  9. * This field was generated by Apache iBATIS ibator.
  10. * This field corresponds to the database table xt_lxyckz
  11. *
  12. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  13. */
  14. protected String orderByClause;
  15. /**
  16. * This field was generated by Apache iBATIS ibator.
  17. * This field corresponds to the database table xt_lxyckz
  18. *
  19. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  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_lxyckz
  25. *
  26. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  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_lxyckz
  32. *
  33. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  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_lxyckz
  39. *
  40. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  41. */
  42. public XtLxyckzExample() {
  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_lxyckz
  48. *
  49. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  50. */
  51. protected XtLxyckzExample(XtLxyckzExample 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_lxyckz
  58. *
  59. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  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_lxyckz
  67. *
  68. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  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_lxyckz
  76. *
  77. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  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_lxyckz
  85. *
  86. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  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_lxyckz
  94. *
  95. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  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_lxyckz
  107. *
  108. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  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_lxyckz
  117. *
  118. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  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_lxyckz
  126. *
  127. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  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_lxyckz
  135. *
  136. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  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_lxyckz
  144. *
  145. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  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_lxyckz
  153. *
  154. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  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_lxyckz
  162. *
  163. * @ibatorgenerated Tue Apr 21 17:42:58 CST 2020
  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 andSbxhIsNull() {
  336. addCriterion("SBXH is null");
  337. return this;
  338. }
  339. public Criteria andSbxhIsNotNull() {
  340. addCriterion("SBXH is not null");
  341. return this;
  342. }
  343. public Criteria andSbxhEqualTo(String value) {
  344. addCriterion("SBXH =", value, "sbxh");
  345. return this;
  346. }
  347. public Criteria andSbxhNotEqualTo(String value) {
  348. addCriterion("SBXH <>", value, "sbxh");
  349. return this;
  350. }
  351. public Criteria andSbxhGreaterThan(String value) {
  352. addCriterion("SBXH >", value, "sbxh");
  353. return this;
  354. }
  355. public Criteria andSbxhGreaterThanOrEqualTo(String value) {
  356. addCriterion("SBXH >=", value, "sbxh");
  357. return this;
  358. }
  359. public Criteria andSbxhLessThan(String value) {
  360. addCriterion("SBXH <", value, "sbxh");
  361. return this;
  362. }
  363. public Criteria andSbxhLessThanOrEqualTo(String value) {
  364. addCriterion("SBXH <=", value, "sbxh");
  365. return this;
  366. }
  367. public Criteria andSbxhLike(String value) {
  368. addCriterion("SBXH like", value, "sbxh");
  369. return this;
  370. }
  371. public Criteria andSbxhNotLike(String value) {
  372. addCriterion("SBXH not like", value, "sbxh");
  373. return this;
  374. }
  375. public Criteria andSbxhIn(List<String> values) {
  376. addCriterion("SBXH in", values, "sbxh");
  377. return this;
  378. }
  379. public Criteria andSbxhNotIn(List<String> values) {
  380. addCriterion("SBXH not in", values, "sbxh");
  381. return this;
  382. }
  383. public Criteria andSbxhBetween(String value1, String value2) {
  384. addCriterion("SBXH between", value1, value2, "sbxh");
  385. return this;
  386. }
  387. public Criteria andSbxhNotBetween(String value1, String value2) {
  388. addCriterion("SBXH not between", value1, value2, "sbxh");
  389. return this;
  390. }
  391. public Criteria andKznrIsNull() {
  392. addCriterion("KZNR is null");
  393. return this;
  394. }
  395. public Criteria andKznrIsNotNull() {
  396. addCriterion("KZNR is not null");
  397. return this;
  398. }
  399. public Criteria andKznrEqualTo(String value) {
  400. addCriterion("KZNR =", value, "kznr");
  401. return this;
  402. }
  403. public Criteria andKznrNotEqualTo(String value) {
  404. addCriterion("KZNR <>", value, "kznr");
  405. return this;
  406. }
  407. public Criteria andKznrGreaterThan(String value) {
  408. addCriterion("KZNR >", value, "kznr");
  409. return this;
  410. }
  411. public Criteria andKznrGreaterThanOrEqualTo(String value) {
  412. addCriterion("KZNR >=", value, "kznr");
  413. return this;
  414. }
  415. public Criteria andKznrLessThan(String value) {
  416. addCriterion("KZNR <", value, "kznr");
  417. return this;
  418. }
  419. public Criteria andKznrLessThanOrEqualTo(String value) {
  420. addCriterion("KZNR <=", value, "kznr");
  421. return this;
  422. }
  423. public Criteria andKznrLike(String value) {
  424. addCriterion("KZNR like", value, "kznr");
  425. return this;
  426. }
  427. public Criteria andKznrNotLike(String value) {
  428. addCriterion("KZNR not like", value, "kznr");
  429. return this;
  430. }
  431. public Criteria andKznrIn(List<String> values) {
  432. addCriterion("KZNR in", values, "kznr");
  433. return this;
  434. }
  435. public Criteria andKznrNotIn(List<String> values) {
  436. addCriterion("KZNR not in", values, "kznr");
  437. return this;
  438. }
  439. public Criteria andKznrBetween(String value1, String value2) {
  440. addCriterion("KZNR between", value1, value2, "kznr");
  441. return this;
  442. }
  443. public Criteria andKznrNotBetween(String value1, String value2) {
  444. addCriterion("KZNR not between", value1, value2, "kznr");
  445. return this;
  446. }
  447. public Criteria andXgsjIsNull() {
  448. addCriterion("XGSJ is null");
  449. return this;
  450. }
  451. public Criteria andXgsjIsNotNull() {
  452. addCriterion("XGSJ is not null");
  453. return this;
  454. }
  455. public Criteria andXgsjEqualTo(Date value) {
  456. addCriterion("XGSJ =", value, "xgsj");
  457. return this;
  458. }
  459. public Criteria andXgsjNotEqualTo(Date value) {
  460. addCriterion("XGSJ <>", value, "xgsj");
  461. return this;
  462. }
  463. public Criteria andXgsjGreaterThan(Date value) {
  464. addCriterion("XGSJ >", value, "xgsj");
  465. return this;
  466. }
  467. public Criteria andXgsjGreaterThanOrEqualTo(Date value) {
  468. addCriterion("XGSJ >=", value, "xgsj");
  469. return this;
  470. }
  471. public Criteria andXgsjLessThan(Date value) {
  472. addCriterion("XGSJ <", value, "xgsj");
  473. return this;
  474. }
  475. public Criteria andXgsjLessThanOrEqualTo(Date value) {
  476. addCriterion("XGSJ <=", value, "xgsj");
  477. return this;
  478. }
  479. public Criteria andXgsjIn(List<Date> values) {
  480. addCriterion("XGSJ in", values, "xgsj");
  481. return this;
  482. }
  483. public Criteria andXgsjNotIn(List<Date> values) {
  484. addCriterion("XGSJ not in", values, "xgsj");
  485. return this;
  486. }
  487. public Criteria andXgsjBetween(Date value1, Date value2) {
  488. addCriterion("XGSJ between", value1, value2, "xgsj");
  489. return this;
  490. }
  491. public Criteria andXgsjNotBetween(Date value1, Date value2) {
  492. addCriterion("XGSJ not between", value1, value2, "xgsj");
  493. return this;
  494. }
  495. public Criteria andSfxfIsNull() {
  496. addCriterion("SFXF is null");
  497. return this;
  498. }
  499. public Criteria andSfxfIsNotNull() {
  500. addCriterion("SFXF is not null");
  501. return this;
  502. }
  503. public Criteria andSfxfEqualTo(String value) {
  504. addCriterion("SFXF =", value, "sfxf");
  505. return this;
  506. }
  507. public Criteria andSfxfNotEqualTo(String value) {
  508. addCriterion("SFXF <>", value, "sfxf");
  509. return this;
  510. }
  511. public Criteria andSfxfGreaterThan(String value) {
  512. addCriterion("SFXF >", value, "sfxf");
  513. return this;
  514. }
  515. public Criteria andSfxfGreaterThanOrEqualTo(String value) {
  516. addCriterion("SFXF >=", value, "sfxf");
  517. return this;
  518. }
  519. public Criteria andSfxfLessThan(String value) {
  520. addCriterion("SFXF <", value, "sfxf");
  521. return this;
  522. }
  523. public Criteria andSfxfLessThanOrEqualTo(String value) {
  524. addCriterion("SFXF <=", value, "sfxf");
  525. return this;
  526. }
  527. public Criteria andSfxfLike(String value) {
  528. addCriterion("SFXF like", value, "sfxf");
  529. return this;
  530. }
  531. public Criteria andSfxfNotLike(String value) {
  532. addCriterion("SFXF not like", value, "sfxf");
  533. return this;
  534. }
  535. public Criteria andSfxfIn(List<String> values) {
  536. addCriterion("SFXF in", values, "sfxf");
  537. return this;
  538. }
  539. public Criteria andSfxfNotIn(List<String> values) {
  540. addCriterion("SFXF not in", values, "sfxf");
  541. return this;
  542. }
  543. public Criteria andSfxfBetween(String value1, String value2) {
  544. addCriterion("SFXF between", value1, value2, "sfxf");
  545. return this;
  546. }
  547. public Criteria andSfxfNotBetween(String value1, String value2) {
  548. addCriterion("SFXF not between", value1, value2, "sfxf");
  549. return this;
  550. }
  551. }
  552. }