OrderExamineExample.java 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683
  1. package com.goafanti.common.model;
  2. import java.util.ArrayList;
  3. import java.util.Date;
  4. import java.util.List;
  5. public class OrderExamineExample {
  6. /**
  7. * This field was generated by MyBatis Generator.
  8. * This field corresponds to the database table order_examine
  9. *
  10. * @mbg.generated Thu Sep 26 16:21:54 CST 2019
  11. */
  12. protected String orderByClause;
  13. /**
  14. * This field was generated by MyBatis Generator.
  15. * This field corresponds to the database table order_examine
  16. *
  17. * @mbg.generated Thu Sep 26 16:21:54 CST 2019
  18. */
  19. protected boolean distinct;
  20. /**
  21. * This field was generated by MyBatis Generator.
  22. * This field corresponds to the database table order_examine
  23. *
  24. * @mbg.generated Thu Sep 26 16:21:54 CST 2019
  25. */
  26. protected List<Criteria> oredCriteria;
  27. /**
  28. * This method was generated by MyBatis Generator.
  29. * This method corresponds to the database table order_examine
  30. *
  31. * @mbg.generated Thu Sep 26 16:21:54 CST 2019
  32. */
  33. public OrderExamineExample() {
  34. oredCriteria = new ArrayList<Criteria>();
  35. }
  36. /**
  37. * This method was generated by MyBatis Generator.
  38. * This method corresponds to the database table order_examine
  39. *
  40. * @mbg.generated Thu Sep 26 16:21:54 CST 2019
  41. */
  42. public void setOrderByClause(String orderByClause) {
  43. this.orderByClause = orderByClause;
  44. }
  45. /**
  46. * This method was generated by MyBatis Generator.
  47. * This method corresponds to the database table order_examine
  48. *
  49. * @mbg.generated Thu Sep 26 16:21:54 CST 2019
  50. */
  51. public String getOrderByClause() {
  52. return orderByClause;
  53. }
  54. /**
  55. * This method was generated by MyBatis Generator.
  56. * This method corresponds to the database table order_examine
  57. *
  58. * @mbg.generated Thu Sep 26 16:21:54 CST 2019
  59. */
  60. public void setDistinct(boolean distinct) {
  61. this.distinct = distinct;
  62. }
  63. /**
  64. * This method was generated by MyBatis Generator.
  65. * This method corresponds to the database table order_examine
  66. *
  67. * @mbg.generated Thu Sep 26 16:21:54 CST 2019
  68. */
  69. public boolean isDistinct() {
  70. return distinct;
  71. }
  72. /**
  73. * This method was generated by MyBatis Generator.
  74. * This method corresponds to the database table order_examine
  75. *
  76. * @mbg.generated Thu Sep 26 16:21:54 CST 2019
  77. */
  78. public List<Criteria> getOredCriteria() {
  79. return oredCriteria;
  80. }
  81. /**
  82. * This method was generated by MyBatis Generator.
  83. * This method corresponds to the database table order_examine
  84. *
  85. * @mbg.generated Thu Sep 26 16:21:54 CST 2019
  86. */
  87. public void or(Criteria criteria) {
  88. oredCriteria.add(criteria);
  89. }
  90. /**
  91. * This method was generated by MyBatis Generator.
  92. * This method corresponds to the database table order_examine
  93. *
  94. * @mbg.generated Thu Sep 26 16:21:54 CST 2019
  95. */
  96. public Criteria or() {
  97. Criteria criteria = createCriteriaInternal();
  98. oredCriteria.add(criteria);
  99. return criteria;
  100. }
  101. /**
  102. * This method was generated by MyBatis Generator.
  103. * This method corresponds to the database table order_examine
  104. *
  105. * @mbg.generated Thu Sep 26 16:21:54 CST 2019
  106. */
  107. public Criteria createCriteria() {
  108. Criteria criteria = createCriteriaInternal();
  109. if (oredCriteria.size() == 0) {
  110. oredCriteria.add(criteria);
  111. }
  112. return criteria;
  113. }
  114. /**
  115. * This method was generated by MyBatis Generator.
  116. * This method corresponds to the database table order_examine
  117. *
  118. * @mbg.generated Thu Sep 26 16:21:54 CST 2019
  119. */
  120. protected Criteria createCriteriaInternal() {
  121. Criteria criteria = new Criteria();
  122. return criteria;
  123. }
  124. /**
  125. * This method was generated by MyBatis Generator.
  126. * This method corresponds to the database table order_examine
  127. *
  128. * @mbg.generated Thu Sep 26 16:21:54 CST 2019
  129. */
  130. public void clear() {
  131. oredCriteria.clear();
  132. orderByClause = null;
  133. distinct = false;
  134. }
  135. /**
  136. * This class was generated by MyBatis Generator.
  137. * This class corresponds to the database table order_examine
  138. *
  139. * @mbg.generated Thu Sep 26 16:21:54 CST 2019
  140. */
  141. protected abstract static class GeneratedCriteria {
  142. protected List<Criterion> criteria;
  143. protected GeneratedCriteria() {
  144. super();
  145. criteria = new ArrayList<Criterion>();
  146. }
  147. public boolean isValid() {
  148. return criteria.size() > 0;
  149. }
  150. public List<Criterion> getAllCriteria() {
  151. return criteria;
  152. }
  153. public List<Criterion> getCriteria() {
  154. return criteria;
  155. }
  156. protected void addCriterion(String condition) {
  157. if (condition == null) {
  158. throw new RuntimeException("Value for condition cannot be null");
  159. }
  160. criteria.add(new Criterion(condition));
  161. }
  162. protected void addCriterion(String condition, Object value, String property) {
  163. if (value == null) {
  164. throw new RuntimeException("Value for " + property + " cannot be null");
  165. }
  166. criteria.add(new Criterion(condition, value));
  167. }
  168. protected void addCriterion(String condition, Object value1, Object value2, String property) {
  169. if (value1 == null || value2 == null) {
  170. throw new RuntimeException("Between values for " + property + " cannot be null");
  171. }
  172. criteria.add(new Criterion(condition, value1, value2));
  173. }
  174. public Criteria andIdIsNull() {
  175. addCriterion("id is null");
  176. return (Criteria) this;
  177. }
  178. public Criteria andIdIsNotNull() {
  179. addCriterion("id is not null");
  180. return (Criteria) this;
  181. }
  182. public Criteria andIdEqualTo(Integer value) {
  183. addCriterion("id =", value, "id");
  184. return (Criteria) this;
  185. }
  186. public Criteria andIdNotEqualTo(Integer value) {
  187. addCriterion("id <>", value, "id");
  188. return (Criteria) this;
  189. }
  190. public Criteria andIdGreaterThan(Integer value) {
  191. addCriterion("id >", value, "id");
  192. return (Criteria) this;
  193. }
  194. public Criteria andIdGreaterThanOrEqualTo(Integer value) {
  195. addCriterion("id >=", value, "id");
  196. return (Criteria) this;
  197. }
  198. public Criteria andIdLessThan(Integer value) {
  199. addCriterion("id <", value, "id");
  200. return (Criteria) this;
  201. }
  202. public Criteria andIdLessThanOrEqualTo(Integer value) {
  203. addCriterion("id <=", value, "id");
  204. return (Criteria) this;
  205. }
  206. public Criteria andIdIn(List<Integer> values) {
  207. addCriterion("id in", values, "id");
  208. return (Criteria) this;
  209. }
  210. public Criteria andIdNotIn(List<Integer> values) {
  211. addCriterion("id not in", values, "id");
  212. return (Criteria) this;
  213. }
  214. public Criteria andIdBetween(Integer value1, Integer value2) {
  215. addCriterion("id between", value1, value2, "id");
  216. return (Criteria) this;
  217. }
  218. public Criteria andIdNotBetween(Integer value1, Integer value2) {
  219. addCriterion("id not between", value1, value2, "id");
  220. return (Criteria) this;
  221. }
  222. public Criteria andOrderNoIsNull() {
  223. addCriterion("order_no is null");
  224. return (Criteria) this;
  225. }
  226. public Criteria andOrderNoIsNotNull() {
  227. addCriterion("order_no is not null");
  228. return (Criteria) this;
  229. }
  230. public Criteria andOrderNoEqualTo(String value) {
  231. addCriterion("order_no =", value, "orderNo");
  232. return (Criteria) this;
  233. }
  234. public Criteria andOrderNoNotEqualTo(String value) {
  235. addCriterion("order_no <>", value, "orderNo");
  236. return (Criteria) this;
  237. }
  238. public Criteria andOrderNoGreaterThan(String value) {
  239. addCriterion("order_no >", value, "orderNo");
  240. return (Criteria) this;
  241. }
  242. public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
  243. addCriterion("order_no >=", value, "orderNo");
  244. return (Criteria) this;
  245. }
  246. public Criteria andOrderNoLessThan(String value) {
  247. addCriterion("order_no <", value, "orderNo");
  248. return (Criteria) this;
  249. }
  250. public Criteria andOrderNoLessThanOrEqualTo(String value) {
  251. addCriterion("order_no <=", value, "orderNo");
  252. return (Criteria) this;
  253. }
  254. public Criteria andOrderNoLike(String value) {
  255. addCriterion("order_no like", value, "orderNo");
  256. return (Criteria) this;
  257. }
  258. public Criteria andOrderNoNotLike(String value) {
  259. addCriterion("order_no not like", value, "orderNo");
  260. return (Criteria) this;
  261. }
  262. public Criteria andOrderNoIn(List<String> values) {
  263. addCriterion("order_no in", values, "orderNo");
  264. return (Criteria) this;
  265. }
  266. public Criteria andOrderNoNotIn(List<String> values) {
  267. addCriterion("order_no not in", values, "orderNo");
  268. return (Criteria) this;
  269. }
  270. public Criteria andOrderNoBetween(String value1, String value2) {
  271. addCriterion("order_no between", value1, value2, "orderNo");
  272. return (Criteria) this;
  273. }
  274. public Criteria andOrderNoNotBetween(String value1, String value2) {
  275. addCriterion("order_no not between", value1, value2, "orderNo");
  276. return (Criteria) this;
  277. }
  278. public Criteria andTypeIsNull() {
  279. addCriterion("type is null");
  280. return (Criteria) this;
  281. }
  282. public Criteria andTypeIsNotNull() {
  283. addCriterion("type is not null");
  284. return (Criteria) this;
  285. }
  286. public Criteria andTypeEqualTo(Integer value) {
  287. addCriterion("type =", value, "type");
  288. return (Criteria) this;
  289. }
  290. public Criteria andTypeNotEqualTo(Integer value) {
  291. addCriterion("type <>", value, "type");
  292. return (Criteria) this;
  293. }
  294. public Criteria andTypeGreaterThan(Integer value) {
  295. addCriterion("type >", value, "type");
  296. return (Criteria) this;
  297. }
  298. public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
  299. addCriterion("type >=", value, "type");
  300. return (Criteria) this;
  301. }
  302. public Criteria andTypeLessThan(Integer value) {
  303. addCriterion("type <", value, "type");
  304. return (Criteria) this;
  305. }
  306. public Criteria andTypeLessThanOrEqualTo(Integer value) {
  307. addCriterion("type <=", value, "type");
  308. return (Criteria) this;
  309. }
  310. public Criteria andTypeIn(List<Integer> values) {
  311. addCriterion("type in", values, "type");
  312. return (Criteria) this;
  313. }
  314. public Criteria andTypeNotIn(List<Integer> values) {
  315. addCriterion("type not in", values, "type");
  316. return (Criteria) this;
  317. }
  318. public Criteria andTypeBetween(Integer value1, Integer value2) {
  319. addCriterion("type between", value1, value2, "type");
  320. return (Criteria) this;
  321. }
  322. public Criteria andTypeNotBetween(Integer value1, Integer value2) {
  323. addCriterion("type not between", value1, value2, "type");
  324. return (Criteria) this;
  325. }
  326. public Criteria andAidIsNull() {
  327. addCriterion("aid is null");
  328. return (Criteria) this;
  329. }
  330. public Criteria andAidIsNotNull() {
  331. addCriterion("aid is not null");
  332. return (Criteria) this;
  333. }
  334. public Criteria andAidEqualTo(String value) {
  335. addCriterion("aid =", value, "aid");
  336. return (Criteria) this;
  337. }
  338. public Criteria andAidNotEqualTo(String value) {
  339. addCriterion("aid <>", value, "aid");
  340. return (Criteria) this;
  341. }
  342. public Criteria andAidGreaterThan(String value) {
  343. addCriterion("aid >", value, "aid");
  344. return (Criteria) this;
  345. }
  346. public Criteria andAidGreaterThanOrEqualTo(String value) {
  347. addCriterion("aid >=", value, "aid");
  348. return (Criteria) this;
  349. }
  350. public Criteria andAidLessThan(String value) {
  351. addCriterion("aid <", value, "aid");
  352. return (Criteria) this;
  353. }
  354. public Criteria andAidLessThanOrEqualTo(String value) {
  355. addCriterion("aid <=", value, "aid");
  356. return (Criteria) this;
  357. }
  358. public Criteria andAidLike(String value) {
  359. addCriterion("aid like", value, "aid");
  360. return (Criteria) this;
  361. }
  362. public Criteria andAidNotLike(String value) {
  363. addCriterion("aid not like", value, "aid");
  364. return (Criteria) this;
  365. }
  366. public Criteria andAidIn(List<String> values) {
  367. addCriterion("aid in", values, "aid");
  368. return (Criteria) this;
  369. }
  370. public Criteria andAidNotIn(List<String> values) {
  371. addCriterion("aid not in", values, "aid");
  372. return (Criteria) this;
  373. }
  374. public Criteria andAidBetween(String value1, String value2) {
  375. addCriterion("aid between", value1, value2, "aid");
  376. return (Criteria) this;
  377. }
  378. public Criteria andAidNotBetween(String value1, String value2) {
  379. addCriterion("aid not between", value1, value2, "aid");
  380. return (Criteria) this;
  381. }
  382. public Criteria andStatusIsNull() {
  383. addCriterion("status is null");
  384. return (Criteria) this;
  385. }
  386. public Criteria andStatusIsNotNull() {
  387. addCriterion("status is not null");
  388. return (Criteria) this;
  389. }
  390. public Criteria andStatusEqualTo(Integer value) {
  391. addCriterion("status =", value, "status");
  392. return (Criteria) this;
  393. }
  394. public Criteria andStatusNotEqualTo(Integer value) {
  395. addCriterion("status <>", value, "status");
  396. return (Criteria) this;
  397. }
  398. public Criteria andStatusGreaterThan(Integer value) {
  399. addCriterion("status >", value, "status");
  400. return (Criteria) this;
  401. }
  402. public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
  403. addCriterion("status >=", value, "status");
  404. return (Criteria) this;
  405. }
  406. public Criteria andStatusLessThan(Integer value) {
  407. addCriterion("status <", value, "status");
  408. return (Criteria) this;
  409. }
  410. public Criteria andStatusLessThanOrEqualTo(Integer value) {
  411. addCriterion("status <=", value, "status");
  412. return (Criteria) this;
  413. }
  414. public Criteria andStatusIn(List<Integer> values) {
  415. addCriterion("status in", values, "status");
  416. return (Criteria) this;
  417. }
  418. public Criteria andStatusNotIn(List<Integer> values) {
  419. addCriterion("status not in", values, "status");
  420. return (Criteria) this;
  421. }
  422. public Criteria andStatusBetween(Integer value1, Integer value2) {
  423. addCriterion("status between", value1, value2, "status");
  424. return (Criteria) this;
  425. }
  426. public Criteria andStatusNotBetween(Integer value1, Integer value2) {
  427. addCriterion("status not between", value1, value2, "status");
  428. return (Criteria) this;
  429. }
  430. public Criteria andCreateTimeIsNull() {
  431. addCriterion("create_time is null");
  432. return (Criteria) this;
  433. }
  434. public Criteria andCreateTimeIsNotNull() {
  435. addCriterion("create_time is not null");
  436. return (Criteria) this;
  437. }
  438. public Criteria andCreateTimeEqualTo(Date value) {
  439. addCriterion("create_time =", value, "createTime");
  440. return (Criteria) this;
  441. }
  442. public Criteria andCreateTimeNotEqualTo(Date value) {
  443. addCriterion("create_time <>", value, "createTime");
  444. return (Criteria) this;
  445. }
  446. public Criteria andCreateTimeGreaterThan(Date value) {
  447. addCriterion("create_time >", value, "createTime");
  448. return (Criteria) this;
  449. }
  450. public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
  451. addCriterion("create_time >=", value, "createTime");
  452. return (Criteria) this;
  453. }
  454. public Criteria andCreateTimeLessThan(Date value) {
  455. addCriterion("create_time <", value, "createTime");
  456. return (Criteria) this;
  457. }
  458. public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
  459. addCriterion("create_time <=", value, "createTime");
  460. return (Criteria) this;
  461. }
  462. public Criteria andCreateTimeIn(List<Date> values) {
  463. addCriterion("create_time in", values, "createTime");
  464. return (Criteria) this;
  465. }
  466. public Criteria andCreateTimeNotIn(List<Date> values) {
  467. addCriterion("create_time not in", values, "createTime");
  468. return (Criteria) this;
  469. }
  470. public Criteria andCreateTimeBetween(Date value1, Date value2) {
  471. addCriterion("create_time between", value1, value2, "createTime");
  472. return (Criteria) this;
  473. }
  474. public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
  475. addCriterion("create_time not between", value1, value2, "createTime");
  476. return (Criteria) this;
  477. }
  478. }
  479. /**
  480. * This class was generated by MyBatis Generator.
  481. * This class corresponds to the database table order_examine
  482. *
  483. * @mbg.generated do_not_delete_during_merge Thu Sep 26 16:21:54 CST 2019
  484. */
  485. public static class Criteria extends GeneratedCriteria {
  486. protected Criteria() {
  487. super();
  488. }
  489. }
  490. /**
  491. * This class was generated by MyBatis Generator.
  492. * This class corresponds to the database table order_examine
  493. *
  494. * @mbg.generated Thu Sep 26 16:21:54 CST 2019
  495. */
  496. public static class Criterion {
  497. private String condition;
  498. private Object value;
  499. private Object secondValue;
  500. private boolean noValue;
  501. private boolean singleValue;
  502. private boolean betweenValue;
  503. private boolean listValue;
  504. private String typeHandler;
  505. public String getCondition() {
  506. return condition;
  507. }
  508. public Object getValue() {
  509. return value;
  510. }
  511. public Object getSecondValue() {
  512. return secondValue;
  513. }
  514. public boolean isNoValue() {
  515. return noValue;
  516. }
  517. public boolean isSingleValue() {
  518. return singleValue;
  519. }
  520. public boolean isBetweenValue() {
  521. return betweenValue;
  522. }
  523. public boolean isListValue() {
  524. return listValue;
  525. }
  526. public String getTypeHandler() {
  527. return typeHandler;
  528. }
  529. protected Criterion(String condition) {
  530. super();
  531. this.condition = condition;
  532. this.typeHandler = null;
  533. this.noValue = true;
  534. }
  535. protected Criterion(String condition, Object value, String typeHandler) {
  536. super();
  537. this.condition = condition;
  538. this.value = value;
  539. this.typeHandler = typeHandler;
  540. if (value instanceof List<?>) {
  541. this.listValue = true;
  542. } else {
  543. this.singleValue = true;
  544. }
  545. }
  546. protected Criterion(String condition, Object value) {
  547. this(condition, value, null);
  548. }
  549. protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
  550. super();
  551. this.condition = condition;
  552. this.value = value;
  553. this.secondValue = secondValue;
  554. this.typeHandler = typeHandler;
  555. this.betweenValue = true;
  556. }
  557. protected Criterion(String condition, Object value, Object secondValue) {
  558. this(condition, value, secondValue, null);
  559. }
  560. }
  561. }