VmRechargeRuleExample.java 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905
  1. package com.minpay.db.table.model;
  2. import java.util.ArrayList;
  3. import java.util.List;
  4. public class VmRechargeRuleExample {
  5. /**
  6. * This field was generated by MyBatis Generator.
  7. * This field corresponds to the database table vm_recharge_rule
  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 vm_recharge_rule
  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 vm_recharge_rule
  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 vm_recharge_rule
  29. *
  30. * @mbggenerated
  31. */
  32. public VmRechargeRuleExample() {
  33. oredCriteria = new ArrayList<Criteria>();
  34. }
  35. /**
  36. * This method was generated by MyBatis Generator.
  37. * This method corresponds to the database table vm_recharge_rule
  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 vm_recharge_rule
  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 vm_recharge_rule
  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 vm_recharge_rule
  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 vm_recharge_rule
  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 vm_recharge_rule
  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 vm_recharge_rule
  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 vm_recharge_rule
  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 vm_recharge_rule
  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 vm_recharge_rule
  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 vm_recharge_rule
  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 andIdIsNull() {
  171. addCriterion("VRR_ID is null");
  172. return (Criteria) this;
  173. }
  174. public Criteria andIdIsNotNull() {
  175. addCriterion("VRR_ID is not null");
  176. return (Criteria) this;
  177. }
  178. public Criteria andIdEqualTo(String value) {
  179. if(value == null ){
  180. andIdIsNull();
  181. } else {
  182. addCriterion("VRR_ID =", value, "id");
  183. }
  184. return (Criteria) this;
  185. }
  186. public Criteria andIdNotEqualTo(String value) {
  187. if(value == null ){
  188. andIdIsNotNull();
  189. } else {
  190. addCriterion("VRR_ID <>", value, "id");
  191. }
  192. return (Criteria) this;
  193. }
  194. public Criteria andIdGreaterThan(String value) {
  195. addCriterion("VRR_ID >", value, "id");
  196. return (Criteria) this;
  197. }
  198. public Criteria andIdGreaterThanOrEqualTo(String value) {
  199. addCriterion("VRR_ID >=", value, "id");
  200. return (Criteria) this;
  201. }
  202. public Criteria andIdLessThan(String value) {
  203. addCriterion("VRR_ID <", value, "id");
  204. return (Criteria) this;
  205. }
  206. public Criteria andIdLessThanOrEqualTo(String value) {
  207. addCriterion("VRR_ID <=", value, "id");
  208. return (Criteria) this;
  209. }
  210. public Criteria andIdLike(String value) {
  211. addCriterion("VRR_ID like", value, "id");
  212. return (Criteria) this;
  213. }
  214. public Criteria andIdNotLike(String value) {
  215. addCriterion("VRR_ID not like", value, "id");
  216. return (Criteria) this;
  217. }
  218. public Criteria andIdIn(List<String> values) {
  219. addCriterion("VRR_ID in", values, "id");
  220. return (Criteria) this;
  221. }
  222. public Criteria andIdNotIn(List<String> values) {
  223. addCriterion("VRR_ID not in", values, "id");
  224. return (Criteria) this;
  225. }
  226. public Criteria andIdBetween(String value1, String value2) {
  227. addCriterion("VRR_ID between", value1, value2, "id");
  228. return (Criteria) this;
  229. }
  230. public Criteria andIdNotBetween(String value1, String value2) {
  231. addCriterion("VRR_ID not between", value1, value2, "id");
  232. return (Criteria) this;
  233. }
  234. public Criteria andRechargeAmtIsNull() {
  235. addCriterion("VRR_RECHARGE_AMT is null");
  236. return (Criteria) this;
  237. }
  238. public Criteria andRechargeAmtIsNotNull() {
  239. addCriterion("VRR_RECHARGE_AMT is not null");
  240. return (Criteria) this;
  241. }
  242. public Criteria andRechargeAmtEqualTo(String value) {
  243. if(value == null ){
  244. andRechargeAmtIsNull();
  245. } else {
  246. addCriterion("VRR_RECHARGE_AMT =", value, "rechargeAmt");
  247. }
  248. return (Criteria) this;
  249. }
  250. public Criteria andRechargeAmtNotEqualTo(String value) {
  251. if(value == null ){
  252. andRechargeAmtIsNotNull();
  253. } else {
  254. addCriterion("VRR_RECHARGE_AMT <>", value, "rechargeAmt");
  255. }
  256. return (Criteria) this;
  257. }
  258. public Criteria andRechargeAmtGreaterThan(String value) {
  259. addCriterion("VRR_RECHARGE_AMT >", value, "rechargeAmt");
  260. return (Criteria) this;
  261. }
  262. public Criteria andRechargeAmtGreaterThanOrEqualTo(String value) {
  263. addCriterion("VRR_RECHARGE_AMT >=", value, "rechargeAmt");
  264. return (Criteria) this;
  265. }
  266. public Criteria andRechargeAmtLessThan(String value) {
  267. addCriterion("VRR_RECHARGE_AMT <", value, "rechargeAmt");
  268. return (Criteria) this;
  269. }
  270. public Criteria andRechargeAmtLessThanOrEqualTo(String value) {
  271. addCriterion("VRR_RECHARGE_AMT <=", value, "rechargeAmt");
  272. return (Criteria) this;
  273. }
  274. public Criteria andRechargeAmtLike(String value) {
  275. addCriterion("VRR_RECHARGE_AMT like", value, "rechargeAmt");
  276. return (Criteria) this;
  277. }
  278. public Criteria andRechargeAmtNotLike(String value) {
  279. addCriterion("VRR_RECHARGE_AMT not like", value, "rechargeAmt");
  280. return (Criteria) this;
  281. }
  282. public Criteria andRechargeAmtIn(List<String> values) {
  283. addCriterion("VRR_RECHARGE_AMT in", values, "rechargeAmt");
  284. return (Criteria) this;
  285. }
  286. public Criteria andRechargeAmtNotIn(List<String> values) {
  287. addCriterion("VRR_RECHARGE_AMT not in", values, "rechargeAmt");
  288. return (Criteria) this;
  289. }
  290. public Criteria andRechargeAmtBetween(String value1, String value2) {
  291. addCriterion("VRR_RECHARGE_AMT between", value1, value2, "rechargeAmt");
  292. return (Criteria) this;
  293. }
  294. public Criteria andRechargeAmtNotBetween(String value1, String value2) {
  295. addCriterion("VRR_RECHARGE_AMT not between", value1, value2, "rechargeAmt");
  296. return (Criteria) this;
  297. }
  298. public Criteria andGiveAmtIsNull() {
  299. addCriterion("VRR_GIVE_AMT is null");
  300. return (Criteria) this;
  301. }
  302. public Criteria andGiveAmtIsNotNull() {
  303. addCriterion("VRR_GIVE_AMT is not null");
  304. return (Criteria) this;
  305. }
  306. public Criteria andGiveAmtEqualTo(String value) {
  307. if(value == null ){
  308. andGiveAmtIsNull();
  309. } else {
  310. addCriterion("VRR_GIVE_AMT =", value, "giveAmt");
  311. }
  312. return (Criteria) this;
  313. }
  314. public Criteria andGiveAmtNotEqualTo(String value) {
  315. if(value == null ){
  316. andGiveAmtIsNotNull();
  317. } else {
  318. addCriterion("VRR_GIVE_AMT <>", value, "giveAmt");
  319. }
  320. return (Criteria) this;
  321. }
  322. public Criteria andGiveAmtGreaterThan(String value) {
  323. addCriterion("VRR_GIVE_AMT >", value, "giveAmt");
  324. return (Criteria) this;
  325. }
  326. public Criteria andGiveAmtGreaterThanOrEqualTo(String value) {
  327. addCriterion("VRR_GIVE_AMT >=", value, "giveAmt");
  328. return (Criteria) this;
  329. }
  330. public Criteria andGiveAmtLessThan(String value) {
  331. addCriterion("VRR_GIVE_AMT <", value, "giveAmt");
  332. return (Criteria) this;
  333. }
  334. public Criteria andGiveAmtLessThanOrEqualTo(String value) {
  335. addCriterion("VRR_GIVE_AMT <=", value, "giveAmt");
  336. return (Criteria) this;
  337. }
  338. public Criteria andGiveAmtLike(String value) {
  339. addCriterion("VRR_GIVE_AMT like", value, "giveAmt");
  340. return (Criteria) this;
  341. }
  342. public Criteria andGiveAmtNotLike(String value) {
  343. addCriterion("VRR_GIVE_AMT not like", value, "giveAmt");
  344. return (Criteria) this;
  345. }
  346. public Criteria andGiveAmtIn(List<String> values) {
  347. addCriterion("VRR_GIVE_AMT in", values, "giveAmt");
  348. return (Criteria) this;
  349. }
  350. public Criteria andGiveAmtNotIn(List<String> values) {
  351. addCriterion("VRR_GIVE_AMT not in", values, "giveAmt");
  352. return (Criteria) this;
  353. }
  354. public Criteria andGiveAmtBetween(String value1, String value2) {
  355. addCriterion("VRR_GIVE_AMT between", value1, value2, "giveAmt");
  356. return (Criteria) this;
  357. }
  358. public Criteria andGiveAmtNotBetween(String value1, String value2) {
  359. addCriterion("VRR_GIVE_AMT not between", value1, value2, "giveAmt");
  360. return (Criteria) this;
  361. }
  362. public Criteria andDescIsNull() {
  363. addCriterion("VRR_DESC is null");
  364. return (Criteria) this;
  365. }
  366. public Criteria andDescIsNotNull() {
  367. addCriterion("VRR_DESC is not null");
  368. return (Criteria) this;
  369. }
  370. public Criteria andDescEqualTo(String value) {
  371. if(value == null ){
  372. andDescIsNull();
  373. } else {
  374. addCriterion("VRR_DESC =", value, "desc");
  375. }
  376. return (Criteria) this;
  377. }
  378. public Criteria andDescNotEqualTo(String value) {
  379. if(value == null ){
  380. andDescIsNotNull();
  381. } else {
  382. addCriterion("VRR_DESC <>", value, "desc");
  383. }
  384. return (Criteria) this;
  385. }
  386. public Criteria andDescGreaterThan(String value) {
  387. addCriterion("VRR_DESC >", value, "desc");
  388. return (Criteria) this;
  389. }
  390. public Criteria andDescGreaterThanOrEqualTo(String value) {
  391. addCriterion("VRR_DESC >=", value, "desc");
  392. return (Criteria) this;
  393. }
  394. public Criteria andDescLessThan(String value) {
  395. addCriterion("VRR_DESC <", value, "desc");
  396. return (Criteria) this;
  397. }
  398. public Criteria andDescLessThanOrEqualTo(String value) {
  399. addCriterion("VRR_DESC <=", value, "desc");
  400. return (Criteria) this;
  401. }
  402. public Criteria andDescLike(String value) {
  403. addCriterion("VRR_DESC like", value, "desc");
  404. return (Criteria) this;
  405. }
  406. public Criteria andDescNotLike(String value) {
  407. addCriterion("VRR_DESC not like", value, "desc");
  408. return (Criteria) this;
  409. }
  410. public Criteria andDescIn(List<String> values) {
  411. addCriterion("VRR_DESC in", values, "desc");
  412. return (Criteria) this;
  413. }
  414. public Criteria andDescNotIn(List<String> values) {
  415. addCriterion("VRR_DESC not in", values, "desc");
  416. return (Criteria) this;
  417. }
  418. public Criteria andDescBetween(String value1, String value2) {
  419. addCriterion("VRR_DESC between", value1, value2, "desc");
  420. return (Criteria) this;
  421. }
  422. public Criteria andDescNotBetween(String value1, String value2) {
  423. addCriterion("VRR_DESC not between", value1, value2, "desc");
  424. return (Criteria) this;
  425. }
  426. public Criteria andCreateTimeIsNull() {
  427. addCriterion("VRR_CREATE_TIME is null");
  428. return (Criteria) this;
  429. }
  430. public Criteria andCreateTimeIsNotNull() {
  431. addCriterion("VRR_CREATE_TIME is not null");
  432. return (Criteria) this;
  433. }
  434. public Criteria andCreateTimeEqualTo(String value) {
  435. if(value == null ){
  436. andCreateTimeIsNull();
  437. } else {
  438. addCriterion("VRR_CREATE_TIME =", value, "createTime");
  439. }
  440. return (Criteria) this;
  441. }
  442. public Criteria andCreateTimeNotEqualTo(String value) {
  443. if(value == null ){
  444. andCreateTimeIsNotNull();
  445. } else {
  446. addCriterion("VRR_CREATE_TIME <>", value, "createTime");
  447. }
  448. return (Criteria) this;
  449. }
  450. public Criteria andCreateTimeGreaterThan(String value) {
  451. addCriterion("VRR_CREATE_TIME >", value, "createTime");
  452. return (Criteria) this;
  453. }
  454. public Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
  455. addCriterion("VRR_CREATE_TIME >=", value, "createTime");
  456. return (Criteria) this;
  457. }
  458. public Criteria andCreateTimeLessThan(String value) {
  459. addCriterion("VRR_CREATE_TIME <", value, "createTime");
  460. return (Criteria) this;
  461. }
  462. public Criteria andCreateTimeLessThanOrEqualTo(String value) {
  463. addCriterion("VRR_CREATE_TIME <=", value, "createTime");
  464. return (Criteria) this;
  465. }
  466. public Criteria andCreateTimeLike(String value) {
  467. addCriterion("VRR_CREATE_TIME like", value, "createTime");
  468. return (Criteria) this;
  469. }
  470. public Criteria andCreateTimeNotLike(String value) {
  471. addCriterion("VRR_CREATE_TIME not like", value, "createTime");
  472. return (Criteria) this;
  473. }
  474. public Criteria andCreateTimeIn(List<String> values) {
  475. addCriterion("VRR_CREATE_TIME in", values, "createTime");
  476. return (Criteria) this;
  477. }
  478. public Criteria andCreateTimeNotIn(List<String> values) {
  479. addCriterion("VRR_CREATE_TIME not in", values, "createTime");
  480. return (Criteria) this;
  481. }
  482. public Criteria andCreateTimeBetween(String value1, String value2) {
  483. addCriterion("VRR_CREATE_TIME between", value1, value2, "createTime");
  484. return (Criteria) this;
  485. }
  486. public Criteria andCreateTimeNotBetween(String value1, String value2) {
  487. addCriterion("VRR_CREATE_TIME not between", value1, value2, "createTime");
  488. return (Criteria) this;
  489. }
  490. public Criteria andCreateUserIsNull() {
  491. addCriterion("VRR_CREATE_USER is null");
  492. return (Criteria) this;
  493. }
  494. public Criteria andCreateUserIsNotNull() {
  495. addCriterion("VRR_CREATE_USER is not null");
  496. return (Criteria) this;
  497. }
  498. public Criteria andCreateUserEqualTo(String value) {
  499. if(value == null ){
  500. andCreateUserIsNull();
  501. } else {
  502. addCriterion("VRR_CREATE_USER =", value, "createUser");
  503. }
  504. return (Criteria) this;
  505. }
  506. public Criteria andCreateUserNotEqualTo(String value) {
  507. if(value == null ){
  508. andCreateUserIsNotNull();
  509. } else {
  510. addCriterion("VRR_CREATE_USER <>", value, "createUser");
  511. }
  512. return (Criteria) this;
  513. }
  514. public Criteria andCreateUserGreaterThan(String value) {
  515. addCriterion("VRR_CREATE_USER >", value, "createUser");
  516. return (Criteria) this;
  517. }
  518. public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
  519. addCriterion("VRR_CREATE_USER >=", value, "createUser");
  520. return (Criteria) this;
  521. }
  522. public Criteria andCreateUserLessThan(String value) {
  523. addCriterion("VRR_CREATE_USER <", value, "createUser");
  524. return (Criteria) this;
  525. }
  526. public Criteria andCreateUserLessThanOrEqualTo(String value) {
  527. addCriterion("VRR_CREATE_USER <=", value, "createUser");
  528. return (Criteria) this;
  529. }
  530. public Criteria andCreateUserLike(String value) {
  531. addCriterion("VRR_CREATE_USER like", value, "createUser");
  532. return (Criteria) this;
  533. }
  534. public Criteria andCreateUserNotLike(String value) {
  535. addCriterion("VRR_CREATE_USER not like", value, "createUser");
  536. return (Criteria) this;
  537. }
  538. public Criteria andCreateUserIn(List<String> values) {
  539. addCriterion("VRR_CREATE_USER in", values, "createUser");
  540. return (Criteria) this;
  541. }
  542. public Criteria andCreateUserNotIn(List<String> values) {
  543. addCriterion("VRR_CREATE_USER not in", values, "createUser");
  544. return (Criteria) this;
  545. }
  546. public Criteria andCreateUserBetween(String value1, String value2) {
  547. addCriterion("VRR_CREATE_USER between", value1, value2, "createUser");
  548. return (Criteria) this;
  549. }
  550. public Criteria andCreateUserNotBetween(String value1, String value2) {
  551. addCriterion("VRR_CREATE_USER not between", value1, value2, "createUser");
  552. return (Criteria) this;
  553. }
  554. public Criteria andStateIsNull() {
  555. addCriterion("VRR_STATE is null");
  556. return (Criteria) this;
  557. }
  558. public Criteria andStateIsNotNull() {
  559. addCriterion("VRR_STATE is not null");
  560. return (Criteria) this;
  561. }
  562. public Criteria andStateEqualTo(String value) {
  563. if(value == null ){
  564. andStateIsNull();
  565. } else {
  566. addCriterion("VRR_STATE =", value, "state");
  567. }
  568. return (Criteria) this;
  569. }
  570. public Criteria andStateNotEqualTo(String value) {
  571. if(value == null ){
  572. andStateIsNotNull();
  573. } else {
  574. addCriterion("VRR_STATE <>", value, "state");
  575. }
  576. return (Criteria) this;
  577. }
  578. public Criteria andStateGreaterThan(String value) {
  579. addCriterion("VRR_STATE >", value, "state");
  580. return (Criteria) this;
  581. }
  582. public Criteria andStateGreaterThanOrEqualTo(String value) {
  583. addCriterion("VRR_STATE >=", value, "state");
  584. return (Criteria) this;
  585. }
  586. public Criteria andStateLessThan(String value) {
  587. addCriterion("VRR_STATE <", value, "state");
  588. return (Criteria) this;
  589. }
  590. public Criteria andStateLessThanOrEqualTo(String value) {
  591. addCriterion("VRR_STATE <=", value, "state");
  592. return (Criteria) this;
  593. }
  594. public Criteria andStateLike(String value) {
  595. addCriterion("VRR_STATE like", value, "state");
  596. return (Criteria) this;
  597. }
  598. public Criteria andStateNotLike(String value) {
  599. addCriterion("VRR_STATE not like", value, "state");
  600. return (Criteria) this;
  601. }
  602. public Criteria andStateIn(List<String> values) {
  603. addCriterion("VRR_STATE in", values, "state");
  604. return (Criteria) this;
  605. }
  606. public Criteria andStateNotIn(List<String> values) {
  607. addCriterion("VRR_STATE not in", values, "state");
  608. return (Criteria) this;
  609. }
  610. public Criteria andStateBetween(String value1, String value2) {
  611. addCriterion("VRR_STATE between", value1, value2, "state");
  612. return (Criteria) this;
  613. }
  614. public Criteria andStateNotBetween(String value1, String value2) {
  615. addCriterion("VRR_STATE not between", value1, value2, "state");
  616. return (Criteria) this;
  617. }
  618. public Criteria andBranchIsNull() {
  619. addCriterion("VRR_BRANCH is null");
  620. return (Criteria) this;
  621. }
  622. public Criteria andBranchIsNotNull() {
  623. addCriterion("VRR_BRANCH is not null");
  624. return (Criteria) this;
  625. }
  626. public Criteria andBranchEqualTo(String value) {
  627. if(value == null ){
  628. andBranchIsNull();
  629. } else {
  630. addCriterion("VRR_BRANCH =", value, "branch");
  631. }
  632. return (Criteria) this;
  633. }
  634. public Criteria andBranchNotEqualTo(String value) {
  635. if(value == null ){
  636. andBranchIsNotNull();
  637. } else {
  638. addCriterion("VRR_BRANCH <>", value, "branch");
  639. }
  640. return (Criteria) this;
  641. }
  642. public Criteria andBranchGreaterThan(String value) {
  643. addCriterion("VRR_BRANCH >", value, "branch");
  644. return (Criteria) this;
  645. }
  646. public Criteria andBranchGreaterThanOrEqualTo(String value) {
  647. addCriterion("VRR_BRANCH >=", value, "branch");
  648. return (Criteria) this;
  649. }
  650. public Criteria andBranchLessThan(String value) {
  651. addCriterion("VRR_BRANCH <", value, "branch");
  652. return (Criteria) this;
  653. }
  654. public Criteria andBranchLessThanOrEqualTo(String value) {
  655. addCriterion("VRR_BRANCH <=", value, "branch");
  656. return (Criteria) this;
  657. }
  658. public Criteria andBranchLike(String value) {
  659. addCriterion("VRR_BRANCH like", value, "branch");
  660. return (Criteria) this;
  661. }
  662. public Criteria andBranchNotLike(String value) {
  663. addCriterion("VRR_BRANCH not like", value, "branch");
  664. return (Criteria) this;
  665. }
  666. public Criteria andBranchIn(List<String> values) {
  667. addCriterion("VRR_BRANCH in", values, "branch");
  668. return (Criteria) this;
  669. }
  670. public Criteria andBranchNotIn(List<String> values) {
  671. addCriterion("VRR_BRANCH not in", values, "branch");
  672. return (Criteria) this;
  673. }
  674. public Criteria andBranchBetween(String value1, String value2) {
  675. addCriterion("VRR_BRANCH between", value1, value2, "branch");
  676. return (Criteria) this;
  677. }
  678. public Criteria andBranchNotBetween(String value1, String value2) {
  679. addCriterion("VRR_BRANCH not between", value1, value2, "branch");
  680. return (Criteria) this;
  681. }
  682. }
  683. /**
  684. * This class was generated by MyBatis Generator.
  685. * This class corresponds to the database table vm_recharge_rule
  686. *
  687. * @mbggenerated do_not_delete_during_merge
  688. */
  689. public static class Criteria extends GeneratedCriteria {
  690. protected Criteria() {
  691. super();
  692. }
  693. }
  694. /**
  695. * This class was generated by MyBatis Generator.
  696. * This class corresponds to the database table vm_recharge_rule
  697. *
  698. * @mbggenerated
  699. */
  700. public static class Criterion {
  701. private String condition;
  702. private Object value;
  703. private Object secondValue;
  704. private boolean noValue;
  705. private boolean singleValue;
  706. private boolean betweenValue;
  707. private boolean listValue;
  708. public String getCondition() {
  709. return condition;
  710. }
  711. public Object getValue() {
  712. return value;
  713. }
  714. public Object getSecondValue() {
  715. return secondValue;
  716. }
  717. public boolean isNoValue() {
  718. return noValue;
  719. }
  720. public boolean isSingleValue() {
  721. return singleValue;
  722. }
  723. public boolean isBetweenValue() {
  724. return betweenValue;
  725. }
  726. public boolean isListValue() {
  727. return listValue;
  728. }
  729. protected Criterion(String condition) {
  730. super();
  731. this.condition = condition;
  732. this.noValue = true;
  733. }
  734. protected Criterion(String condition, Object value) {
  735. super();
  736. this.condition = condition;
  737. this.value = value;
  738. if (value instanceof List<?>) {
  739. this.listValue = true;
  740. } else {
  741. this.singleValue = true;
  742. }
  743. }
  744. protected Criterion(String condition, Object value, Object secondValue) {
  745. super();
  746. this.condition = condition;
  747. this.value = value;
  748. this.secondValue = secondValue;
  749. this.betweenValue = true;
  750. }
  751. }
  752. }