OrderRefundInvoiceExample.java 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554
  1. package com.goafanti.common.model;
  2. import java.math.BigDecimal;
  3. import java.util.ArrayList;
  4. import java.util.Date;
  5. import java.util.List;
  6. public class OrderRefundInvoiceExample {
  7. /**
  8. * This field was generated by MyBatis Generator.
  9. * This field corresponds to the database table order_refund_invoice
  10. *
  11. * @mbg.generated Tue Sep 17 16:25:27 CST 2019
  12. */
  13. protected String orderByClause;
  14. /**
  15. * This field was generated by MyBatis Generator.
  16. * This field corresponds to the database table order_refund_invoice
  17. *
  18. * @mbg.generated Tue Sep 17 16:25:27 CST 2019
  19. */
  20. protected boolean distinct;
  21. /**
  22. * This field was generated by MyBatis Generator.
  23. * This field corresponds to the database table order_refund_invoice
  24. *
  25. * @mbg.generated Tue Sep 17 16:25:27 CST 2019
  26. */
  27. protected List<Criteria> oredCriteria;
  28. /**
  29. * This method was generated by MyBatis Generator.
  30. * This method corresponds to the database table order_refund_invoice
  31. *
  32. * @mbg.generated Tue Sep 17 16:25:27 CST 2019
  33. */
  34. public OrderRefundInvoiceExample() {
  35. oredCriteria = new ArrayList<Criteria>();
  36. }
  37. /**
  38. * This method was generated by MyBatis Generator.
  39. * This method corresponds to the database table order_refund_invoice
  40. *
  41. * @mbg.generated Tue Sep 17 16:25:27 CST 2019
  42. */
  43. public void setOrderByClause(String orderByClause) {
  44. this.orderByClause = orderByClause;
  45. }
  46. /**
  47. * This method was generated by MyBatis Generator.
  48. * This method corresponds to the database table order_refund_invoice
  49. *
  50. * @mbg.generated Tue Sep 17 16:25:27 CST 2019
  51. */
  52. public String getOrderByClause() {
  53. return orderByClause;
  54. }
  55. /**
  56. * This method was generated by MyBatis Generator.
  57. * This method corresponds to the database table order_refund_invoice
  58. *
  59. * @mbg.generated Tue Sep 17 16:25:27 CST 2019
  60. */
  61. public void setDistinct(boolean distinct) {
  62. this.distinct = distinct;
  63. }
  64. /**
  65. * This method was generated by MyBatis Generator.
  66. * This method corresponds to the database table order_refund_invoice
  67. *
  68. * @mbg.generated Tue Sep 17 16:25:27 CST 2019
  69. */
  70. public boolean isDistinct() {
  71. return distinct;
  72. }
  73. /**
  74. * This method was generated by MyBatis Generator.
  75. * This method corresponds to the database table order_refund_invoice
  76. *
  77. * @mbg.generated Tue Sep 17 16:25:27 CST 2019
  78. */
  79. public List<Criteria> getOredCriteria() {
  80. return oredCriteria;
  81. }
  82. /**
  83. * This method was generated by MyBatis Generator.
  84. * This method corresponds to the database table order_refund_invoice
  85. *
  86. * @mbg.generated Tue Sep 17 16:25:27 CST 2019
  87. */
  88. public void or(Criteria criteria) {
  89. oredCriteria.add(criteria);
  90. }
  91. /**
  92. * This method was generated by MyBatis Generator.
  93. * This method corresponds to the database table order_refund_invoice
  94. *
  95. * @mbg.generated Tue Sep 17 16:25:27 CST 2019
  96. */
  97. public Criteria or() {
  98. Criteria criteria = createCriteriaInternal();
  99. oredCriteria.add(criteria);
  100. return criteria;
  101. }
  102. /**
  103. * This method was generated by MyBatis Generator.
  104. * This method corresponds to the database table order_refund_invoice
  105. *
  106. * @mbg.generated Tue Sep 17 16:25:27 CST 2019
  107. */
  108. public Criteria createCriteria() {
  109. Criteria criteria = createCriteriaInternal();
  110. if (oredCriteria.size() == 0) {
  111. oredCriteria.add(criteria);
  112. }
  113. return criteria;
  114. }
  115. /**
  116. * This method was generated by MyBatis Generator.
  117. * This method corresponds to the database table order_refund_invoice
  118. *
  119. * @mbg.generated Tue Sep 17 16:25:27 CST 2019
  120. */
  121. protected Criteria createCriteriaInternal() {
  122. Criteria criteria = new Criteria();
  123. return criteria;
  124. }
  125. /**
  126. * This method was generated by MyBatis Generator.
  127. * This method corresponds to the database table order_refund_invoice
  128. *
  129. * @mbg.generated Tue Sep 17 16:25:27 CST 2019
  130. */
  131. public void clear() {
  132. oredCriteria.clear();
  133. orderByClause = null;
  134. distinct = false;
  135. }
  136. /**
  137. * This class was generated by MyBatis Generator.
  138. * This class corresponds to the database table order_refund_invoice
  139. *
  140. * @mbg.generated Tue Sep 17 16:25:27 CST 2019
  141. */
  142. protected abstract static class GeneratedCriteria {
  143. protected List<Criterion> criteria;
  144. protected GeneratedCriteria() {
  145. super();
  146. criteria = new ArrayList<Criterion>();
  147. }
  148. public boolean isValid() {
  149. return criteria.size() > 0;
  150. }
  151. public List<Criterion> getAllCriteria() {
  152. return criteria;
  153. }
  154. public List<Criterion> getCriteria() {
  155. return criteria;
  156. }
  157. protected void addCriterion(String condition) {
  158. if (condition == null) {
  159. throw new RuntimeException("Value for condition cannot be null");
  160. }
  161. criteria.add(new Criterion(condition));
  162. }
  163. protected void addCriterion(String condition, Object value, String property) {
  164. if (value == null) {
  165. throw new RuntimeException("Value for " + property + " cannot be null");
  166. }
  167. criteria.add(new Criterion(condition, value));
  168. }
  169. protected void addCriterion(String condition, Object value1, Object value2, String property) {
  170. if (value1 == null || value2 == null) {
  171. throw new RuntimeException("Between values for " + property + " cannot be null");
  172. }
  173. criteria.add(new Criterion(condition, value1, value2));
  174. }
  175. public Criteria andIdIsNull() {
  176. addCriterion("id is null");
  177. return (Criteria) this;
  178. }
  179. public Criteria andIdIsNotNull() {
  180. addCriterion("id is not null");
  181. return (Criteria) this;
  182. }
  183. public Criteria andIdEqualTo(Integer value) {
  184. addCriterion("id =", value, "id");
  185. return (Criteria) this;
  186. }
  187. public Criteria andIdNotEqualTo(Integer value) {
  188. addCriterion("id <>", value, "id");
  189. return (Criteria) this;
  190. }
  191. public Criteria andIdGreaterThan(Integer value) {
  192. addCriterion("id >", value, "id");
  193. return (Criteria) this;
  194. }
  195. public Criteria andIdGreaterThanOrEqualTo(Integer value) {
  196. addCriterion("id >=", value, "id");
  197. return (Criteria) this;
  198. }
  199. public Criteria andIdLessThan(Integer value) {
  200. addCriterion("id <", value, "id");
  201. return (Criteria) this;
  202. }
  203. public Criteria andIdLessThanOrEqualTo(Integer value) {
  204. addCriterion("id <=", value, "id");
  205. return (Criteria) this;
  206. }
  207. public Criteria andIdIn(List<Integer> values) {
  208. addCriterion("id in", values, "id");
  209. return (Criteria) this;
  210. }
  211. public Criteria andIdNotIn(List<Integer> values) {
  212. addCriterion("id not in", values, "id");
  213. return (Criteria) this;
  214. }
  215. public Criteria andIdBetween(Integer value1, Integer value2) {
  216. addCriterion("id between", value1, value2, "id");
  217. return (Criteria) this;
  218. }
  219. public Criteria andIdNotBetween(Integer value1, Integer value2) {
  220. addCriterion("id not between", value1, value2, "id");
  221. return (Criteria) this;
  222. }
  223. public Criteria andOrderNoIsNull() {
  224. addCriterion("order_no is null");
  225. return (Criteria) this;
  226. }
  227. public Criteria andOrderNoIsNotNull() {
  228. addCriterion("order_no is not null");
  229. return (Criteria) this;
  230. }
  231. public Criteria andOrderNoEqualTo(String value) {
  232. addCriterion("order_no =", value, "orderNo");
  233. return (Criteria) this;
  234. }
  235. public Criteria andOrderNoNotEqualTo(String value) {
  236. addCriterion("order_no <>", value, "orderNo");
  237. return (Criteria) this;
  238. }
  239. public Criteria andOrderNoGreaterThan(String value) {
  240. addCriterion("order_no >", value, "orderNo");
  241. return (Criteria) this;
  242. }
  243. public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
  244. addCriterion("order_no >=", value, "orderNo");
  245. return (Criteria) this;
  246. }
  247. public Criteria andOrderNoLessThan(String value) {
  248. addCriterion("order_no <", value, "orderNo");
  249. return (Criteria) this;
  250. }
  251. public Criteria andOrderNoLessThanOrEqualTo(String value) {
  252. addCriterion("order_no <=", value, "orderNo");
  253. return (Criteria) this;
  254. }
  255. public Criteria andOrderNoLike(String value) {
  256. addCriterion("order_no like", value, "orderNo");
  257. return (Criteria) this;
  258. }
  259. public Criteria andOrderNoNotLike(String value) {
  260. addCriterion("order_no not like", value, "orderNo");
  261. return (Criteria) this;
  262. }
  263. public Criteria andOrderNoIn(List<String> values) {
  264. addCriterion("order_no in", values, "orderNo");
  265. return (Criteria) this;
  266. }
  267. public Criteria andOrderNoNotIn(List<String> values) {
  268. addCriterion("order_no not in", values, "orderNo");
  269. return (Criteria) this;
  270. }
  271. public Criteria andOrderNoBetween(String value1, String value2) {
  272. addCriterion("order_no between", value1, value2, "orderNo");
  273. return (Criteria) this;
  274. }
  275. public Criteria andOrderNoNotBetween(String value1, String value2) {
  276. addCriterion("order_no not between", value1, value2, "orderNo");
  277. return (Criteria) this;
  278. }
  279. public Criteria andCreateTimeIsNull() {
  280. addCriterion("create_time is null");
  281. return (Criteria) this;
  282. }
  283. public Criteria andCreateTimeIsNotNull() {
  284. addCriterion("create_time is not null");
  285. return (Criteria) this;
  286. }
  287. public Criteria andCreateTimeEqualTo(Date value) {
  288. addCriterion("create_time =", value, "createTime");
  289. return (Criteria) this;
  290. }
  291. public Criteria andCreateTimeNotEqualTo(Date value) {
  292. addCriterion("create_time <>", value, "createTime");
  293. return (Criteria) this;
  294. }
  295. public Criteria andCreateTimeGreaterThan(Date value) {
  296. addCriterion("create_time >", value, "createTime");
  297. return (Criteria) this;
  298. }
  299. public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
  300. addCriterion("create_time >=", value, "createTime");
  301. return (Criteria) this;
  302. }
  303. public Criteria andCreateTimeLessThan(Date value) {
  304. addCriterion("create_time <", value, "createTime");
  305. return (Criteria) this;
  306. }
  307. public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
  308. addCriterion("create_time <=", value, "createTime");
  309. return (Criteria) this;
  310. }
  311. public Criteria andCreateTimeIn(List<Date> values) {
  312. addCriterion("create_time in", values, "createTime");
  313. return (Criteria) this;
  314. }
  315. public Criteria andCreateTimeNotIn(List<Date> values) {
  316. addCriterion("create_time not in", values, "createTime");
  317. return (Criteria) this;
  318. }
  319. public Criteria andCreateTimeBetween(Date value1, Date value2) {
  320. addCriterion("create_time between", value1, value2, "createTime");
  321. return (Criteria) this;
  322. }
  323. public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
  324. addCriterion("create_time not between", value1, value2, "createTime");
  325. return (Criteria) this;
  326. }
  327. public Criteria andAmountIsNull() {
  328. addCriterion("amount is null");
  329. return (Criteria) this;
  330. }
  331. public Criteria andAmountIsNotNull() {
  332. addCriterion("amount is not null");
  333. return (Criteria) this;
  334. }
  335. public Criteria andAmountEqualTo(BigDecimal value) {
  336. addCriterion("amount =", value, "amount");
  337. return (Criteria) this;
  338. }
  339. public Criteria andAmountNotEqualTo(BigDecimal value) {
  340. addCriterion("amount <>", value, "amount");
  341. return (Criteria) this;
  342. }
  343. public Criteria andAmountGreaterThan(BigDecimal value) {
  344. addCriterion("amount >", value, "amount");
  345. return (Criteria) this;
  346. }
  347. public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
  348. addCriterion("amount >=", value, "amount");
  349. return (Criteria) this;
  350. }
  351. public Criteria andAmountLessThan(BigDecimal value) {
  352. addCriterion("amount <", value, "amount");
  353. return (Criteria) this;
  354. }
  355. public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
  356. addCriterion("amount <=", value, "amount");
  357. return (Criteria) this;
  358. }
  359. public Criteria andAmountIn(List<BigDecimal> values) {
  360. addCriterion("amount in", values, "amount");
  361. return (Criteria) this;
  362. }
  363. public Criteria andAmountNotIn(List<BigDecimal> values) {
  364. addCriterion("amount not in", values, "amount");
  365. return (Criteria) this;
  366. }
  367. public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) {
  368. addCriterion("amount between", value1, value2, "amount");
  369. return (Criteria) this;
  370. }
  371. public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) {
  372. addCriterion("amount not between", value1, value2, "amount");
  373. return (Criteria) this;
  374. }
  375. }
  376. /**
  377. * This class was generated by MyBatis Generator.
  378. * This class corresponds to the database table order_refund_invoice
  379. *
  380. * @mbg.generated do_not_delete_during_merge Tue Sep 17 16:25:27 CST 2019
  381. */
  382. public static class Criteria extends GeneratedCriteria {
  383. protected Criteria() {
  384. super();
  385. }
  386. }
  387. /**
  388. * This class was generated by MyBatis Generator.
  389. * This class corresponds to the database table order_refund_invoice
  390. *
  391. * @mbg.generated Tue Sep 17 16:25:27 CST 2019
  392. */
  393. public static class Criterion {
  394. private String condition;
  395. private Object value;
  396. private Object secondValue;
  397. private boolean noValue;
  398. private boolean singleValue;
  399. private boolean betweenValue;
  400. private boolean listValue;
  401. private String typeHandler;
  402. public String getCondition() {
  403. return condition;
  404. }
  405. public Object getValue() {
  406. return value;
  407. }
  408. public Object getSecondValue() {
  409. return secondValue;
  410. }
  411. public boolean isNoValue() {
  412. return noValue;
  413. }
  414. public boolean isSingleValue() {
  415. return singleValue;
  416. }
  417. public boolean isBetweenValue() {
  418. return betweenValue;
  419. }
  420. public boolean isListValue() {
  421. return listValue;
  422. }
  423. public String getTypeHandler() {
  424. return typeHandler;
  425. }
  426. protected Criterion(String condition) {
  427. super();
  428. this.condition = condition;
  429. this.typeHandler = null;
  430. this.noValue = true;
  431. }
  432. protected Criterion(String condition, Object value, String typeHandler) {
  433. super();
  434. this.condition = condition;
  435. this.value = value;
  436. this.typeHandler = typeHandler;
  437. if (value instanceof List<?>) {
  438. this.listValue = true;
  439. } else {
  440. this.singleValue = true;
  441. }
  442. }
  443. protected Criterion(String condition, Object value) {
  444. this(condition, value, null);
  445. }
  446. protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
  447. super();
  448. this.condition = condition;
  449. this.value = value;
  450. this.secondValue = secondValue;
  451. this.typeHandler = typeHandler;
  452. this.betweenValue = true;
  453. }
  454. protected Criterion(String condition, Object value, Object secondValue) {
  455. this(condition, value, secondValue, null);
  456. }
  457. }
  458. }