TDunLogExample.java 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670
  1. package com.goafanti.common.model;
  2. import java.util.ArrayList;
  3. import java.util.Date;
  4. import java.util.Iterator;
  5. import java.util.List;
  6. public class TDunLogExample {
  7. /**
  8. * This field was generated by MyBatis Generator.
  9. * This field corresponds to the database table t_dun_log
  10. *
  11. * @mbg.generated Tue Nov 20 11:50:41 CST 2018
  12. */
  13. protected String orderByClause;
  14. /**
  15. * This field was generated by MyBatis Generator.
  16. * This field corresponds to the database table t_dun_log
  17. *
  18. * @mbg.generated Tue Nov 20 11:50:41 CST 2018
  19. */
  20. protected boolean distinct;
  21. /**
  22. * This field was generated by MyBatis Generator.
  23. * This field corresponds to the database table t_dun_log
  24. *
  25. * @mbg.generated Tue Nov 20 11:50:41 CST 2018
  26. */
  27. protected List<Criteria> oredCriteria;
  28. /**
  29. * This method was generated by MyBatis Generator.
  30. * This method corresponds to the database table t_dun_log
  31. *
  32. * @mbg.generated Tue Nov 20 11:50:41 CST 2018
  33. */
  34. public TDunLogExample() {
  35. oredCriteria = new ArrayList<Criteria>();
  36. }
  37. /**
  38. * This method was generated by MyBatis Generator.
  39. * This method corresponds to the database table t_dun_log
  40. *
  41. * @mbg.generated Tue Nov 20 11:50:41 CST 2018
  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 t_dun_log
  49. *
  50. * @mbg.generated Tue Nov 20 11:50:41 CST 2018
  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 t_dun_log
  58. *
  59. * @mbg.generated Tue Nov 20 11:50:41 CST 2018
  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 t_dun_log
  67. *
  68. * @mbg.generated Tue Nov 20 11:50:41 CST 2018
  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 t_dun_log
  76. *
  77. * @mbg.generated Tue Nov 20 11:50:41 CST 2018
  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 t_dun_log
  85. *
  86. * @mbg.generated Tue Nov 20 11:50:41 CST 2018
  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 t_dun_log
  94. *
  95. * @mbg.generated Tue Nov 20 11:50:41 CST 2018
  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 t_dun_log
  105. *
  106. * @mbg.generated Tue Nov 20 11:50:41 CST 2018
  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 t_dun_log
  118. *
  119. * @mbg.generated Tue Nov 20 11:50:41 CST 2018
  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 t_dun_log
  128. *
  129. * @mbg.generated Tue Nov 20 11:50:41 CST 2018
  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 t_dun_log
  139. *
  140. * @mbg.generated Tue Nov 20 11:50:41 CST 2018
  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. protected void addCriterionForJDBCDate(String condition, Date value, String property) {
  176. if (value == null) {
  177. throw new RuntimeException("Value for " + property + " cannot be null");
  178. }
  179. addCriterion(condition, new java.sql.Date(value.getTime()), property);
  180. }
  181. protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
  182. if (values == null || values.size() == 0) {
  183. throw new RuntimeException("Value list for " + property + " cannot be null or empty");
  184. }
  185. List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
  186. Iterator<Date> iter = values.iterator();
  187. while (iter.hasNext()) {
  188. dateList.add(new java.sql.Date(iter.next().getTime()));
  189. }
  190. addCriterion(condition, dateList, property);
  191. }
  192. protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
  193. if (value1 == null || value2 == null) {
  194. throw new RuntimeException("Between values for " + property + " cannot be null");
  195. }
  196. addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
  197. }
  198. public Criteria andIdIsNull() {
  199. addCriterion("id is null");
  200. return (Criteria) this;
  201. }
  202. public Criteria andIdIsNotNull() {
  203. addCriterion("id is not null");
  204. return (Criteria) this;
  205. }
  206. public Criteria andIdEqualTo(String value) {
  207. addCriterion("id =", value, "id");
  208. return (Criteria) this;
  209. }
  210. public Criteria andIdNotEqualTo(String value) {
  211. addCriterion("id <>", value, "id");
  212. return (Criteria) this;
  213. }
  214. public Criteria andIdGreaterThan(String value) {
  215. addCriterion("id >", value, "id");
  216. return (Criteria) this;
  217. }
  218. public Criteria andIdGreaterThanOrEqualTo(String value) {
  219. addCriterion("id >=", value, "id");
  220. return (Criteria) this;
  221. }
  222. public Criteria andIdLessThan(String value) {
  223. addCriterion("id <", value, "id");
  224. return (Criteria) this;
  225. }
  226. public Criteria andIdLessThanOrEqualTo(String value) {
  227. addCriterion("id <=", value, "id");
  228. return (Criteria) this;
  229. }
  230. public Criteria andIdLike(String value) {
  231. addCriterion("id like", value, "id");
  232. return (Criteria) this;
  233. }
  234. public Criteria andIdNotLike(String value) {
  235. addCriterion("id not like", value, "id");
  236. return (Criteria) this;
  237. }
  238. public Criteria andIdIn(List<String> values) {
  239. addCriterion("id in", values, "id");
  240. return (Criteria) this;
  241. }
  242. public Criteria andIdNotIn(List<String> values) {
  243. addCriterion("id not in", values, "id");
  244. return (Criteria) this;
  245. }
  246. public Criteria andIdBetween(String value1, String value2) {
  247. addCriterion("id between", value1, value2, "id");
  248. return (Criteria) this;
  249. }
  250. public Criteria andIdNotBetween(String value1, String value2) {
  251. addCriterion("id not between", value1, value2, "id");
  252. return (Criteria) this;
  253. }
  254. public Criteria andDunIdIsNull() {
  255. addCriterion("dun_id is null");
  256. return (Criteria) this;
  257. }
  258. public Criteria andDunIdIsNotNull() {
  259. addCriterion("dun_id is not null");
  260. return (Criteria) this;
  261. }
  262. public Criteria andDunIdEqualTo(String value) {
  263. addCriterion("dun_id =", value, "dunId");
  264. return (Criteria) this;
  265. }
  266. public Criteria andDunIdNotEqualTo(String value) {
  267. addCriterion("dun_id <>", value, "dunId");
  268. return (Criteria) this;
  269. }
  270. public Criteria andDunIdGreaterThan(String value) {
  271. addCriterion("dun_id >", value, "dunId");
  272. return (Criteria) this;
  273. }
  274. public Criteria andDunIdGreaterThanOrEqualTo(String value) {
  275. addCriterion("dun_id >=", value, "dunId");
  276. return (Criteria) this;
  277. }
  278. public Criteria andDunIdLessThan(String value) {
  279. addCriterion("dun_id <", value, "dunId");
  280. return (Criteria) this;
  281. }
  282. public Criteria andDunIdLessThanOrEqualTo(String value) {
  283. addCriterion("dun_id <=", value, "dunId");
  284. return (Criteria) this;
  285. }
  286. public Criteria andDunIdLike(String value) {
  287. addCriterion("dun_id like", value, "dunId");
  288. return (Criteria) this;
  289. }
  290. public Criteria andDunIdNotLike(String value) {
  291. addCriterion("dun_id not like", value, "dunId");
  292. return (Criteria) this;
  293. }
  294. public Criteria andDunIdIn(List<String> values) {
  295. addCriterion("dun_id in", values, "dunId");
  296. return (Criteria) this;
  297. }
  298. public Criteria andDunIdNotIn(List<String> values) {
  299. addCriterion("dun_id not in", values, "dunId");
  300. return (Criteria) this;
  301. }
  302. public Criteria andDunIdBetween(String value1, String value2) {
  303. addCriterion("dun_id between", value1, value2, "dunId");
  304. return (Criteria) this;
  305. }
  306. public Criteria andDunIdNotBetween(String value1, String value2) {
  307. addCriterion("dun_id not between", value1, value2, "dunId");
  308. return (Criteria) this;
  309. }
  310. public Criteria andDumByIsNull() {
  311. addCriterion("dum_by is null");
  312. return (Criteria) this;
  313. }
  314. public Criteria andDumByIsNotNull() {
  315. addCriterion("dum_by is not null");
  316. return (Criteria) this;
  317. }
  318. public Criteria andDumByEqualTo(String value) {
  319. addCriterion("dum_by =", value, "dumBy");
  320. return (Criteria) this;
  321. }
  322. public Criteria andDumByNotEqualTo(String value) {
  323. addCriterion("dum_by <>", value, "dumBy");
  324. return (Criteria) this;
  325. }
  326. public Criteria andDumByGreaterThan(String value) {
  327. addCriterion("dum_by >", value, "dumBy");
  328. return (Criteria) this;
  329. }
  330. public Criteria andDumByGreaterThanOrEqualTo(String value) {
  331. addCriterion("dum_by >=", value, "dumBy");
  332. return (Criteria) this;
  333. }
  334. public Criteria andDumByLessThan(String value) {
  335. addCriterion("dum_by <", value, "dumBy");
  336. return (Criteria) this;
  337. }
  338. public Criteria andDumByLessThanOrEqualTo(String value) {
  339. addCriterion("dum_by <=", value, "dumBy");
  340. return (Criteria) this;
  341. }
  342. public Criteria andDumByLike(String value) {
  343. addCriterion("dum_by like", value, "dumBy");
  344. return (Criteria) this;
  345. }
  346. public Criteria andDumByNotLike(String value) {
  347. addCriterion("dum_by not like", value, "dumBy");
  348. return (Criteria) this;
  349. }
  350. public Criteria andDumByIn(List<String> values) {
  351. addCriterion("dum_by in", values, "dumBy");
  352. return (Criteria) this;
  353. }
  354. public Criteria andDumByNotIn(List<String> values) {
  355. addCriterion("dum_by not in", values, "dumBy");
  356. return (Criteria) this;
  357. }
  358. public Criteria andDumByBetween(String value1, String value2) {
  359. addCriterion("dum_by between", value1, value2, "dumBy");
  360. return (Criteria) this;
  361. }
  362. public Criteria andDumByNotBetween(String value1, String value2) {
  363. addCriterion("dum_by not between", value1, value2, "dumBy");
  364. return (Criteria) this;
  365. }
  366. public Criteria andDumTimeIsNull() {
  367. addCriterion("dum_time is null");
  368. return (Criteria) this;
  369. }
  370. public Criteria andDumTimeIsNotNull() {
  371. addCriterion("dum_time is not null");
  372. return (Criteria) this;
  373. }
  374. public Criteria andDumTimeEqualTo(Date value) {
  375. addCriterionForJDBCDate("dum_time =", value, "dumTime");
  376. return (Criteria) this;
  377. }
  378. public Criteria andDumTimeNotEqualTo(Date value) {
  379. addCriterionForJDBCDate("dum_time <>", value, "dumTime");
  380. return (Criteria) this;
  381. }
  382. public Criteria andDumTimeGreaterThan(Date value) {
  383. addCriterionForJDBCDate("dum_time >", value, "dumTime");
  384. return (Criteria) this;
  385. }
  386. public Criteria andDumTimeGreaterThanOrEqualTo(Date value) {
  387. addCriterionForJDBCDate("dum_time >=", value, "dumTime");
  388. return (Criteria) this;
  389. }
  390. public Criteria andDumTimeLessThan(Date value) {
  391. addCriterionForJDBCDate("dum_time <", value, "dumTime");
  392. return (Criteria) this;
  393. }
  394. public Criteria andDumTimeLessThanOrEqualTo(Date value) {
  395. addCriterionForJDBCDate("dum_time <=", value, "dumTime");
  396. return (Criteria) this;
  397. }
  398. public Criteria andDumTimeIn(List<Date> values) {
  399. addCriterionForJDBCDate("dum_time in", values, "dumTime");
  400. return (Criteria) this;
  401. }
  402. public Criteria andDumTimeNotIn(List<Date> values) {
  403. addCriterionForJDBCDate("dum_time not in", values, "dumTime");
  404. return (Criteria) this;
  405. }
  406. public Criteria andDumTimeBetween(Date value1, Date value2) {
  407. addCriterionForJDBCDate("dum_time between", value1, value2, "dumTime");
  408. return (Criteria) this;
  409. }
  410. public Criteria andDumTimeNotBetween(Date value1, Date value2) {
  411. addCriterionForJDBCDate("dum_time not between", value1, value2, "dumTime");
  412. return (Criteria) this;
  413. }
  414. public Criteria andRemarksIsNull() {
  415. addCriterion("remarks is null");
  416. return (Criteria) this;
  417. }
  418. public Criteria andRemarksIsNotNull() {
  419. addCriterion("remarks is not null");
  420. return (Criteria) this;
  421. }
  422. public Criteria andRemarksEqualTo(String value) {
  423. addCriterion("remarks =", value, "remarks");
  424. return (Criteria) this;
  425. }
  426. public Criteria andRemarksNotEqualTo(String value) {
  427. addCriterion("remarks <>", value, "remarks");
  428. return (Criteria) this;
  429. }
  430. public Criteria andRemarksGreaterThan(String value) {
  431. addCriterion("remarks >", value, "remarks");
  432. return (Criteria) this;
  433. }
  434. public Criteria andRemarksGreaterThanOrEqualTo(String value) {
  435. addCriterion("remarks >=", value, "remarks");
  436. return (Criteria) this;
  437. }
  438. public Criteria andRemarksLessThan(String value) {
  439. addCriterion("remarks <", value, "remarks");
  440. return (Criteria) this;
  441. }
  442. public Criteria andRemarksLessThanOrEqualTo(String value) {
  443. addCriterion("remarks <=", value, "remarks");
  444. return (Criteria) this;
  445. }
  446. public Criteria andRemarksLike(String value) {
  447. addCriterion("remarks like", value, "remarks");
  448. return (Criteria) this;
  449. }
  450. public Criteria andRemarksNotLike(String value) {
  451. addCriterion("remarks not like", value, "remarks");
  452. return (Criteria) this;
  453. }
  454. public Criteria andRemarksIn(List<String> values) {
  455. addCriterion("remarks in", values, "remarks");
  456. return (Criteria) this;
  457. }
  458. public Criteria andRemarksNotIn(List<String> values) {
  459. addCriterion("remarks not in", values, "remarks");
  460. return (Criteria) this;
  461. }
  462. public Criteria andRemarksBetween(String value1, String value2) {
  463. addCriterion("remarks between", value1, value2, "remarks");
  464. return (Criteria) this;
  465. }
  466. public Criteria andRemarksNotBetween(String value1, String value2) {
  467. addCriterion("remarks not between", value1, value2, "remarks");
  468. return (Criteria) this;
  469. }
  470. }
  471. /**
  472. * This class was generated by MyBatis Generator.
  473. * This class corresponds to the database table t_dun_log
  474. *
  475. * @mbg.generated do_not_delete_during_merge Tue Nov 20 11:50:41 CST 2018
  476. */
  477. public static class Criteria extends GeneratedCriteria {
  478. protected Criteria() {
  479. super();
  480. }
  481. }
  482. /**
  483. * This class was generated by MyBatis Generator.
  484. * This class corresponds to the database table t_dun_log
  485. *
  486. * @mbg.generated Tue Nov 20 11:50:41 CST 2018
  487. */
  488. public static class Criterion {
  489. private String condition;
  490. private Object value;
  491. private Object secondValue;
  492. private boolean noValue;
  493. private boolean singleValue;
  494. private boolean betweenValue;
  495. private boolean listValue;
  496. private String typeHandler;
  497. public String getCondition() {
  498. return condition;
  499. }
  500. public Object getValue() {
  501. return value;
  502. }
  503. public Object getSecondValue() {
  504. return secondValue;
  505. }
  506. public boolean isNoValue() {
  507. return noValue;
  508. }
  509. public boolean isSingleValue() {
  510. return singleValue;
  511. }
  512. public boolean isBetweenValue() {
  513. return betweenValue;
  514. }
  515. public boolean isListValue() {
  516. return listValue;
  517. }
  518. public String getTypeHandler() {
  519. return typeHandler;
  520. }
  521. protected Criterion(String condition) {
  522. super();
  523. this.condition = condition;
  524. this.typeHandler = null;
  525. this.noValue = true;
  526. }
  527. protected Criterion(String condition, Object value, String typeHandler) {
  528. super();
  529. this.condition = condition;
  530. this.value = value;
  531. this.typeHandler = typeHandler;
  532. if (value instanceof List<?>) {
  533. this.listValue = true;
  534. } else {
  535. this.singleValue = true;
  536. }
  537. }
  538. protected Criterion(String condition, Object value) {
  539. this(condition, value, null);
  540. }
  541. protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
  542. super();
  543. this.condition = condition;
  544. this.value = value;
  545. this.secondValue = secondValue;
  546. this.typeHandler = typeHandler;
  547. this.betweenValue = true;
  548. }
  549. protected Criterion(String condition, Object value, Object secondValue) {
  550. this(condition, value, secondValue, null);
  551. }
  552. }
  553. }