TOrderBonusExample.java 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936
  1. package com.goafanti.common.model;
  2. import java.util.ArrayList;
  3. import java.util.Date;
  4. import java.util.List;
  5. import java.util.Iterator;
  6. public class TOrderBonusExample {
  7. /**
  8. * This field was generated by MyBatis Generator. This field corresponds to the database table t_order_bonus
  9. <<<<<<< HEAD
  10. * @mbggenerated Tue Nov 27 10:35:55 CST 2018
  11. =======
  12. * @mbg.generated Tue Nov 27 11:15:28 CST 2018
  13. >>>>>>> branch 'test' of http://git.jishutao.com/jishutao/kede-server.git
  14. */
  15. protected String orderByClause;
  16. /**
  17. * This field was generated by MyBatis Generator. This field corresponds to the database table t_order_bonus
  18. <<<<<<< HEAD
  19. * @mbggenerated Tue Nov 27 10:35:55 CST 2018
  20. =======
  21. * @mbg.generated Tue Nov 27 11:15:28 CST 2018
  22. >>>>>>> branch 'test' of http://git.jishutao.com/jishutao/kede-server.git
  23. */
  24. protected boolean distinct;
  25. /**
  26. * This field was generated by MyBatis Generator. This field corresponds to the database table t_order_bonus
  27. <<<<<<< HEAD
  28. * @mbggenerated Tue Nov 27 10:35:55 CST 2018
  29. =======
  30. * @mbg.generated Tue Nov 27 11:15:28 CST 2018
  31. >>>>>>> branch 'test' of http://git.jishutao.com/jishutao/kede-server.git
  32. */
  33. protected List<Criteria> oredCriteria;
  34. /**
  35. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bonus
  36. <<<<<<< HEAD
  37. * @mbggenerated Tue Nov 27 10:35:55 CST 2018
  38. =======
  39. * @mbg.generated Tue Nov 27 11:15:28 CST 2018
  40. >>>>>>> branch 'test' of http://git.jishutao.com/jishutao/kede-server.git
  41. */
  42. public TOrderBonusExample() {
  43. oredCriteria = new ArrayList<Criteria>();
  44. }
  45. /**
  46. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bonus
  47. <<<<<<< HEAD
  48. * @mbggenerated Tue Nov 27 10:35:55 CST 2018
  49. =======
  50. * @mbg.generated Tue Nov 27 11:15:28 CST 2018
  51. >>>>>>> branch 'test' of http://git.jishutao.com/jishutao/kede-server.git
  52. */
  53. public void setOrderByClause(String orderByClause) {
  54. this.orderByClause = orderByClause;
  55. }
  56. /**
  57. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bonus
  58. <<<<<<< HEAD
  59. * @mbggenerated Tue Nov 27 10:35:55 CST 2018
  60. =======
  61. * @mbg.generated Tue Nov 27 11:15:28 CST 2018
  62. >>>>>>> branch 'test' of http://git.jishutao.com/jishutao/kede-server.git
  63. */
  64. public String getOrderByClause() {
  65. return orderByClause;
  66. }
  67. /**
  68. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bonus
  69. <<<<<<< HEAD
  70. * @mbggenerated Tue Nov 27 10:35:55 CST 2018
  71. =======
  72. * @mbg.generated Tue Nov 27 11:15:28 CST 2018
  73. >>>>>>> branch 'test' of http://git.jishutao.com/jishutao/kede-server.git
  74. */
  75. public void setDistinct(boolean distinct) {
  76. this.distinct = distinct;
  77. }
  78. /**
  79. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bonus
  80. <<<<<<< HEAD
  81. * @mbggenerated Tue Nov 27 10:35:55 CST 2018
  82. =======
  83. * @mbg.generated Tue Nov 27 11:15:28 CST 2018
  84. >>>>>>> branch 'test' of http://git.jishutao.com/jishutao/kede-server.git
  85. */
  86. public boolean isDistinct() {
  87. return distinct;
  88. }
  89. /**
  90. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bonus
  91. <<<<<<< HEAD
  92. * @mbggenerated Tue Nov 27 10:35:55 CST 2018
  93. =======
  94. * @mbg.generated Tue Nov 27 11:15:28 CST 2018
  95. >>>>>>> branch 'test' of http://git.jishutao.com/jishutao/kede-server.git
  96. */
  97. public List<Criteria> getOredCriteria() {
  98. return oredCriteria;
  99. }
  100. /**
  101. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bonus
  102. <<<<<<< HEAD
  103. * @mbggenerated Tue Nov 27 10:35:55 CST 2018
  104. =======
  105. * @mbg.generated Tue Nov 27 11:15:28 CST 2018
  106. >>>>>>> branch 'test' of http://git.jishutao.com/jishutao/kede-server.git
  107. */
  108. public void or(Criteria criteria) {
  109. oredCriteria.add(criteria);
  110. }
  111. /**
  112. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bonus
  113. <<<<<<< HEAD
  114. * @mbggenerated Tue Nov 27 10:35:55 CST 2018
  115. =======
  116. * @mbg.generated Tue Nov 27 11:15:28 CST 2018
  117. >>>>>>> branch 'test' of http://git.jishutao.com/jishutao/kede-server.git
  118. */
  119. public Criteria or() {
  120. Criteria criteria = createCriteriaInternal();
  121. oredCriteria.add(criteria);
  122. return criteria;
  123. }
  124. /**
  125. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bonus
  126. <<<<<<< HEAD
  127. * @mbggenerated Tue Nov 27 10:35:55 CST 2018
  128. =======
  129. * @mbg.generated Tue Nov 27 11:15:28 CST 2018
  130. >>>>>>> branch 'test' of http://git.jishutao.com/jishutao/kede-server.git
  131. */
  132. public Criteria createCriteria() {
  133. Criteria criteria = createCriteriaInternal();
  134. if (oredCriteria.size() == 0) {
  135. oredCriteria.add(criteria);
  136. }
  137. return criteria;
  138. }
  139. /**
  140. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bonus
  141. <<<<<<< HEAD
  142. * @mbggenerated Tue Nov 27 10:35:55 CST 2018
  143. =======
  144. * @mbg.generated Tue Nov 27 11:15:28 CST 2018
  145. >>>>>>> branch 'test' of http://git.jishutao.com/jishutao/kede-server.git
  146. */
  147. protected Criteria createCriteriaInternal() {
  148. Criteria criteria = new Criteria();
  149. return criteria;
  150. }
  151. /**
  152. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_bonus
  153. <<<<<<< HEAD
  154. * @mbggenerated Tue Nov 27 10:35:55 CST 2018
  155. =======
  156. * @mbg.generated Tue Nov 27 11:15:28 CST 2018
  157. >>>>>>> branch 'test' of http://git.jishutao.com/jishutao/kede-server.git
  158. */
  159. public void clear() {
  160. oredCriteria.clear();
  161. orderByClause = null;
  162. distinct = false;
  163. }
  164. /**
  165. * This class was generated by MyBatis Generator. This class corresponds to the database table t_order_bonus
  166. <<<<<<< HEAD
  167. * @mbggenerated Tue Nov 27 10:35:55 CST 2018
  168. =======
  169. * @mbg.generated Tue Nov 27 11:15:28 CST 2018
  170. >>>>>>> branch 'test' of http://git.jishutao.com/jishutao/kede-server.git
  171. */
  172. protected abstract static class GeneratedCriteria {
  173. protected List<Criterion> criteria;
  174. protected GeneratedCriteria() {
  175. super();
  176. criteria = new ArrayList<Criterion>();
  177. }
  178. public boolean isValid() {
  179. return criteria.size() > 0;
  180. }
  181. public List<Criterion> getAllCriteria() {
  182. return criteria;
  183. }
  184. public List<Criterion> getCriteria() {
  185. return criteria;
  186. }
  187. protected void addCriterion(String condition) {
  188. if (condition == null) {
  189. throw new RuntimeException("Value for condition cannot be null");
  190. }
  191. criteria.add(new Criterion(condition));
  192. }
  193. protected void addCriterion(String condition, Object value, String property) {
  194. if (value == null) {
  195. throw new RuntimeException("Value for " + property + " cannot be null");
  196. }
  197. criteria.add(new Criterion(condition, value));
  198. }
  199. protected void addCriterion(String condition, Object value1, Object value2, String property) {
  200. if (value1 == null || value2 == null) {
  201. throw new RuntimeException("Between values for " + property + " cannot be null");
  202. }
  203. criteria.add(new Criterion(condition, value1, value2));
  204. }
  205. protected void addCriterionForJDBCDate(String condition, Date value, String property) {
  206. if (value == null) {
  207. throw new RuntimeException("Value for " + property + " cannot be null");
  208. }
  209. addCriterion(condition, new java.sql.Date(value.getTime()), property);
  210. }
  211. protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
  212. if (values == null || values.size() == 0) {
  213. throw new RuntimeException("Value list for " + property + " cannot be null or empty");
  214. }
  215. List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
  216. Iterator<Date> iter = values.iterator();
  217. while (iter.hasNext()) {
  218. dateList.add(new java.sql.Date(iter.next().getTime()));
  219. }
  220. addCriterion(condition, dateList, property);
  221. }
  222. protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
  223. if (value1 == null || value2 == null) {
  224. throw new RuntimeException("Between values for " + property + " cannot be null");
  225. }
  226. addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
  227. }
  228. public Criteria andIdIsNull() {
  229. addCriterion("id is null");
  230. return (Criteria) this;
  231. }
  232. public Criteria andIdIsNotNull() {
  233. addCriterion("id is not null");
  234. return (Criteria) this;
  235. }
  236. public Criteria andIdEqualTo(String value) {
  237. addCriterion("id =", value, "id");
  238. return (Criteria) this;
  239. }
  240. public Criteria andIdNotEqualTo(String value) {
  241. addCriterion("id <>", value, "id");
  242. return (Criteria) this;
  243. }
  244. public Criteria andIdGreaterThan(String value) {
  245. addCriterion("id >", value, "id");
  246. return (Criteria) this;
  247. }
  248. public Criteria andIdGreaterThanOrEqualTo(String value) {
  249. addCriterion("id >=", value, "id");
  250. return (Criteria) this;
  251. }
  252. public Criteria andIdLessThan(String value) {
  253. addCriterion("id <", value, "id");
  254. return (Criteria) this;
  255. }
  256. public Criteria andIdLessThanOrEqualTo(String value) {
  257. addCriterion("id <=", value, "id");
  258. return (Criteria) this;
  259. }
  260. public Criteria andIdLike(String value) {
  261. addCriterion("id like", value, "id");
  262. return (Criteria) this;
  263. }
  264. public Criteria andIdNotLike(String value) {
  265. addCriterion("id not like", value, "id");
  266. return (Criteria) this;
  267. }
  268. public Criteria andIdIn(List<String> values) {
  269. addCriterion("id in", values, "id");
  270. return (Criteria) this;
  271. }
  272. public Criteria andIdNotIn(List<String> values) {
  273. addCriterion("id not in", values, "id");
  274. return (Criteria) this;
  275. }
  276. public Criteria andIdBetween(String value1, String value2) {
  277. addCriterion("id between", value1, value2, "id");
  278. return (Criteria) this;
  279. }
  280. public Criteria andIdNotBetween(String value1, String value2) {
  281. addCriterion("id not between", value1, value2, "id");
  282. return (Criteria) this;
  283. }
  284. public Criteria andCreateTimeIsNull() {
  285. addCriterion("create_time is null");
  286. return (Criteria) this;
  287. }
  288. public Criteria andCreateTimeIsNotNull() {
  289. addCriterion("create_time is not null");
  290. return (Criteria) this;
  291. }
  292. public Criteria andCreateTimeEqualTo(Date value) {
  293. addCriterion("create_time =", value, "createTime");
  294. return (Criteria) this;
  295. }
  296. public Criteria andCreateTimeNotEqualTo(Date value) {
  297. addCriterion("create_time <>", value, "createTime");
  298. return (Criteria) this;
  299. }
  300. public Criteria andCreateTimeGreaterThan(Date value) {
  301. addCriterion("create_time >", value, "createTime");
  302. return (Criteria) this;
  303. }
  304. public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
  305. addCriterion("create_time >=", value, "createTime");
  306. return (Criteria) this;
  307. }
  308. public Criteria andCreateTimeLessThan(Date value) {
  309. addCriterion("create_time <", value, "createTime");
  310. return (Criteria) this;
  311. }
  312. public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
  313. addCriterion("create_time <=", value, "createTime");
  314. return (Criteria) this;
  315. }
  316. public Criteria andCreateTimeIn(List<Date> values) {
  317. addCriterion("create_time in", values, "createTime");
  318. return (Criteria) this;
  319. }
  320. public Criteria andCreateTimeNotIn(List<Date> values) {
  321. addCriterion("create_time not in", values, "createTime");
  322. return (Criteria) this;
  323. }
  324. public Criteria andCreateTimeBetween(Date value1, Date value2) {
  325. addCriterion("create_time between", value1, value2, "createTime");
  326. return (Criteria) this;
  327. }
  328. public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
  329. addCriterion("create_time not between", value1, value2, "createTime");
  330. return (Criteria) this;
  331. }
  332. public Criteria andOrderNoIsNull() {
  333. addCriterion("order_no is null");
  334. return (Criteria) this;
  335. }
  336. public Criteria andOrderNoIsNotNull() {
  337. addCriterion("order_no is not null");
  338. return (Criteria) this;
  339. }
  340. public Criteria andOrderNoEqualTo(String value) {
  341. addCriterion("order_no =", value, "orderNo");
  342. return (Criteria) this;
  343. }
  344. public Criteria andOrderNoNotEqualTo(String value) {
  345. addCriterion("order_no <>", value, "orderNo");
  346. return (Criteria) this;
  347. }
  348. public Criteria andOrderNoGreaterThan(String value) {
  349. addCriterion("order_no >", value, "orderNo");
  350. return (Criteria) this;
  351. }
  352. public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
  353. addCriterion("order_no >=", value, "orderNo");
  354. return (Criteria) this;
  355. }
  356. public Criteria andOrderNoLessThan(String value) {
  357. addCriterion("order_no <", value, "orderNo");
  358. return (Criteria) this;
  359. }
  360. public Criteria andOrderNoLessThanOrEqualTo(String value) {
  361. addCriterion("order_no <=", value, "orderNo");
  362. return (Criteria) this;
  363. }
  364. public Criteria andOrderNoLike(String value) {
  365. addCriterion("order_no like", value, "orderNo");
  366. return (Criteria) this;
  367. }
  368. public Criteria andOrderNoNotLike(String value) {
  369. addCriterion("order_no not like", value, "orderNo");
  370. return (Criteria) this;
  371. }
  372. public Criteria andOrderNoIn(List<String> values) {
  373. addCriterion("order_no in", values, "orderNo");
  374. return (Criteria) this;
  375. }
  376. public Criteria andOrderNoNotIn(List<String> values) {
  377. addCriterion("order_no not in", values, "orderNo");
  378. return (Criteria) this;
  379. }
  380. public Criteria andOrderNoBetween(String value1, String value2) {
  381. addCriterion("order_no between", value1, value2, "orderNo");
  382. return (Criteria) this;
  383. }
  384. public Criteria andOrderNoNotBetween(String value1, String value2) {
  385. addCriterion("order_no not between", value1, value2, "orderNo");
  386. return (Criteria) this;
  387. }
  388. public Criteria andBonusSubjectIsNull() {
  389. addCriterion("bonus_subject is null");
  390. return (Criteria) this;
  391. }
  392. public Criteria andBonusSubjectIsNotNull() {
  393. addCriterion("bonus_subject is not null");
  394. return (Criteria) this;
  395. }
  396. public Criteria andBonusSubjectEqualTo(Integer value) {
  397. addCriterion("bonus_subject =", value, "bonusSubject");
  398. return (Criteria) this;
  399. }
  400. public Criteria andBonusSubjectNotEqualTo(Integer value) {
  401. addCriterion("bonus_subject <>", value, "bonusSubject");
  402. return (Criteria) this;
  403. }
  404. public Criteria andBonusSubjectGreaterThan(Integer value) {
  405. addCriterion("bonus_subject >", value, "bonusSubject");
  406. return (Criteria) this;
  407. }
  408. public Criteria andBonusSubjectGreaterThanOrEqualTo(Integer value) {
  409. addCriterion("bonus_subject >=", value, "bonusSubject");
  410. return (Criteria) this;
  411. }
  412. public Criteria andBonusSubjectLessThan(Integer value) {
  413. addCriterion("bonus_subject <", value, "bonusSubject");
  414. return (Criteria) this;
  415. }
  416. public Criteria andBonusSubjectLessThanOrEqualTo(Integer value) {
  417. addCriterion("bonus_subject <=", value, "bonusSubject");
  418. return (Criteria) this;
  419. }
  420. public Criteria andBonusSubjectIn(List<Integer> values) {
  421. addCriterion("bonus_subject in", values, "bonusSubject");
  422. return (Criteria) this;
  423. }
  424. public Criteria andBonusSubjectNotIn(List<Integer> values) {
  425. addCriterion("bonus_subject not in", values, "bonusSubject");
  426. return (Criteria) this;
  427. }
  428. public Criteria andBonusSubjectBetween(Integer value1, Integer value2) {
  429. addCriterion("bonus_subject between", value1, value2, "bonusSubject");
  430. return (Criteria) this;
  431. }
  432. public Criteria andBonusSubjectNotBetween(Integer value1, Integer value2) {
  433. addCriterion("bonus_subject not between", value1, value2, "bonusSubject");
  434. return (Criteria) this;
  435. }
  436. public Criteria andGrantStatusIsNull() {
  437. addCriterion("grant_status is null");
  438. return (Criteria) this;
  439. }
  440. public Criteria andGrantStatusIsNotNull() {
  441. addCriterion("grant_status is not null");
  442. return (Criteria) this;
  443. }
  444. public Criteria andGrantStatusEqualTo(Integer value) {
  445. addCriterion("grant_status =", value, "grantStatus");
  446. return (Criteria) this;
  447. }
  448. public Criteria andGrantStatusNotEqualTo(Integer value) {
  449. addCriterion("grant_status <>", value, "grantStatus");
  450. return (Criteria) this;
  451. }
  452. public Criteria andGrantStatusGreaterThan(Integer value) {
  453. addCriterion("grant_status >", value, "grantStatus");
  454. return (Criteria) this;
  455. }
  456. public Criteria andGrantStatusGreaterThanOrEqualTo(Integer value) {
  457. addCriterion("grant_status >=", value, "grantStatus");
  458. return (Criteria) this;
  459. }
  460. public Criteria andGrantStatusLessThan(Integer value) {
  461. addCriterion("grant_status <", value, "grantStatus");
  462. return (Criteria) this;
  463. }
  464. public Criteria andGrantStatusLessThanOrEqualTo(Integer value) {
  465. addCriterion("grant_status <=", value, "grantStatus");
  466. return (Criteria) this;
  467. }
  468. public Criteria andGrantStatusIn(List<Integer> values) {
  469. addCriterion("grant_status in", values, "grantStatus");
  470. return (Criteria) this;
  471. }
  472. public Criteria andGrantStatusNotIn(List<Integer> values) {
  473. addCriterion("grant_status not in", values, "grantStatus");
  474. return (Criteria) this;
  475. }
  476. public Criteria andGrantStatusBetween(Integer value1, Integer value2) {
  477. addCriterion("grant_status between", value1, value2, "grantStatus");
  478. return (Criteria) this;
  479. }
  480. public Criteria andGrantStatusNotBetween(Integer value1, Integer value2) {
  481. addCriterion("grant_status not between", value1, value2, "grantStatus");
  482. return (Criteria) this;
  483. }
  484. public Criteria andGrantTargetIsNull() {
  485. addCriterion("grant_target is null");
  486. return (Criteria) this;
  487. }
  488. public Criteria andGrantTargetIsNotNull() {
  489. addCriterion("grant_target is not null");
  490. return (Criteria) this;
  491. }
  492. public Criteria andGrantTargetEqualTo(String value) {
  493. addCriterion("grant_target =", value, "grantTarget");
  494. return (Criteria) this;
  495. }
  496. public Criteria andGrantTargetNotEqualTo(String value) {
  497. addCriterion("grant_target <>", value, "grantTarget");
  498. return (Criteria) this;
  499. }
  500. public Criteria andGrantTargetGreaterThan(String value) {
  501. addCriterion("grant_target >", value, "grantTarget");
  502. return (Criteria) this;
  503. }
  504. public Criteria andGrantTargetGreaterThanOrEqualTo(String value) {
  505. addCriterion("grant_target >=", value, "grantTarget");
  506. return (Criteria) this;
  507. }
  508. public Criteria andGrantTargetLessThan(String value) {
  509. addCriterion("grant_target <", value, "grantTarget");
  510. return (Criteria) this;
  511. }
  512. public Criteria andGrantTargetLessThanOrEqualTo(String value) {
  513. addCriterion("grant_target <=", value, "grantTarget");
  514. return (Criteria) this;
  515. }
  516. public Criteria andGrantTargetLike(String value) {
  517. addCriterion("grant_target like", value, "grantTarget");
  518. return (Criteria) this;
  519. }
  520. public Criteria andGrantTargetNotLike(String value) {
  521. addCriterion("grant_target not like", value, "grantTarget");
  522. return (Criteria) this;
  523. }
  524. public Criteria andGrantTargetIn(List<String> values) {
  525. addCriterion("grant_target in", values, "grantTarget");
  526. return (Criteria) this;
  527. }
  528. public Criteria andGrantTargetNotIn(List<String> values) {
  529. addCriterion("grant_target not in", values, "grantTarget");
  530. return (Criteria) this;
  531. }
  532. public Criteria andGrantTargetBetween(String value1, String value2) {
  533. addCriterion("grant_target between", value1, value2, "grantTarget");
  534. return (Criteria) this;
  535. }
  536. public Criteria andGrantTargetNotBetween(String value1, String value2) {
  537. addCriterion("grant_target not between", value1, value2, "grantTarget");
  538. return (Criteria) this;
  539. }
  540. public Criteria andGrantByIsNull() {
  541. addCriterion("grant_by is null");
  542. return (Criteria) this;
  543. }
  544. public Criteria andGrantByIsNotNull() {
  545. addCriterion("grant_by is not null");
  546. return (Criteria) this;
  547. }
  548. public Criteria andGrantByEqualTo(String value) {
  549. addCriterion("grant_by =", value, "grantBy");
  550. return (Criteria) this;
  551. }
  552. public Criteria andGrantByNotEqualTo(String value) {
  553. addCriterion("grant_by <>", value, "grantBy");
  554. return (Criteria) this;
  555. }
  556. public Criteria andGrantByGreaterThan(String value) {
  557. addCriterion("grant_by >", value, "grantBy");
  558. return (Criteria) this;
  559. }
  560. public Criteria andGrantByGreaterThanOrEqualTo(String value) {
  561. addCriterion("grant_by >=", value, "grantBy");
  562. return (Criteria) this;
  563. }
  564. public Criteria andGrantByLessThan(String value) {
  565. addCriterion("grant_by <", value, "grantBy");
  566. return (Criteria) this;
  567. }
  568. public Criteria andGrantByLessThanOrEqualTo(String value) {
  569. addCriterion("grant_by <=", value, "grantBy");
  570. return (Criteria) this;
  571. }
  572. public Criteria andGrantByLike(String value) {
  573. addCriterion("grant_by like", value, "grantBy");
  574. return (Criteria) this;
  575. }
  576. public Criteria andGrantByNotLike(String value) {
  577. addCriterion("grant_by not like", value, "grantBy");
  578. return (Criteria) this;
  579. }
  580. public Criteria andGrantByIn(List<String> values) {
  581. addCriterion("grant_by in", values, "grantBy");
  582. return (Criteria) this;
  583. }
  584. public Criteria andGrantByNotIn(List<String> values) {
  585. addCriterion("grant_by not in", values, "grantBy");
  586. return (Criteria) this;
  587. }
  588. public Criteria andGrantByBetween(String value1, String value2) {
  589. addCriterion("grant_by between", value1, value2, "grantBy");
  590. return (Criteria) this;
  591. }
  592. public Criteria andGrantByNotBetween(String value1, String value2) {
  593. addCriterion("grant_by not between", value1, value2, "grantBy");
  594. return (Criteria) this;
  595. }
  596. public Criteria andGrantTimeIsNull() {
  597. addCriterion("grant_time is null");
  598. return (Criteria) this;
  599. }
  600. public Criteria andGrantTimeIsNotNull() {
  601. addCriterion("grant_time is not null");
  602. return (Criteria) this;
  603. }
  604. public Criteria andGrantTimeEqualTo(Date value) {
  605. addCriterionForJDBCDate("grant_time =", value, "grantTime");
  606. return (Criteria) this;
  607. }
  608. public Criteria andGrantTimeNotEqualTo(Date value) {
  609. addCriterionForJDBCDate("grant_time <>", value, "grantTime");
  610. return (Criteria) this;
  611. }
  612. public Criteria andGrantTimeGreaterThan(Date value) {
  613. addCriterionForJDBCDate("grant_time >", value, "grantTime");
  614. return (Criteria) this;
  615. }
  616. public Criteria andGrantTimeGreaterThanOrEqualTo(Date value) {
  617. addCriterionForJDBCDate("grant_time >=", value, "grantTime");
  618. return (Criteria) this;
  619. }
  620. public Criteria andGrantTimeLessThan(Date value) {
  621. addCriterionForJDBCDate("grant_time <", value, "grantTime");
  622. return (Criteria) this;
  623. }
  624. public Criteria andGrantTimeLessThanOrEqualTo(Date value) {
  625. addCriterionForJDBCDate("grant_time <=", value, "grantTime");
  626. return (Criteria) this;
  627. }
  628. public Criteria andGrantTimeIn(List<Date> values) {
  629. addCriterionForJDBCDate("grant_time in", values, "grantTime");
  630. return (Criteria) this;
  631. }
  632. public Criteria andGrantTimeNotIn(List<Date> values) {
  633. addCriterionForJDBCDate("grant_time not in", values, "grantTime");
  634. return (Criteria) this;
  635. }
  636. public Criteria andGrantTimeBetween(Date value1, Date value2) {
  637. addCriterionForJDBCDate("grant_time between", value1, value2, "grantTime");
  638. return (Criteria) this;
  639. }
  640. public Criteria andGrantTimeNotBetween(Date value1, Date value2) {
  641. addCriterionForJDBCDate("grant_time not between", value1, value2, "grantTime");
  642. return (Criteria) this;
  643. }
  644. public Criteria andGrantTypeIsNull() {
  645. addCriterion("grant_type is null");
  646. return (Criteria) this;
  647. }
  648. public Criteria andGrantTypeIsNotNull() {
  649. addCriterion("grant_type is not null");
  650. return (Criteria) this;
  651. }
  652. public Criteria andGrantTypeEqualTo(Integer value) {
  653. addCriterion("grant_type =", value, "grantType");
  654. return (Criteria) this;
  655. }
  656. public Criteria andGrantTypeNotEqualTo(Integer value) {
  657. addCriterion("grant_type <>", value, "grantType");
  658. return (Criteria) this;
  659. }
  660. public Criteria andGrantTypeGreaterThan(Integer value) {
  661. addCriterion("grant_type >", value, "grantType");
  662. return (Criteria) this;
  663. }
  664. public Criteria andGrantTypeGreaterThanOrEqualTo(Integer value) {
  665. addCriterion("grant_type >=", value, "grantType");
  666. return (Criteria) this;
  667. }
  668. public Criteria andGrantTypeLessThan(Integer value) {
  669. addCriterion("grant_type <", value, "grantType");
  670. return (Criteria) this;
  671. }
  672. public Criteria andGrantTypeLessThanOrEqualTo(Integer value) {
  673. addCriterion("grant_type <=", value, "grantType");
  674. return (Criteria) this;
  675. }
  676. public Criteria andGrantTypeIn(List<Integer> values) {
  677. addCriterion("grant_type in", values, "grantType");
  678. return (Criteria) this;
  679. }
  680. public Criteria andGrantTypeNotIn(List<Integer> values) {
  681. addCriterion("grant_type not in", values, "grantType");
  682. return (Criteria) this;
  683. }
  684. public Criteria andGrantTypeBetween(Integer value1, Integer value2) {
  685. addCriterion("grant_type between", value1, value2, "grantType");
  686. return (Criteria) this;
  687. }
  688. public Criteria andGrantTypeNotBetween(Integer value1, Integer value2) {
  689. addCriterion("grant_type not between", value1, value2, "grantType");
  690. return (Criteria) this;
  691. }
  692. }
  693. /**
  694. * This class was generated by MyBatis Generator. This class corresponds to the database table t_order_bonus
  695. <<<<<<< HEAD
  696. * @mbggenerated Tue Nov 27 10:35:55 CST 2018
  697. =======
  698. * @mbg.generated Tue Nov 27 11:15:28 CST 2018
  699. >>>>>>> branch 'test' of http://git.jishutao.com/jishutao/kede-server.git
  700. */
  701. public static class Criterion {
  702. private String condition;
  703. private Object value;
  704. private Object secondValue;
  705. private boolean noValue;
  706. private boolean singleValue;
  707. private boolean betweenValue;
  708. private boolean listValue;
  709. private String typeHandler;
  710. public String getCondition() {
  711. return condition;
  712. }
  713. public Object getValue() {
  714. return value;
  715. }
  716. public Object getSecondValue() {
  717. return secondValue;
  718. }
  719. public boolean isNoValue() {
  720. return noValue;
  721. }
  722. public boolean isSingleValue() {
  723. return singleValue;
  724. }
  725. public boolean isBetweenValue() {
  726. return betweenValue;
  727. }
  728. public boolean isListValue() {
  729. return listValue;
  730. }
  731. public String getTypeHandler() {
  732. return typeHandler;
  733. }
  734. protected Criterion(String condition) {
  735. super();
  736. this.condition = condition;
  737. this.typeHandler = null;
  738. this.noValue = true;
  739. }
  740. protected Criterion(String condition, Object value, String typeHandler) {
  741. super();
  742. this.condition = condition;
  743. this.value = value;
  744. this.typeHandler = typeHandler;
  745. if (value instanceof List<?>) {
  746. this.listValue = true;
  747. } else {
  748. this.singleValue = true;
  749. }
  750. }
  751. protected Criterion(String condition, Object value) {
  752. this(condition, value, null);
  753. }
  754. protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
  755. super();
  756. this.condition = condition;
  757. this.value = value;
  758. this.secondValue = secondValue;
  759. this.typeHandler = typeHandler;
  760. this.betweenValue = true;
  761. }
  762. protected Criterion(String condition, Object value, Object secondValue) {
  763. this(condition, value, secondValue, null);
  764. }
  765. }
  766. /**
  767. * This class was generated by MyBatis Generator.
  768. * This class corresponds to the database table t_order_bonus
  769. *
  770. * @mbggenerated do_not_delete_during_merge Fri Nov 23 09:44:11 CST 2018
  771. */
  772. public static class Criteria extends GeneratedCriteria {
  773. protected Criteria() {
  774. super();
  775. }
  776. }
  777. }