TimeCalibrationRecordExample.java 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  1. package com.js.kbt.model;
  2. import java.util.ArrayList;
  3. import java.util.Date;
  4. import java.util.List;
  5. public class TimeCalibrationRecordExample {
  6. /**
  7. * This field was generated by MyBatis Generator.
  8. * This field corresponds to the database table time_calibration_record
  9. *
  10. * @mbg.generated Thu Oct 10 15:45:15 CST 2019
  11. */
  12. protected String orderByClause;
  13. /**
  14. * This field was generated by MyBatis Generator.
  15. * This field corresponds to the database table time_calibration_record
  16. *
  17. * @mbg.generated Thu Oct 10 15:45:15 CST 2019
  18. */
  19. protected boolean distinct;
  20. /**
  21. * This field was generated by MyBatis Generator.
  22. * This field corresponds to the database table time_calibration_record
  23. *
  24. * @mbg.generated Thu Oct 10 15:45:15 CST 2019
  25. */
  26. protected List<Criteria> oredCriteria;
  27. /**
  28. * This method was generated by MyBatis Generator.
  29. * This method corresponds to the database table time_calibration_record
  30. *
  31. * @mbg.generated Thu Oct 10 15:45:15 CST 2019
  32. */
  33. public TimeCalibrationRecordExample() {
  34. oredCriteria = new ArrayList<Criteria>();
  35. }
  36. /**
  37. * This method was generated by MyBatis Generator.
  38. * This method corresponds to the database table time_calibration_record
  39. *
  40. * @mbg.generated Thu Oct 10 15:45:15 CST 2019
  41. */
  42. public void setOrderByClause(String orderByClause) {
  43. this.orderByClause = orderByClause;
  44. }
  45. /**
  46. * This method was generated by MyBatis Generator.
  47. * This method corresponds to the database table time_calibration_record
  48. *
  49. * @mbg.generated Thu Oct 10 15:45:15 CST 2019
  50. */
  51. public String getOrderByClause() {
  52. return orderByClause;
  53. }
  54. /**
  55. * This method was generated by MyBatis Generator.
  56. * This method corresponds to the database table time_calibration_record
  57. *
  58. * @mbg.generated Thu Oct 10 15:45:15 CST 2019
  59. */
  60. public void setDistinct(boolean distinct) {
  61. this.distinct = distinct;
  62. }
  63. /**
  64. * This method was generated by MyBatis Generator.
  65. * This method corresponds to the database table time_calibration_record
  66. *
  67. * @mbg.generated Thu Oct 10 15:45:15 CST 2019
  68. */
  69. public boolean isDistinct() {
  70. return distinct;
  71. }
  72. /**
  73. * This method was generated by MyBatis Generator.
  74. * This method corresponds to the database table time_calibration_record
  75. *
  76. * @mbg.generated Thu Oct 10 15:45:15 CST 2019
  77. */
  78. public List<Criteria> getOredCriteria() {
  79. return oredCriteria;
  80. }
  81. /**
  82. * This method was generated by MyBatis Generator.
  83. * This method corresponds to the database table time_calibration_record
  84. *
  85. * @mbg.generated Thu Oct 10 15:45:15 CST 2019
  86. */
  87. public void or(Criteria criteria) {
  88. oredCriteria.add(criteria);
  89. }
  90. /**
  91. * This method was generated by MyBatis Generator.
  92. * This method corresponds to the database table time_calibration_record
  93. *
  94. * @mbg.generated Thu Oct 10 15:45:15 CST 2019
  95. */
  96. public Criteria or() {
  97. Criteria criteria = createCriteriaInternal();
  98. oredCriteria.add(criteria);
  99. return criteria;
  100. }
  101. /**
  102. * This method was generated by MyBatis Generator.
  103. * This method corresponds to the database table time_calibration_record
  104. *
  105. * @mbg.generated Thu Oct 10 15:45:15 CST 2019
  106. */
  107. public Criteria createCriteria() {
  108. Criteria criteria = createCriteriaInternal();
  109. if (oredCriteria.size() == 0) {
  110. oredCriteria.add(criteria);
  111. }
  112. return criteria;
  113. }
  114. /**
  115. * This method was generated by MyBatis Generator.
  116. * This method corresponds to the database table time_calibration_record
  117. *
  118. * @mbg.generated Thu Oct 10 15:45:15 CST 2019
  119. */
  120. protected Criteria createCriteriaInternal() {
  121. Criteria criteria = new Criteria();
  122. return criteria;
  123. }
  124. /**
  125. * This method was generated by MyBatis Generator.
  126. * This method corresponds to the database table time_calibration_record
  127. *
  128. * @mbg.generated Thu Oct 10 15:45:15 CST 2019
  129. */
  130. public void clear() {
  131. oredCriteria.clear();
  132. orderByClause = null;
  133. distinct = false;
  134. }
  135. /**
  136. * This class was generated by MyBatis Generator.
  137. * This class corresponds to the database table time_calibration_record
  138. *
  139. * @mbg.generated Thu Oct 10 15:45:15 CST 2019
  140. */
  141. protected abstract static class GeneratedCriteria {
  142. protected List<Criterion> criteria;
  143. protected GeneratedCriteria() {
  144. super();
  145. criteria = new ArrayList<Criterion>();
  146. }
  147. public boolean isValid() {
  148. return criteria.size() > 0;
  149. }
  150. public List<Criterion> getAllCriteria() {
  151. return criteria;
  152. }
  153. public List<Criterion> getCriteria() {
  154. return criteria;
  155. }
  156. protected void addCriterion(String condition) {
  157. if (condition == null) {
  158. throw new RuntimeException("Value for condition cannot be null");
  159. }
  160. criteria.add(new Criterion(condition));
  161. }
  162. protected void addCriterion(String condition, Object value, String property) {
  163. if (value == null) {
  164. throw new RuntimeException("Value for " + property + " cannot be null");
  165. }
  166. criteria.add(new Criterion(condition, value));
  167. }
  168. protected void addCriterion(String condition, Object value1, Object value2, String property) {
  169. if (value1 == null || value2 == null) {
  170. throw new RuntimeException("Between values for " + property + " cannot be null");
  171. }
  172. criteria.add(new Criterion(condition, value1, value2));
  173. }
  174. public Criteria andIdIsNull() {
  175. addCriterion("id is null");
  176. return (Criteria) this;
  177. }
  178. public Criteria andIdIsNotNull() {
  179. addCriterion("id is not null");
  180. return (Criteria) this;
  181. }
  182. public Criteria andIdEqualTo(Integer value) {
  183. addCriterion("id =", value, "id");
  184. return (Criteria) this;
  185. }
  186. public Criteria andIdNotEqualTo(Integer value) {
  187. addCriterion("id <>", value, "id");
  188. return (Criteria) this;
  189. }
  190. public Criteria andIdGreaterThan(Integer value) {
  191. addCriterion("id >", value, "id");
  192. return (Criteria) this;
  193. }
  194. public Criteria andIdGreaterThanOrEqualTo(Integer value) {
  195. addCriterion("id >=", value, "id");
  196. return (Criteria) this;
  197. }
  198. public Criteria andIdLessThan(Integer value) {
  199. addCriterion("id <", value, "id");
  200. return (Criteria) this;
  201. }
  202. public Criteria andIdLessThanOrEqualTo(Integer value) {
  203. addCriterion("id <=", value, "id");
  204. return (Criteria) this;
  205. }
  206. public Criteria andIdIn(List<Integer> values) {
  207. addCriterion("id in", values, "id");
  208. return (Criteria) this;
  209. }
  210. public Criteria andIdNotIn(List<Integer> values) {
  211. addCriterion("id not in", values, "id");
  212. return (Criteria) this;
  213. }
  214. public Criteria andIdBetween(Integer value1, Integer value2) {
  215. addCriterion("id between", value1, value2, "id");
  216. return (Criteria) this;
  217. }
  218. public Criteria andIdNotBetween(Integer value1, Integer value2) {
  219. addCriterion("id not between", value1, value2, "id");
  220. return (Criteria) this;
  221. }
  222. public Criteria andIndateIsNull() {
  223. addCriterion("indate is null");
  224. return (Criteria) this;
  225. }
  226. public Criteria andIndateIsNotNull() {
  227. addCriterion("indate is not null");
  228. return (Criteria) this;
  229. }
  230. public Criteria andIndateEqualTo(Date value) {
  231. addCriterion("indate =", value, "indate");
  232. return (Criteria) this;
  233. }
  234. public Criteria andIndateNotEqualTo(Date value) {
  235. addCriterion("indate <>", value, "indate");
  236. return (Criteria) this;
  237. }
  238. public Criteria andIndateGreaterThan(Date value) {
  239. addCriterion("indate >", value, "indate");
  240. return (Criteria) this;
  241. }
  242. public Criteria andIndateGreaterThanOrEqualTo(Date value) {
  243. addCriterion("indate >=", value, "indate");
  244. return (Criteria) this;
  245. }
  246. public Criteria andIndateLessThan(Date value) {
  247. addCriterion("indate <", value, "indate");
  248. return (Criteria) this;
  249. }
  250. public Criteria andIndateLessThanOrEqualTo(Date value) {
  251. addCriterion("indate <=", value, "indate");
  252. return (Criteria) this;
  253. }
  254. public Criteria andIndateIn(List<Date> values) {
  255. addCriterion("indate in", values, "indate");
  256. return (Criteria) this;
  257. }
  258. public Criteria andIndateNotIn(List<Date> values) {
  259. addCriterion("indate not in", values, "indate");
  260. return (Criteria) this;
  261. }
  262. public Criteria andIndateBetween(Date value1, Date value2) {
  263. addCriterion("indate between", value1, value2, "indate");
  264. return (Criteria) this;
  265. }
  266. public Criteria andIndateNotBetween(Date value1, Date value2) {
  267. addCriterion("indate not between", value1, value2, "indate");
  268. return (Criteria) this;
  269. }
  270. }
  271. /**
  272. * This class was generated by MyBatis Generator.
  273. * This class corresponds to the database table time_calibration_record
  274. *
  275. * @mbg.generated do_not_delete_during_merge Thu Oct 10 15:45:15 CST 2019
  276. */
  277. public static class Criteria extends GeneratedCriteria {
  278. protected Criteria() {
  279. super();
  280. }
  281. }
  282. /**
  283. * This class was generated by MyBatis Generator.
  284. * This class corresponds to the database table time_calibration_record
  285. *
  286. * @mbg.generated Thu Oct 10 15:45:15 CST 2019
  287. */
  288. public static class Criterion {
  289. private String condition;
  290. private Object value;
  291. private Object secondValue;
  292. private boolean noValue;
  293. private boolean singleValue;
  294. private boolean betweenValue;
  295. private boolean listValue;
  296. private String typeHandler;
  297. public String getCondition() {
  298. return condition;
  299. }
  300. public Object getValue() {
  301. return value;
  302. }
  303. public Object getSecondValue() {
  304. return secondValue;
  305. }
  306. public boolean isNoValue() {
  307. return noValue;
  308. }
  309. public boolean isSingleValue() {
  310. return singleValue;
  311. }
  312. public boolean isBetweenValue() {
  313. return betweenValue;
  314. }
  315. public boolean isListValue() {
  316. return listValue;
  317. }
  318. public String getTypeHandler() {
  319. return typeHandler;
  320. }
  321. protected Criterion(String condition) {
  322. super();
  323. this.condition = condition;
  324. this.typeHandler = null;
  325. this.noValue = true;
  326. }
  327. protected Criterion(String condition, Object value, String typeHandler) {
  328. super();
  329. this.condition = condition;
  330. this.value = value;
  331. this.typeHandler = typeHandler;
  332. if (value instanceof List<?>) {
  333. this.listValue = true;
  334. } else {
  335. this.singleValue = true;
  336. }
  337. }
  338. protected Criterion(String condition, Object value) {
  339. this(condition, value, null);
  340. }
  341. protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
  342. super();
  343. this.condition = condition;
  344. this.value = value;
  345. this.secondValue = secondValue;
  346. this.typeHandler = typeHandler;
  347. this.betweenValue = true;
  348. }
  349. protected Criterion(String condition, Object value, Object secondValue) {
  350. this(condition, value, secondValue, null);
  351. }
  352. }
  353. }