TTaskHoursExample.java 20 KB

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