SjWsnhsExample.java 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635
  1. package com.huimv.ws.dataobject;
  2. import java.math.BigDecimal;
  3. import java.util.ArrayList;
  4. import java.util.Date;
  5. import java.util.HashMap;
  6. import java.util.List;
  7. import java.util.Map;
  8. public class SjWsnhsExample {
  9. /**
  10. * This field was generated by Apache iBATIS ibator.
  11. * This field corresponds to the database table sj_ws_nhs
  12. *
  13. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  14. */
  15. protected String orderByClause;
  16. /**
  17. * This field was generated by Apache iBATIS ibator.
  18. * This field corresponds to the database table sj_ws_nhs
  19. *
  20. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  21. */
  22. protected List<Criteria> oredCriteria;
  23. /**
  24. * This field was generated by Apache iBATIS ibator.
  25. * This field corresponds to the database table sj_ws_nhs
  26. *
  27. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  28. */
  29. protected int start = -1;
  30. /**
  31. * This field was generated by Apache iBATIS ibator.
  32. * This field corresponds to the database table sj_ws_nhs
  33. *
  34. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  35. */
  36. protected int limit = -1;
  37. /**
  38. * This method was generated by Apache iBATIS ibator.
  39. * This method corresponds to the database table sj_ws_nhs
  40. *
  41. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  42. */
  43. public SjWsnhsExample() {
  44. oredCriteria = new ArrayList<Criteria>();
  45. }
  46. /**
  47. * This method was generated by Apache iBATIS ibator.
  48. * This method corresponds to the database table sj_ws_nhs
  49. *
  50. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  51. */
  52. protected SjWsnhsExample(SjWsnhsExample example) {
  53. this.orderByClause = example.orderByClause;
  54. this.oredCriteria = example.oredCriteria;
  55. }
  56. /**
  57. * This method was generated by Apache iBATIS ibator.
  58. * This method corresponds to the database table sj_ws_nhs
  59. *
  60. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  61. */
  62. public void setOrderByClause(String orderByClause) {
  63. this.orderByClause = orderByClause;
  64. }
  65. /**
  66. * This method was generated by Apache iBATIS ibator.
  67. * This method corresponds to the database table sj_ws_nhs
  68. *
  69. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  70. */
  71. public String getOrderByClause() {
  72. return orderByClause;
  73. }
  74. /**
  75. * This method was generated by Apache iBATIS ibator.
  76. * This method corresponds to the database table sj_ws_nhs
  77. *
  78. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  79. */
  80. public List<Criteria> getOredCriteria() {
  81. return oredCriteria;
  82. }
  83. /**
  84. * This method was generated by Apache iBATIS ibator.
  85. * This method corresponds to the database table sj_ws_nhs
  86. *
  87. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  88. */
  89. public void or(Criteria criteria) {
  90. oredCriteria.add(criteria);
  91. }
  92. /**
  93. * This method was generated by Apache iBATIS ibator.
  94. * This method corresponds to the database table sj_ws_nhs
  95. *
  96. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  97. */
  98. public Criteria createCriteria() {
  99. Criteria criteria = createCriteriaInternal();
  100. if (oredCriteria.size() == 0) {
  101. oredCriteria.add(criteria);
  102. }
  103. return criteria;
  104. }
  105. /**
  106. * This method was generated by Apache iBATIS ibator.
  107. * This method corresponds to the database table sj_ws_nhs
  108. *
  109. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  110. */
  111. protected Criteria createCriteriaInternal() {
  112. Criteria criteria = new Criteria();
  113. return criteria;
  114. }
  115. /**
  116. * This method was generated by Apache iBATIS ibator.
  117. * This method corresponds to the database table sj_ws_nhs
  118. *
  119. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  120. */
  121. public void clear() {
  122. oredCriteria.clear();
  123. }
  124. /**
  125. * This method was generated by Apache iBATIS ibator.
  126. * This method corresponds to the database table sj_ws_nhs
  127. *
  128. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  129. */
  130. public void setStart(int start) {
  131. this.start=start;
  132. }
  133. /**
  134. * This method was generated by Apache iBATIS ibator.
  135. * This method corresponds to the database table sj_ws_nhs
  136. *
  137. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  138. */
  139. public int getStart() {
  140. return start;
  141. }
  142. /**
  143. * This method was generated by Apache iBATIS ibator.
  144. * This method corresponds to the database table sj_ws_nhs
  145. *
  146. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  147. */
  148. public void setLimit(int limit) {
  149. this.limit=limit;
  150. }
  151. /**
  152. * This method was generated by Apache iBATIS ibator.
  153. * This method corresponds to the database table sj_ws_nhs
  154. *
  155. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  156. */
  157. public int getLimit() {
  158. return limit;
  159. }
  160. /**
  161. * This class was generated by Apache iBATIS ibator.
  162. * This class corresponds to the database table sj_ws_nhs
  163. *
  164. * @ibatorgenerated Fri Apr 27 09:29:05 CST 2018
  165. */
  166. public static class Criteria {
  167. protected List<String> criteriaWithoutValue;
  168. protected List<Map<String, Object>> criteriaWithSingleValue;
  169. protected List<Map<String, Object>> criteriaWithListValue;
  170. protected List<Map<String, Object>> criteriaWithBetweenValue;
  171. protected Criteria() {
  172. super();
  173. criteriaWithoutValue = new ArrayList<String>();
  174. criteriaWithSingleValue = new ArrayList<Map<String, Object>>();
  175. criteriaWithListValue = new ArrayList<Map<String, Object>>();
  176. criteriaWithBetweenValue = new ArrayList<Map<String, Object>>();
  177. }
  178. public boolean isValid() {
  179. return criteriaWithoutValue.size() > 0
  180. || criteriaWithSingleValue.size() > 0
  181. || criteriaWithListValue.size() > 0
  182. || criteriaWithBetweenValue.size() > 0;
  183. }
  184. public List<String> getCriteriaWithoutValue() {
  185. return criteriaWithoutValue;
  186. }
  187. public List<Map<String, Object>> getCriteriaWithSingleValue() {
  188. return criteriaWithSingleValue;
  189. }
  190. public List<Map<String, Object>> getCriteriaWithListValue() {
  191. return criteriaWithListValue;
  192. }
  193. public List<Map<String, Object>> getCriteriaWithBetweenValue() {
  194. return criteriaWithBetweenValue;
  195. }
  196. protected void addCriterion(String condition) {
  197. if (condition == null) {
  198. throw new RuntimeException("Value for condition cannot be null");
  199. }
  200. criteriaWithoutValue.add(condition);
  201. }
  202. protected void addCriterion(String condition, Object value, String property) {
  203. if (value == null) {
  204. throw new RuntimeException("Value for " + property + " cannot be null");
  205. }
  206. Map<String, Object> map = new HashMap<String, Object>();
  207. map.put("condition", condition);
  208. map.put("value", value);
  209. criteriaWithSingleValue.add(map);
  210. }
  211. protected void addCriterion(String condition, List<? extends Object> values, String property) {
  212. if (values == null || values.size() == 0) {
  213. throw new RuntimeException("Value list for " + property + " cannot be null or empty");
  214. }
  215. Map<String, Object> map = new HashMap<String, Object>();
  216. map.put("condition", condition);
  217. map.put("values", values);
  218. criteriaWithListValue.add(map);
  219. }
  220. protected void addCriterion(String condition, Object value1, Object value2, String property) {
  221. if (value1 == null || value2 == null) {
  222. throw new RuntimeException("Between values for " + property + " cannot be null");
  223. }
  224. List<Object> list = new ArrayList<Object>();
  225. list.add(value1);
  226. list.add(value2);
  227. Map<String, Object> map = new HashMap<String, Object>();
  228. map.put("condition", condition);
  229. map.put("values", list);
  230. criteriaWithBetweenValue.add(map);
  231. }
  232. public Criteria andIdIsNull() {
  233. addCriterion("ID is null");
  234. return this;
  235. }
  236. public Criteria andIdIsNotNull() {
  237. addCriterion("ID is not null");
  238. return this;
  239. }
  240. public Criteria andIdEqualTo(Integer value) {
  241. addCriterion("ID =", value, "id");
  242. return this;
  243. }
  244. public Criteria andIdNotEqualTo(Integer value) {
  245. addCriterion("ID <>", value, "id");
  246. return this;
  247. }
  248. public Criteria andIdGreaterThan(Integer value) {
  249. addCriterion("ID >", value, "id");
  250. return this;
  251. }
  252. public Criteria andIdGreaterThanOrEqualTo(Integer value) {
  253. addCriterion("ID >=", value, "id");
  254. return this;
  255. }
  256. public Criteria andIdLessThan(Integer value) {
  257. addCriterion("ID <", value, "id");
  258. return this;
  259. }
  260. public Criteria andIdLessThanOrEqualTo(Integer value) {
  261. addCriterion("ID <=", value, "id");
  262. return this;
  263. }
  264. public Criteria andIdIn(List<Integer> values) {
  265. addCriterion("ID in", values, "id");
  266. return this;
  267. }
  268. public Criteria andIdNotIn(List<Integer> values) {
  269. addCriterion("ID not in", values, "id");
  270. return this;
  271. }
  272. public Criteria andIdBetween(Integer value1, Integer value2) {
  273. addCriterion("ID between", value1, value2, "id");
  274. return this;
  275. }
  276. public Criteria andIdNotBetween(Integer value1, Integer value2) {
  277. addCriterion("ID not between", value1, value2, "id");
  278. return this;
  279. }
  280. public Criteria andLqidIsNull() {
  281. addCriterion("LQID is null");
  282. return this;
  283. }
  284. public Criteria andLqidIsNotNull() {
  285. addCriterion("LQID is not null");
  286. return this;
  287. }
  288. public Criteria andLqidEqualTo(Integer value) {
  289. addCriterion("LQID =", value, "lqid");
  290. return this;
  291. }
  292. public Criteria andLqidNotEqualTo(Integer value) {
  293. addCriterion("LQID <>", value, "lqid");
  294. return this;
  295. }
  296. public Criteria andLqidGreaterThan(Integer value) {
  297. addCriterion("LQID >", value, "lqid");
  298. return this;
  299. }
  300. public Criteria andLqidGreaterThanOrEqualTo(Integer value) {
  301. addCriterion("LQID >=", value, "lqid");
  302. return this;
  303. }
  304. public Criteria andLqidLessThan(Integer value) {
  305. addCriterion("LQID <", value, "lqid");
  306. return this;
  307. }
  308. public Criteria andLqidLessThanOrEqualTo(Integer value) {
  309. addCriterion("LQID <=", value, "lqid");
  310. return this;
  311. }
  312. public Criteria andLqidIn(List<Integer> values) {
  313. addCriterion("LQID in", values, "lqid");
  314. return this;
  315. }
  316. public Criteria andLqidNotIn(List<Integer> values) {
  317. addCriterion("LQID not in", values, "lqid");
  318. return this;
  319. }
  320. public Criteria andLqidBetween(Integer value1, Integer value2) {
  321. addCriterion("LQID between", value1, value2, "lqid");
  322. return this;
  323. }
  324. public Criteria andLqidNotBetween(Integer value1, Integer value2) {
  325. addCriterion("LQID not between", value1, value2, "lqid");
  326. return this;
  327. }
  328. public Criteria andCgqidIsNull() {
  329. addCriterion("CGQID is null");
  330. return this;
  331. }
  332. public Criteria andCgqidIsNotNull() {
  333. addCriterion("CGQID is not null");
  334. return this;
  335. }
  336. public Criteria andCgqidEqualTo(String value) {
  337. addCriterion("CGQID =", value, "cgqid");
  338. return this;
  339. }
  340. public Criteria andCgqidNotEqualTo(String value) {
  341. addCriterion("CGQID <>", value, "cgqid");
  342. return this;
  343. }
  344. public Criteria andCgqidGreaterThan(String value) {
  345. addCriterion("CGQID >", value, "cgqid");
  346. return this;
  347. }
  348. public Criteria andCgqidGreaterThanOrEqualTo(String value) {
  349. addCriterion("CGQID >=", value, "cgqid");
  350. return this;
  351. }
  352. public Criteria andCgqidLessThan(String value) {
  353. addCriterion("CGQID <", value, "cgqid");
  354. return this;
  355. }
  356. public Criteria andCgqidLessThanOrEqualTo(String value) {
  357. addCriterion("CGQID <=", value, "cgqid");
  358. return this;
  359. }
  360. public Criteria andCgqidLike(String value) {
  361. addCriterion("CGQID like", value, "cgqid");
  362. return this;
  363. }
  364. public Criteria andCgqidNotLike(String value) {
  365. addCriterion("CGQID not like", value, "cgqid");
  366. return this;
  367. }
  368. public Criteria andCgqidIn(List<String> values) {
  369. addCriterion("CGQID in", values, "cgqid");
  370. return this;
  371. }
  372. public Criteria andCgqidNotIn(List<String> values) {
  373. addCriterion("CGQID not in", values, "cgqid");
  374. return this;
  375. }
  376. public Criteria andCgqidBetween(String value1, String value2) {
  377. addCriterion("CGQID between", value1, value2, "cgqid");
  378. return this;
  379. }
  380. public Criteria andCgqidNotBetween(String value1, String value2) {
  381. addCriterion("CGQID not between", value1, value2, "cgqid");
  382. return this;
  383. }
  384. public Criteria andDqnhsIsNull() {
  385. addCriterion("DQNHS is null");
  386. return this;
  387. }
  388. public Criteria andDqnhsIsNotNull() {
  389. addCriterion("DQNHS is not null");
  390. return this;
  391. }
  392. public Criteria andDqnhsEqualTo(BigDecimal value) {
  393. addCriterion("DQNHS =", value, "dqnhs");
  394. return this;
  395. }
  396. public Criteria andDqnhsNotEqualTo(BigDecimal value) {
  397. addCriterion("DQNHS <>", value, "dqnhs");
  398. return this;
  399. }
  400. public Criteria andDqnhsGreaterThan(BigDecimal value) {
  401. addCriterion("DQNHS >", value, "dqnhs");
  402. return this;
  403. }
  404. public Criteria andDqnhsGreaterThanOrEqualTo(BigDecimal value) {
  405. addCriterion("DQNHS >=", value, "dqnhs");
  406. return this;
  407. }
  408. public Criteria andDqnhsLessThan(BigDecimal value) {
  409. addCriterion("DQNHS <", value, "dqnhs");
  410. return this;
  411. }
  412. public Criteria andDqnhsLessThanOrEqualTo(BigDecimal value) {
  413. addCriterion("DQNHS <=", value, "dqnhs");
  414. return this;
  415. }
  416. public Criteria andDqnhsIn(List<BigDecimal> values) {
  417. addCriterion("DQNHS in", values, "dqnhs");
  418. return this;
  419. }
  420. public Criteria andDqnhsNotIn(List<BigDecimal> values) {
  421. addCriterion("DQNHS not in", values, "dqnhs");
  422. return this;
  423. }
  424. public Criteria andDqnhsBetween(BigDecimal value1, BigDecimal value2) {
  425. addCriterion("DQNHS between", value1, value2, "dqnhs");
  426. return this;
  427. }
  428. public Criteria andDqnhsNotBetween(BigDecimal value1, BigDecimal value2) {
  429. addCriterion("DQNHS not between", value1, value2, "dqnhs");
  430. return this;
  431. }
  432. public Criteria andCjsjIsNull() {
  433. addCriterion("CJSJ is null");
  434. return this;
  435. }
  436. public Criteria andCjsjIsNotNull() {
  437. addCriterion("CJSJ is not null");
  438. return this;
  439. }
  440. public Criteria andCjsjEqualTo(Date value) {
  441. addCriterion("CJSJ =", value, "cjsj");
  442. return this;
  443. }
  444. public Criteria andCjsjNotEqualTo(Date value) {
  445. addCriterion("CJSJ <>", value, "cjsj");
  446. return this;
  447. }
  448. public Criteria andCjsjGreaterThan(Date value) {
  449. addCriterion("CJSJ >", value, "cjsj");
  450. return this;
  451. }
  452. public Criteria andCjsjGreaterThanOrEqualTo(Date value) {
  453. addCriterion("CJSJ >=", value, "cjsj");
  454. return this;
  455. }
  456. public Criteria andCjsjLessThan(Date value) {
  457. addCriterion("CJSJ <", value, "cjsj");
  458. return this;
  459. }
  460. public Criteria andCjsjLessThanOrEqualTo(Date value) {
  461. addCriterion("CJSJ <=", value, "cjsj");
  462. return this;
  463. }
  464. public Criteria andCjsjIn(List<Date> values) {
  465. addCriterion("CJSJ in", values, "cjsj");
  466. return this;
  467. }
  468. public Criteria andCjsjNotIn(List<Date> values) {
  469. addCriterion("CJSJ not in", values, "cjsj");
  470. return this;
  471. }
  472. public Criteria andCjsjBetween(Date value1, Date value2) {
  473. addCriterion("CJSJ between", value1, value2, "cjsj");
  474. return this;
  475. }
  476. public Criteria andCjsjNotBetween(Date value1, Date value2) {
  477. addCriterion("CJSJ not between", value1, value2, "cjsj");
  478. return this;
  479. }
  480. public Criteria andScsjIsNull() {
  481. addCriterion("SCSJ is null");
  482. return this;
  483. }
  484. public Criteria andScsjIsNotNull() {
  485. addCriterion("SCSJ is not null");
  486. return this;
  487. }
  488. public Criteria andScsjEqualTo(Date value) {
  489. addCriterion("SCSJ =", value, "scsj");
  490. return this;
  491. }
  492. public Criteria andScsjNotEqualTo(Date value) {
  493. addCriterion("SCSJ <>", value, "scsj");
  494. return this;
  495. }
  496. public Criteria andScsjGreaterThan(Date value) {
  497. addCriterion("SCSJ >", value, "scsj");
  498. return this;
  499. }
  500. public Criteria andScsjGreaterThanOrEqualTo(Date value) {
  501. addCriterion("SCSJ >=", value, "scsj");
  502. return this;
  503. }
  504. public Criteria andScsjLessThan(Date value) {
  505. addCriterion("SCSJ <", value, "scsj");
  506. return this;
  507. }
  508. public Criteria andScsjLessThanOrEqualTo(Date value) {
  509. addCriterion("SCSJ <=", value, "scsj");
  510. return this;
  511. }
  512. public Criteria andScsjIn(List<Date> values) {
  513. addCriterion("SCSJ in", values, "scsj");
  514. return this;
  515. }
  516. public Criteria andScsjNotIn(List<Date> values) {
  517. addCriterion("SCSJ not in", values, "scsj");
  518. return this;
  519. }
  520. public Criteria andScsjBetween(Date value1, Date value2) {
  521. addCriterion("SCSJ between", value1, value2, "scsj");
  522. return this;
  523. }
  524. public Criteria andScsjNotBetween(Date value1, Date value2) {
  525. addCriterion("SCSJ not between", value1, value2, "scsj");
  526. return this;
  527. }
  528. }
  529. }