EquipmentSendCommandExample.java 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733
  1. package com.js.kbt.model;
  2. import java.util.ArrayList;
  3. import java.util.Date;
  4. import java.util.List;
  5. public class EquipmentSendCommandExample {
  6. /**
  7. * This field was generated by MyBatis Generator.
  8. * This field corresponds to the database table equipment_send_command
  9. *
  10. * @mbg.generated Thu Mar 19 13:16:30 CST 2020
  11. */
  12. protected String orderByClause;
  13. /**
  14. * This field was generated by MyBatis Generator.
  15. * This field corresponds to the database table equipment_send_command
  16. *
  17. * @mbg.generated Thu Mar 19 13:16:30 CST 2020
  18. */
  19. protected boolean distinct;
  20. /**
  21. * This field was generated by MyBatis Generator.
  22. * This field corresponds to the database table equipment_send_command
  23. *
  24. * @mbg.generated Thu Mar 19 13:16:30 CST 2020
  25. */
  26. protected List<Criteria> oredCriteria;
  27. /**
  28. * This method was generated by MyBatis Generator.
  29. * This method corresponds to the database table equipment_send_command
  30. *
  31. * @mbg.generated Thu Mar 19 13:16:30 CST 2020
  32. */
  33. public EquipmentSendCommandExample() {
  34. oredCriteria = new ArrayList<Criteria>();
  35. }
  36. /**
  37. * This method was generated by MyBatis Generator.
  38. * This method corresponds to the database table equipment_send_command
  39. *
  40. * @mbg.generated Thu Mar 19 13:16:30 CST 2020
  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 equipment_send_command
  48. *
  49. * @mbg.generated Thu Mar 19 13:16:30 CST 2020
  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 equipment_send_command
  57. *
  58. * @mbg.generated Thu Mar 19 13:16:30 CST 2020
  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 equipment_send_command
  66. *
  67. * @mbg.generated Thu Mar 19 13:16:30 CST 2020
  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 equipment_send_command
  75. *
  76. * @mbg.generated Thu Mar 19 13:16:30 CST 2020
  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 equipment_send_command
  84. *
  85. * @mbg.generated Thu Mar 19 13:16:30 CST 2020
  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 equipment_send_command
  93. *
  94. * @mbg.generated Thu Mar 19 13:16:30 CST 2020
  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 equipment_send_command
  104. *
  105. * @mbg.generated Thu Mar 19 13:16:30 CST 2020
  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 equipment_send_command
  117. *
  118. * @mbg.generated Thu Mar 19 13:16:30 CST 2020
  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 equipment_send_command
  127. *
  128. * @mbg.generated Thu Mar 19 13:16:30 CST 2020
  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 equipment_send_command
  138. *
  139. * @mbg.generated Thu Mar 19 13:16:30 CST 2020
  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 andEquipmentNoIsNull() {
  223. addCriterion("equipment_no is null");
  224. return (Criteria) this;
  225. }
  226. public Criteria andEquipmentNoIsNotNull() {
  227. addCriterion("equipment_no is not null");
  228. return (Criteria) this;
  229. }
  230. public Criteria andEquipmentNoEqualTo(String value) {
  231. addCriterion("equipment_no =", value, "equipmentNo");
  232. return (Criteria) this;
  233. }
  234. public Criteria andEquipmentNoNotEqualTo(String value) {
  235. addCriterion("equipment_no <>", value, "equipmentNo");
  236. return (Criteria) this;
  237. }
  238. public Criteria andEquipmentNoGreaterThan(String value) {
  239. addCriterion("equipment_no >", value, "equipmentNo");
  240. return (Criteria) this;
  241. }
  242. public Criteria andEquipmentNoGreaterThanOrEqualTo(String value) {
  243. addCriterion("equipment_no >=", value, "equipmentNo");
  244. return (Criteria) this;
  245. }
  246. public Criteria andEquipmentNoLessThan(String value) {
  247. addCriterion("equipment_no <", value, "equipmentNo");
  248. return (Criteria) this;
  249. }
  250. public Criteria andEquipmentNoLessThanOrEqualTo(String value) {
  251. addCriterion("equipment_no <=", value, "equipmentNo");
  252. return (Criteria) this;
  253. }
  254. public Criteria andEquipmentNoLike(String value) {
  255. addCriterion("equipment_no like", value, "equipmentNo");
  256. return (Criteria) this;
  257. }
  258. public Criteria andEquipmentNoNotLike(String value) {
  259. addCriterion("equipment_no not like", value, "equipmentNo");
  260. return (Criteria) this;
  261. }
  262. public Criteria andEquipmentNoIn(List<String> values) {
  263. addCriterion("equipment_no in", values, "equipmentNo");
  264. return (Criteria) this;
  265. }
  266. public Criteria andEquipmentNoNotIn(List<String> values) {
  267. addCriterion("equipment_no not in", values, "equipmentNo");
  268. return (Criteria) this;
  269. }
  270. public Criteria andEquipmentNoBetween(String value1, String value2) {
  271. addCriterion("equipment_no between", value1, value2, "equipmentNo");
  272. return (Criteria) this;
  273. }
  274. public Criteria andEquipmentNoNotBetween(String value1, String value2) {
  275. addCriterion("equipment_no not between", value1, value2, "equipmentNo");
  276. return (Criteria) this;
  277. }
  278. public Criteria andUidIsNull() {
  279. addCriterion("uid is null");
  280. return (Criteria) this;
  281. }
  282. public Criteria andUidIsNotNull() {
  283. addCriterion("uid is not null");
  284. return (Criteria) this;
  285. }
  286. public Criteria andUidEqualTo(Integer value) {
  287. addCriterion("uid =", value, "uid");
  288. return (Criteria) this;
  289. }
  290. public Criteria andUidNotEqualTo(Integer value) {
  291. addCriterion("uid <>", value, "uid");
  292. return (Criteria) this;
  293. }
  294. public Criteria andUidGreaterThan(Integer value) {
  295. addCriterion("uid >", value, "uid");
  296. return (Criteria) this;
  297. }
  298. public Criteria andUidGreaterThanOrEqualTo(Integer value) {
  299. addCriterion("uid >=", value, "uid");
  300. return (Criteria) this;
  301. }
  302. public Criteria andUidLessThan(Integer value) {
  303. addCriterion("uid <", value, "uid");
  304. return (Criteria) this;
  305. }
  306. public Criteria andUidLessThanOrEqualTo(Integer value) {
  307. addCriterion("uid <=", value, "uid");
  308. return (Criteria) this;
  309. }
  310. public Criteria andUidIn(List<Integer> values) {
  311. addCriterion("uid in", values, "uid");
  312. return (Criteria) this;
  313. }
  314. public Criteria andUidNotIn(List<Integer> values) {
  315. addCriterion("uid not in", values, "uid");
  316. return (Criteria) this;
  317. }
  318. public Criteria andUidBetween(Integer value1, Integer value2) {
  319. addCriterion("uid between", value1, value2, "uid");
  320. return (Criteria) this;
  321. }
  322. public Criteria andUidNotBetween(Integer value1, Integer value2) {
  323. addCriterion("uid not between", value1, value2, "uid");
  324. return (Criteria) this;
  325. }
  326. public Criteria andIndateIsNull() {
  327. addCriterion("indate is null");
  328. return (Criteria) this;
  329. }
  330. public Criteria andIndateIsNotNull() {
  331. addCriterion("indate is not null");
  332. return (Criteria) this;
  333. }
  334. public Criteria andIndateEqualTo(Date value) {
  335. addCriterion("indate =", value, "indate");
  336. return (Criteria) this;
  337. }
  338. public Criteria andIndateNotEqualTo(Date value) {
  339. addCriterion("indate <>", value, "indate");
  340. return (Criteria) this;
  341. }
  342. public Criteria andIndateGreaterThan(Date value) {
  343. addCriterion("indate >", value, "indate");
  344. return (Criteria) this;
  345. }
  346. public Criteria andIndateGreaterThanOrEqualTo(Date value) {
  347. addCriterion("indate >=", value, "indate");
  348. return (Criteria) this;
  349. }
  350. public Criteria andIndateLessThan(Date value) {
  351. addCriterion("indate <", value, "indate");
  352. return (Criteria) this;
  353. }
  354. public Criteria andIndateLessThanOrEqualTo(Date value) {
  355. addCriterion("indate <=", value, "indate");
  356. return (Criteria) this;
  357. }
  358. public Criteria andIndateIn(List<Date> values) {
  359. addCriterion("indate in", values, "indate");
  360. return (Criteria) this;
  361. }
  362. public Criteria andIndateNotIn(List<Date> values) {
  363. addCriterion("indate not in", values, "indate");
  364. return (Criteria) this;
  365. }
  366. public Criteria andIndateBetween(Date value1, Date value2) {
  367. addCriterion("indate between", value1, value2, "indate");
  368. return (Criteria) this;
  369. }
  370. public Criteria andIndateNotBetween(Date value1, Date value2) {
  371. addCriterion("indate not between", value1, value2, "indate");
  372. return (Criteria) this;
  373. }
  374. public Criteria andSendTimeIsNull() {
  375. addCriterion("send_time is null");
  376. return (Criteria) this;
  377. }
  378. public Criteria andSendTimeIsNotNull() {
  379. addCriterion("send_time is not null");
  380. return (Criteria) this;
  381. }
  382. public Criteria andSendTimeEqualTo(Date value) {
  383. addCriterion("send_time =", value, "sendTime");
  384. return (Criteria) this;
  385. }
  386. public Criteria andSendTimeNotEqualTo(Date value) {
  387. addCriterion("send_time <>", value, "sendTime");
  388. return (Criteria) this;
  389. }
  390. public Criteria andSendTimeGreaterThan(Date value) {
  391. addCriterion("send_time >", value, "sendTime");
  392. return (Criteria) this;
  393. }
  394. public Criteria andSendTimeGreaterThanOrEqualTo(Date value) {
  395. addCriterion("send_time >=", value, "sendTime");
  396. return (Criteria) this;
  397. }
  398. public Criteria andSendTimeLessThan(Date value) {
  399. addCriterion("send_time <", value, "sendTime");
  400. return (Criteria) this;
  401. }
  402. public Criteria andSendTimeLessThanOrEqualTo(Date value) {
  403. addCriterion("send_time <=", value, "sendTime");
  404. return (Criteria) this;
  405. }
  406. public Criteria andSendTimeIn(List<Date> values) {
  407. addCriterion("send_time in", values, "sendTime");
  408. return (Criteria) this;
  409. }
  410. public Criteria andSendTimeNotIn(List<Date> values) {
  411. addCriterion("send_time not in", values, "sendTime");
  412. return (Criteria) this;
  413. }
  414. public Criteria andSendTimeBetween(Date value1, Date value2) {
  415. addCriterion("send_time between", value1, value2, "sendTime");
  416. return (Criteria) this;
  417. }
  418. public Criteria andSendTimeNotBetween(Date value1, Date value2) {
  419. addCriterion("send_time not between", value1, value2, "sendTime");
  420. return (Criteria) this;
  421. }
  422. public Criteria andStateIsNull() {
  423. addCriterion("state is null");
  424. return (Criteria) this;
  425. }
  426. public Criteria andStateIsNotNull() {
  427. addCriterion("state is not null");
  428. return (Criteria) this;
  429. }
  430. public Criteria andStateEqualTo(Integer value) {
  431. addCriterion("state =", value, "state");
  432. return (Criteria) this;
  433. }
  434. public Criteria andStateNotEqualTo(Integer value) {
  435. addCriterion("state <>", value, "state");
  436. return (Criteria) this;
  437. }
  438. public Criteria andStateGreaterThan(Integer value) {
  439. addCriterion("state >", value, "state");
  440. return (Criteria) this;
  441. }
  442. public Criteria andStateGreaterThanOrEqualTo(Integer value) {
  443. addCriterion("state >=", value, "state");
  444. return (Criteria) this;
  445. }
  446. public Criteria andStateLessThan(Integer value) {
  447. addCriterion("state <", value, "state");
  448. return (Criteria) this;
  449. }
  450. public Criteria andStateLessThanOrEqualTo(Integer value) {
  451. addCriterion("state <=", value, "state");
  452. return (Criteria) this;
  453. }
  454. public Criteria andStateIn(List<Integer> values) {
  455. addCriterion("state in", values, "state");
  456. return (Criteria) this;
  457. }
  458. public Criteria andStateNotIn(List<Integer> values) {
  459. addCriterion("state not in", values, "state");
  460. return (Criteria) this;
  461. }
  462. public Criteria andStateBetween(Integer value1, Integer value2) {
  463. addCriterion("state between", value1, value2, "state");
  464. return (Criteria) this;
  465. }
  466. public Criteria andStateNotBetween(Integer value1, Integer value2) {
  467. addCriterion("state not between", value1, value2, "state");
  468. return (Criteria) this;
  469. }
  470. public Criteria andIsSendIsNull() {
  471. addCriterion("is_send is null");
  472. return (Criteria) this;
  473. }
  474. public Criteria andIsSendIsNotNull() {
  475. addCriterion("is_send is not null");
  476. return (Criteria) this;
  477. }
  478. public Criteria andIsSendEqualTo(Integer value) {
  479. addCriterion("is_send =", value, "isSend");
  480. return (Criteria) this;
  481. }
  482. public Criteria andIsSendNotEqualTo(Integer value) {
  483. addCriterion("is_send <>", value, "isSend");
  484. return (Criteria) this;
  485. }
  486. public Criteria andIsSendGreaterThan(Integer value) {
  487. addCriterion("is_send >", value, "isSend");
  488. return (Criteria) this;
  489. }
  490. public Criteria andIsSendGreaterThanOrEqualTo(Integer value) {
  491. addCriterion("is_send >=", value, "isSend");
  492. return (Criteria) this;
  493. }
  494. public Criteria andIsSendLessThan(Integer value) {
  495. addCriterion("is_send <", value, "isSend");
  496. return (Criteria) this;
  497. }
  498. public Criteria andIsSendLessThanOrEqualTo(Integer value) {
  499. addCriterion("is_send <=", value, "isSend");
  500. return (Criteria) this;
  501. }
  502. public Criteria andIsSendIn(List<Integer> values) {
  503. addCriterion("is_send in", values, "isSend");
  504. return (Criteria) this;
  505. }
  506. public Criteria andIsSendNotIn(List<Integer> values) {
  507. addCriterion("is_send not in", values, "isSend");
  508. return (Criteria) this;
  509. }
  510. public Criteria andIsSendBetween(Integer value1, Integer value2) {
  511. addCriterion("is_send between", value1, value2, "isSend");
  512. return (Criteria) this;
  513. }
  514. public Criteria andIsSendNotBetween(Integer value1, Integer value2) {
  515. addCriterion("is_send not between", value1, value2, "isSend");
  516. return (Criteria) this;
  517. }
  518. }
  519. /**
  520. * This class was generated by MyBatis Generator.
  521. * This class corresponds to the database table equipment_send_command
  522. *
  523. * @mbg.generated do_not_delete_during_merge Thu Mar 19 13:16:30 CST 2020
  524. */
  525. public static class Criteria extends GeneratedCriteria {
  526. protected Criteria() {
  527. super();
  528. }
  529. }
  530. /**
  531. * This class was generated by MyBatis Generator.
  532. * This class corresponds to the database table equipment_send_command
  533. *
  534. * @mbg.generated Thu Mar 19 13:16:30 CST 2020
  535. */
  536. public static class Criterion {
  537. private String condition;
  538. private Object value;
  539. private Object secondValue;
  540. private boolean noValue;
  541. private boolean singleValue;
  542. private boolean betweenValue;
  543. private boolean listValue;
  544. private String typeHandler;
  545. public String getCondition() {
  546. return condition;
  547. }
  548. public Object getValue() {
  549. return value;
  550. }
  551. public Object getSecondValue() {
  552. return secondValue;
  553. }
  554. public boolean isNoValue() {
  555. return noValue;
  556. }
  557. public boolean isSingleValue() {
  558. return singleValue;
  559. }
  560. public boolean isBetweenValue() {
  561. return betweenValue;
  562. }
  563. public boolean isListValue() {
  564. return listValue;
  565. }
  566. public String getTypeHandler() {
  567. return typeHandler;
  568. }
  569. protected Criterion(String condition) {
  570. super();
  571. this.condition = condition;
  572. this.typeHandler = null;
  573. this.noValue = true;
  574. }
  575. protected Criterion(String condition, Object value, String typeHandler) {
  576. super();
  577. this.condition = condition;
  578. this.value = value;
  579. this.typeHandler = typeHandler;
  580. if (value instanceof List<?>) {
  581. this.listValue = true;
  582. } else {
  583. this.singleValue = true;
  584. }
  585. }
  586. protected Criterion(String condition, Object value) {
  587. this(condition, value, null);
  588. }
  589. protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
  590. super();
  591. this.condition = condition;
  592. this.value = value;
  593. this.secondValue = secondValue;
  594. this.typeHandler = typeHandler;
  595. this.betweenValue = true;
  596. }
  597. protected Criterion(String condition, Object value, Object secondValue) {
  598. this(condition, value, secondValue, null);
  599. }
  600. }
  601. }