PubSysparExample.java 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749
  1. package com.minpay.db.table.model;
  2. import java.util.ArrayList;
  3. import java.util.List;
  4. public class PubSysparExample {
  5. /**
  6. * This field was generated by MyBatis Generator.
  7. * This field corresponds to the database table pub_syspar
  8. *
  9. * @mbggenerated
  10. */
  11. protected String orderByClause;
  12. /**
  13. * This field was generated by MyBatis Generator.
  14. * This field corresponds to the database table pub_syspar
  15. *
  16. * @mbggenerated
  17. */
  18. protected boolean distinct;
  19. /**
  20. * This field was generated by MyBatis Generator.
  21. * This field corresponds to the database table pub_syspar
  22. *
  23. * @mbggenerated
  24. */
  25. protected List<Criteria> oredCriteria;
  26. /**
  27. * This method was generated by MyBatis Generator.
  28. * This method corresponds to the database table pub_syspar
  29. *
  30. * @mbggenerated
  31. */
  32. public PubSysparExample() {
  33. oredCriteria = new ArrayList<Criteria>();
  34. }
  35. /**
  36. * This method was generated by MyBatis Generator.
  37. * This method corresponds to the database table pub_syspar
  38. *
  39. * @mbggenerated
  40. */
  41. public void setOrderByClause(String orderByClause) {
  42. this.orderByClause = orderByClause;
  43. }
  44. /**
  45. * This method was generated by MyBatis Generator.
  46. * This method corresponds to the database table pub_syspar
  47. *
  48. * @mbggenerated
  49. */
  50. public String getOrderByClause() {
  51. return orderByClause;
  52. }
  53. /**
  54. * This method was generated by MyBatis Generator.
  55. * This method corresponds to the database table pub_syspar
  56. *
  57. * @mbggenerated
  58. */
  59. public void setDistinct(boolean distinct) {
  60. this.distinct = distinct;
  61. }
  62. /**
  63. * This method was generated by MyBatis Generator.
  64. * This method corresponds to the database table pub_syspar
  65. *
  66. * @mbggenerated
  67. */
  68. public boolean isDistinct() {
  69. return distinct;
  70. }
  71. /**
  72. * This method was generated by MyBatis Generator.
  73. * This method corresponds to the database table pub_syspar
  74. *
  75. * @mbggenerated
  76. */
  77. public List<Criteria> getOredCriteria() {
  78. return oredCriteria;
  79. }
  80. /**
  81. * This method was generated by MyBatis Generator.
  82. * This method corresponds to the database table pub_syspar
  83. *
  84. * @mbggenerated
  85. */
  86. public void or(Criteria criteria) {
  87. oredCriteria.add(criteria);
  88. }
  89. /**
  90. * This method was generated by MyBatis Generator.
  91. * This method corresponds to the database table pub_syspar
  92. *
  93. * @mbggenerated
  94. */
  95. public Criteria or() {
  96. Criteria criteria = createCriteriaInternal();
  97. oredCriteria.add(criteria);
  98. return criteria;
  99. }
  100. /**
  101. * This method was generated by MyBatis Generator.
  102. * This method corresponds to the database table pub_syspar
  103. *
  104. * @mbggenerated
  105. */
  106. public Criteria createCriteria() {
  107. Criteria criteria = createCriteriaInternal();
  108. if (oredCriteria.size() == 0) {
  109. oredCriteria.add(criteria);
  110. }
  111. return criteria;
  112. }
  113. /**
  114. * This method was generated by MyBatis Generator.
  115. * This method corresponds to the database table pub_syspar
  116. *
  117. * @mbggenerated
  118. */
  119. protected Criteria createCriteriaInternal() {
  120. Criteria criteria = new Criteria();
  121. return criteria;
  122. }
  123. /**
  124. * This method was generated by MyBatis Generator.
  125. * This method corresponds to the database table pub_syspar
  126. *
  127. * @mbggenerated
  128. */
  129. public void clear() {
  130. oredCriteria.clear();
  131. orderByClause = null;
  132. distinct = false;
  133. }
  134. /**
  135. * This class was generated by MyBatis Generator.
  136. * This class corresponds to the database table pub_syspar
  137. *
  138. * @mbggenerated
  139. */
  140. protected abstract static class GeneratedCriteria {
  141. protected List<Criterion> criteria;
  142. protected GeneratedCriteria() {
  143. super();
  144. criteria = new ArrayList<Criterion>();
  145. }
  146. public boolean isValid() {
  147. return criteria.size() > 0;
  148. }
  149. public List<Criterion> getCriteria() {
  150. return criteria;
  151. }
  152. protected void addCriterion(String condition) {
  153. if (condition == null) {
  154. throw new RuntimeException("Value for condition cannot be null");
  155. }
  156. criteria.add(new Criterion(condition));
  157. }
  158. protected void addCriterion(String condition, Object value, String property) {
  159. if (value == null) {
  160. throw new RuntimeException("Value for " + property + " cannot be null");
  161. }
  162. criteria.add(new Criterion(condition, value));
  163. }
  164. protected void addCriterion(String condition, Object value1, Object value2, String property) {
  165. if (value1 == null || value2 == null) {
  166. throw new RuntimeException("Between values for " + property + " cannot be null");
  167. }
  168. criteria.add(new Criterion(condition, value1, value2));
  169. }
  170. public Criteria andCodeIsNull() {
  171. addCriterion("SPR_CODE is null");
  172. return (Criteria) this;
  173. }
  174. public Criteria andCodeIsNotNull() {
  175. addCriterion("SPR_CODE is not null");
  176. return (Criteria) this;
  177. }
  178. public Criteria andCodeEqualTo(String value) {
  179. if(value == null ){
  180. andCodeIsNull();
  181. } else {
  182. addCriterion("SPR_CODE =", value, "code");
  183. }
  184. return (Criteria) this;
  185. }
  186. public Criteria andCodeNotEqualTo(String value) {
  187. if(value == null ){
  188. andCodeIsNotNull();
  189. } else {
  190. addCriterion("SPR_CODE <>", value, "code");
  191. }
  192. return (Criteria) this;
  193. }
  194. public Criteria andCodeGreaterThan(String value) {
  195. addCriterion("SPR_CODE >", value, "code");
  196. return (Criteria) this;
  197. }
  198. public Criteria andCodeGreaterThanOrEqualTo(String value) {
  199. addCriterion("SPR_CODE >=", value, "code");
  200. return (Criteria) this;
  201. }
  202. public Criteria andCodeLessThan(String value) {
  203. addCriterion("SPR_CODE <", value, "code");
  204. return (Criteria) this;
  205. }
  206. public Criteria andCodeLessThanOrEqualTo(String value) {
  207. addCriterion("SPR_CODE <=", value, "code");
  208. return (Criteria) this;
  209. }
  210. public Criteria andCodeLike(String value) {
  211. addCriterion("SPR_CODE like", value, "code");
  212. return (Criteria) this;
  213. }
  214. public Criteria andCodeNotLike(String value) {
  215. addCriterion("SPR_CODE not like", value, "code");
  216. return (Criteria) this;
  217. }
  218. public Criteria andCodeIn(List<String> values) {
  219. addCriterion("SPR_CODE in", values, "code");
  220. return (Criteria) this;
  221. }
  222. public Criteria andCodeNotIn(List<String> values) {
  223. addCriterion("SPR_CODE not in", values, "code");
  224. return (Criteria) this;
  225. }
  226. public Criteria andCodeBetween(String value1, String value2) {
  227. addCriterion("SPR_CODE between", value1, value2, "code");
  228. return (Criteria) this;
  229. }
  230. public Criteria andCodeNotBetween(String value1, String value2) {
  231. addCriterion("SPR_CODE not between", value1, value2, "code");
  232. return (Criteria) this;
  233. }
  234. public Criteria andNameIsNull() {
  235. addCriterion("SPR_NAME is null");
  236. return (Criteria) this;
  237. }
  238. public Criteria andNameIsNotNull() {
  239. addCriterion("SPR_NAME is not null");
  240. return (Criteria) this;
  241. }
  242. public Criteria andNameEqualTo(String value) {
  243. if(value == null ){
  244. andNameIsNull();
  245. } else {
  246. addCriterion("SPR_NAME =", value, "name");
  247. }
  248. return (Criteria) this;
  249. }
  250. public Criteria andNameNotEqualTo(String value) {
  251. if(value == null ){
  252. andNameIsNotNull();
  253. } else {
  254. addCriterion("SPR_NAME <>", value, "name");
  255. }
  256. return (Criteria) this;
  257. }
  258. public Criteria andNameGreaterThan(String value) {
  259. addCriterion("SPR_NAME >", value, "name");
  260. return (Criteria) this;
  261. }
  262. public Criteria andNameGreaterThanOrEqualTo(String value) {
  263. addCriterion("SPR_NAME >=", value, "name");
  264. return (Criteria) this;
  265. }
  266. public Criteria andNameLessThan(String value) {
  267. addCriterion("SPR_NAME <", value, "name");
  268. return (Criteria) this;
  269. }
  270. public Criteria andNameLessThanOrEqualTo(String value) {
  271. addCriterion("SPR_NAME <=", value, "name");
  272. return (Criteria) this;
  273. }
  274. public Criteria andNameLike(String value) {
  275. addCriterion("SPR_NAME like", value, "name");
  276. return (Criteria) this;
  277. }
  278. public Criteria andNameNotLike(String value) {
  279. addCriterion("SPR_NAME not like", value, "name");
  280. return (Criteria) this;
  281. }
  282. public Criteria andNameIn(List<String> values) {
  283. addCriterion("SPR_NAME in", values, "name");
  284. return (Criteria) this;
  285. }
  286. public Criteria andNameNotIn(List<String> values) {
  287. addCriterion("SPR_NAME not in", values, "name");
  288. return (Criteria) this;
  289. }
  290. public Criteria andNameBetween(String value1, String value2) {
  291. addCriterion("SPR_NAME between", value1, value2, "name");
  292. return (Criteria) this;
  293. }
  294. public Criteria andNameNotBetween(String value1, String value2) {
  295. addCriterion("SPR_NAME not between", value1, value2, "name");
  296. return (Criteria) this;
  297. }
  298. public Criteria andValueIsNull() {
  299. addCriterion("SPR_VALUE is null");
  300. return (Criteria) this;
  301. }
  302. public Criteria andValueIsNotNull() {
  303. addCriterion("SPR_VALUE is not null");
  304. return (Criteria) this;
  305. }
  306. public Criteria andValueEqualTo(String value) {
  307. if(value == null ){
  308. andValueIsNull();
  309. } else {
  310. addCriterion("SPR_VALUE =", value, "value");
  311. }
  312. return (Criteria) this;
  313. }
  314. public Criteria andValueNotEqualTo(String value) {
  315. if(value == null ){
  316. andValueIsNotNull();
  317. } else {
  318. addCriterion("SPR_VALUE <>", value, "value");
  319. }
  320. return (Criteria) this;
  321. }
  322. public Criteria andValueGreaterThan(String value) {
  323. addCriterion("SPR_VALUE >", value, "value");
  324. return (Criteria) this;
  325. }
  326. public Criteria andValueGreaterThanOrEqualTo(String value) {
  327. addCriterion("SPR_VALUE >=", value, "value");
  328. return (Criteria) this;
  329. }
  330. public Criteria andValueLessThan(String value) {
  331. addCriterion("SPR_VALUE <", value, "value");
  332. return (Criteria) this;
  333. }
  334. public Criteria andValueLessThanOrEqualTo(String value) {
  335. addCriterion("SPR_VALUE <=", value, "value");
  336. return (Criteria) this;
  337. }
  338. public Criteria andValueLike(String value) {
  339. addCriterion("SPR_VALUE like", value, "value");
  340. return (Criteria) this;
  341. }
  342. public Criteria andValueNotLike(String value) {
  343. addCriterion("SPR_VALUE not like", value, "value");
  344. return (Criteria) this;
  345. }
  346. public Criteria andValueIn(List<String> values) {
  347. addCriterion("SPR_VALUE in", values, "value");
  348. return (Criteria) this;
  349. }
  350. public Criteria andValueNotIn(List<String> values) {
  351. addCriterion("SPR_VALUE not in", values, "value");
  352. return (Criteria) this;
  353. }
  354. public Criteria andValueBetween(String value1, String value2) {
  355. addCriterion("SPR_VALUE between", value1, value2, "value");
  356. return (Criteria) this;
  357. }
  358. public Criteria andValueNotBetween(String value1, String value2) {
  359. addCriterion("SPR_VALUE not between", value1, value2, "value");
  360. return (Criteria) this;
  361. }
  362. public Criteria andTypeIsNull() {
  363. addCriterion("SPR_TYPE is null");
  364. return (Criteria) this;
  365. }
  366. public Criteria andTypeIsNotNull() {
  367. addCriterion("SPR_TYPE is not null");
  368. return (Criteria) this;
  369. }
  370. public Criteria andTypeEqualTo(String value) {
  371. if(value == null ){
  372. andTypeIsNull();
  373. } else {
  374. addCriterion("SPR_TYPE =", value, "type");
  375. }
  376. return (Criteria) this;
  377. }
  378. public Criteria andTypeNotEqualTo(String value) {
  379. if(value == null ){
  380. andTypeIsNotNull();
  381. } else {
  382. addCriterion("SPR_TYPE <>", value, "type");
  383. }
  384. return (Criteria) this;
  385. }
  386. public Criteria andTypeGreaterThan(String value) {
  387. addCriterion("SPR_TYPE >", value, "type");
  388. return (Criteria) this;
  389. }
  390. public Criteria andTypeGreaterThanOrEqualTo(String value) {
  391. addCriterion("SPR_TYPE >=", value, "type");
  392. return (Criteria) this;
  393. }
  394. public Criteria andTypeLessThan(String value) {
  395. addCriterion("SPR_TYPE <", value, "type");
  396. return (Criteria) this;
  397. }
  398. public Criteria andTypeLessThanOrEqualTo(String value) {
  399. addCriterion("SPR_TYPE <=", value, "type");
  400. return (Criteria) this;
  401. }
  402. public Criteria andTypeLike(String value) {
  403. addCriterion("SPR_TYPE like", value, "type");
  404. return (Criteria) this;
  405. }
  406. public Criteria andTypeNotLike(String value) {
  407. addCriterion("SPR_TYPE not like", value, "type");
  408. return (Criteria) this;
  409. }
  410. public Criteria andTypeIn(List<String> values) {
  411. addCriterion("SPR_TYPE in", values, "type");
  412. return (Criteria) this;
  413. }
  414. public Criteria andTypeNotIn(List<String> values) {
  415. addCriterion("SPR_TYPE not in", values, "type");
  416. return (Criteria) this;
  417. }
  418. public Criteria andTypeBetween(String value1, String value2) {
  419. addCriterion("SPR_TYPE between", value1, value2, "type");
  420. return (Criteria) this;
  421. }
  422. public Criteria andTypeNotBetween(String value1, String value2) {
  423. addCriterion("SPR_TYPE not between", value1, value2, "type");
  424. return (Criteria) this;
  425. }
  426. public Criteria andScopeIsNull() {
  427. addCriterion("SPR_SCOPE is null");
  428. return (Criteria) this;
  429. }
  430. public Criteria andScopeIsNotNull() {
  431. addCriterion("SPR_SCOPE is not null");
  432. return (Criteria) this;
  433. }
  434. public Criteria andScopeEqualTo(String value) {
  435. if(value == null ){
  436. andScopeIsNull();
  437. } else {
  438. addCriterion("SPR_SCOPE =", value, "scope");
  439. }
  440. return (Criteria) this;
  441. }
  442. public Criteria andScopeNotEqualTo(String value) {
  443. if(value == null ){
  444. andScopeIsNotNull();
  445. } else {
  446. addCriterion("SPR_SCOPE <>", value, "scope");
  447. }
  448. return (Criteria) this;
  449. }
  450. public Criteria andScopeGreaterThan(String value) {
  451. addCriterion("SPR_SCOPE >", value, "scope");
  452. return (Criteria) this;
  453. }
  454. public Criteria andScopeGreaterThanOrEqualTo(String value) {
  455. addCriterion("SPR_SCOPE >=", value, "scope");
  456. return (Criteria) this;
  457. }
  458. public Criteria andScopeLessThan(String value) {
  459. addCriterion("SPR_SCOPE <", value, "scope");
  460. return (Criteria) this;
  461. }
  462. public Criteria andScopeLessThanOrEqualTo(String value) {
  463. addCriterion("SPR_SCOPE <=", value, "scope");
  464. return (Criteria) this;
  465. }
  466. public Criteria andScopeLike(String value) {
  467. addCriterion("SPR_SCOPE like", value, "scope");
  468. return (Criteria) this;
  469. }
  470. public Criteria andScopeNotLike(String value) {
  471. addCriterion("SPR_SCOPE not like", value, "scope");
  472. return (Criteria) this;
  473. }
  474. public Criteria andScopeIn(List<String> values) {
  475. addCriterion("SPR_SCOPE in", values, "scope");
  476. return (Criteria) this;
  477. }
  478. public Criteria andScopeNotIn(List<String> values) {
  479. addCriterion("SPR_SCOPE not in", values, "scope");
  480. return (Criteria) this;
  481. }
  482. public Criteria andScopeBetween(String value1, String value2) {
  483. addCriterion("SPR_SCOPE between", value1, value2, "scope");
  484. return (Criteria) this;
  485. }
  486. public Criteria andScopeNotBetween(String value1, String value2) {
  487. addCriterion("SPR_SCOPE not between", value1, value2, "scope");
  488. return (Criteria) this;
  489. }
  490. public Criteria andMflagIsNull() {
  491. addCriterion("SPR_MFLAG is null");
  492. return (Criteria) this;
  493. }
  494. public Criteria andMflagIsNotNull() {
  495. addCriterion("SPR_MFLAG is not null");
  496. return (Criteria) this;
  497. }
  498. public Criteria andMflagEqualTo(String value) {
  499. if(value == null ){
  500. andMflagIsNull();
  501. } else {
  502. addCriterion("SPR_MFLAG =", value, "mflag");
  503. }
  504. return (Criteria) this;
  505. }
  506. public Criteria andMflagNotEqualTo(String value) {
  507. if(value == null ){
  508. andMflagIsNotNull();
  509. } else {
  510. addCriterion("SPR_MFLAG <>", value, "mflag");
  511. }
  512. return (Criteria) this;
  513. }
  514. public Criteria andMflagGreaterThan(String value) {
  515. addCriterion("SPR_MFLAG >", value, "mflag");
  516. return (Criteria) this;
  517. }
  518. public Criteria andMflagGreaterThanOrEqualTo(String value) {
  519. addCriterion("SPR_MFLAG >=", value, "mflag");
  520. return (Criteria) this;
  521. }
  522. public Criteria andMflagLessThan(String value) {
  523. addCriterion("SPR_MFLAG <", value, "mflag");
  524. return (Criteria) this;
  525. }
  526. public Criteria andMflagLessThanOrEqualTo(String value) {
  527. addCriterion("SPR_MFLAG <=", value, "mflag");
  528. return (Criteria) this;
  529. }
  530. public Criteria andMflagLike(String value) {
  531. addCriterion("SPR_MFLAG like", value, "mflag");
  532. return (Criteria) this;
  533. }
  534. public Criteria andMflagNotLike(String value) {
  535. addCriterion("SPR_MFLAG not like", value, "mflag");
  536. return (Criteria) this;
  537. }
  538. public Criteria andMflagIn(List<String> values) {
  539. addCriterion("SPR_MFLAG in", values, "mflag");
  540. return (Criteria) this;
  541. }
  542. public Criteria andMflagNotIn(List<String> values) {
  543. addCriterion("SPR_MFLAG not in", values, "mflag");
  544. return (Criteria) this;
  545. }
  546. public Criteria andMflagBetween(String value1, String value2) {
  547. addCriterion("SPR_MFLAG between", value1, value2, "mflag");
  548. return (Criteria) this;
  549. }
  550. public Criteria andMflagNotBetween(String value1, String value2) {
  551. addCriterion("SPR_MFLAG not between", value1, value2, "mflag");
  552. return (Criteria) this;
  553. }
  554. }
  555. /**
  556. * This class was generated by MyBatis Generator.
  557. * This class corresponds to the database table pub_syspar
  558. *
  559. * @mbggenerated do_not_delete_during_merge
  560. */
  561. public static class Criteria extends GeneratedCriteria {
  562. protected Criteria() {
  563. super();
  564. }
  565. }
  566. /**
  567. * This class was generated by MyBatis Generator.
  568. * This class corresponds to the database table pub_syspar
  569. *
  570. * @mbggenerated
  571. */
  572. public static class Criterion {
  573. private String condition;
  574. private Object value;
  575. private Object secondValue;
  576. private boolean noValue;
  577. private boolean singleValue;
  578. private boolean betweenValue;
  579. private boolean listValue;
  580. public String getCondition() {
  581. return condition;
  582. }
  583. public Object getValue() {
  584. return value;
  585. }
  586. public Object getSecondValue() {
  587. return secondValue;
  588. }
  589. public boolean isNoValue() {
  590. return noValue;
  591. }
  592. public boolean isSingleValue() {
  593. return singleValue;
  594. }
  595. public boolean isBetweenValue() {
  596. return betweenValue;
  597. }
  598. public boolean isListValue() {
  599. return listValue;
  600. }
  601. protected Criterion(String condition) {
  602. super();
  603. this.condition = condition;
  604. this.noValue = true;
  605. }
  606. protected Criterion(String condition, Object value) {
  607. super();
  608. this.condition = condition;
  609. this.value = value;
  610. if (value instanceof List<?>) {
  611. this.listValue = true;
  612. } else {
  613. this.singleValue = true;
  614. }
  615. }
  616. protected Criterion(String condition, Object value, Object secondValue) {
  617. super();
  618. this.condition = condition;
  619. this.value = value;
  620. this.secondValue = secondValue;
  621. this.betweenValue = true;
  622. }
  623. }
  624. }