ImRoleItemRelExample.java 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671
  1. package com.minpay.db.table.model;
  2. import java.util.ArrayList;
  3. import java.util.List;
  4. public class ImRoleItemRelExample {
  5. /**
  6. * This field was generated by MyBatis Generator.
  7. * This field corresponds to the database table im_role_item_rel
  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 im_role_item_rel
  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 im_role_item_rel
  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 im_role_item_rel
  29. *
  30. * @mbggenerated
  31. */
  32. public ImRoleItemRelExample() {
  33. oredCriteria = new ArrayList<Criteria>();
  34. }
  35. /**
  36. * This method was generated by MyBatis Generator.
  37. * This method corresponds to the database table im_role_item_rel
  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 im_role_item_rel
  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 im_role_item_rel
  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 im_role_item_rel
  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 im_role_item_rel
  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 im_role_item_rel
  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 im_role_item_rel
  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 im_role_item_rel
  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 im_role_item_rel
  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 im_role_item_rel
  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 im_role_item_rel
  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 andItemidIsNull() {
  171. addCriterion("RIR_ITEMID is null");
  172. return (Criteria) this;
  173. }
  174. public Criteria andItemidIsNotNull() {
  175. addCriterion("RIR_ITEMID is not null");
  176. return (Criteria) this;
  177. }
  178. public Criteria andItemidEqualTo(String value) {
  179. if(value == null ){
  180. andItemidIsNull();
  181. } else {
  182. addCriterion("RIR_ITEMID =", value, "itemid");
  183. }
  184. return (Criteria) this;
  185. }
  186. public Criteria andItemidNotEqualTo(String value) {
  187. if(value == null ){
  188. andItemidIsNotNull();
  189. } else {
  190. addCriterion("RIR_ITEMID <>", value, "itemid");
  191. }
  192. return (Criteria) this;
  193. }
  194. public Criteria andItemidGreaterThan(String value) {
  195. addCriterion("RIR_ITEMID >", value, "itemid");
  196. return (Criteria) this;
  197. }
  198. public Criteria andItemidGreaterThanOrEqualTo(String value) {
  199. addCriterion("RIR_ITEMID >=", value, "itemid");
  200. return (Criteria) this;
  201. }
  202. public Criteria andItemidLessThan(String value) {
  203. addCriterion("RIR_ITEMID <", value, "itemid");
  204. return (Criteria) this;
  205. }
  206. public Criteria andItemidLessThanOrEqualTo(String value) {
  207. addCriterion("RIR_ITEMID <=", value, "itemid");
  208. return (Criteria) this;
  209. }
  210. public Criteria andItemidLike(String value) {
  211. addCriterion("RIR_ITEMID like", value, "itemid");
  212. return (Criteria) this;
  213. }
  214. public Criteria andItemidNotLike(String value) {
  215. addCriterion("RIR_ITEMID not like", value, "itemid");
  216. return (Criteria) this;
  217. }
  218. public Criteria andItemidIn(List<String> values) {
  219. addCriterion("RIR_ITEMID in", values, "itemid");
  220. return (Criteria) this;
  221. }
  222. public Criteria andItemidNotIn(List<String> values) {
  223. addCriterion("RIR_ITEMID not in", values, "itemid");
  224. return (Criteria) this;
  225. }
  226. public Criteria andItemidBetween(String value1, String value2) {
  227. addCriterion("RIR_ITEMID between", value1, value2, "itemid");
  228. return (Criteria) this;
  229. }
  230. public Criteria andItemidNotBetween(String value1, String value2) {
  231. addCriterion("RIR_ITEMID not between", value1, value2, "itemid");
  232. return (Criteria) this;
  233. }
  234. public Criteria andRoleidIsNull() {
  235. addCriterion("RIR_ROLEID is null");
  236. return (Criteria) this;
  237. }
  238. public Criteria andRoleidIsNotNull() {
  239. addCriterion("RIR_ROLEID is not null");
  240. return (Criteria) this;
  241. }
  242. public Criteria andRoleidEqualTo(String value) {
  243. if(value == null ){
  244. andRoleidIsNull();
  245. } else {
  246. addCriterion("RIR_ROLEID =", value, "roleid");
  247. }
  248. return (Criteria) this;
  249. }
  250. public Criteria andRoleidNotEqualTo(String value) {
  251. if(value == null ){
  252. andRoleidIsNotNull();
  253. } else {
  254. addCriterion("RIR_ROLEID <>", value, "roleid");
  255. }
  256. return (Criteria) this;
  257. }
  258. public Criteria andRoleidGreaterThan(String value) {
  259. addCriterion("RIR_ROLEID >", value, "roleid");
  260. return (Criteria) this;
  261. }
  262. public Criteria andRoleidGreaterThanOrEqualTo(String value) {
  263. addCriterion("RIR_ROLEID >=", value, "roleid");
  264. return (Criteria) this;
  265. }
  266. public Criteria andRoleidLessThan(String value) {
  267. addCriterion("RIR_ROLEID <", value, "roleid");
  268. return (Criteria) this;
  269. }
  270. public Criteria andRoleidLessThanOrEqualTo(String value) {
  271. addCriterion("RIR_ROLEID <=", value, "roleid");
  272. return (Criteria) this;
  273. }
  274. public Criteria andRoleidLike(String value) {
  275. addCriterion("RIR_ROLEID like", value, "roleid");
  276. return (Criteria) this;
  277. }
  278. public Criteria andRoleidNotLike(String value) {
  279. addCriterion("RIR_ROLEID not like", value, "roleid");
  280. return (Criteria) this;
  281. }
  282. public Criteria andRoleidIn(List<String> values) {
  283. addCriterion("RIR_ROLEID in", values, "roleid");
  284. return (Criteria) this;
  285. }
  286. public Criteria andRoleidNotIn(List<String> values) {
  287. addCriterion("RIR_ROLEID not in", values, "roleid");
  288. return (Criteria) this;
  289. }
  290. public Criteria andRoleidBetween(String value1, String value2) {
  291. addCriterion("RIR_ROLEID between", value1, value2, "roleid");
  292. return (Criteria) this;
  293. }
  294. public Criteria andRoleidNotBetween(String value1, String value2) {
  295. addCriterion("RIR_ROLEID not between", value1, value2, "roleid");
  296. return (Criteria) this;
  297. }
  298. public Criteria andAuthroleIsNull() {
  299. addCriterion("RIR_AUTHROLE is null");
  300. return (Criteria) this;
  301. }
  302. public Criteria andAuthroleIsNotNull() {
  303. addCriterion("RIR_AUTHROLE is not null");
  304. return (Criteria) this;
  305. }
  306. public Criteria andAuthroleEqualTo(String value) {
  307. if(value == null ){
  308. andAuthroleIsNull();
  309. } else {
  310. addCriterion("RIR_AUTHROLE =", value, "authrole");
  311. }
  312. return (Criteria) this;
  313. }
  314. public Criteria andAuthroleNotEqualTo(String value) {
  315. if(value == null ){
  316. andAuthroleIsNotNull();
  317. } else {
  318. addCriterion("RIR_AUTHROLE <>", value, "authrole");
  319. }
  320. return (Criteria) this;
  321. }
  322. public Criteria andAuthroleGreaterThan(String value) {
  323. addCriterion("RIR_AUTHROLE >", value, "authrole");
  324. return (Criteria) this;
  325. }
  326. public Criteria andAuthroleGreaterThanOrEqualTo(String value) {
  327. addCriterion("RIR_AUTHROLE >=", value, "authrole");
  328. return (Criteria) this;
  329. }
  330. public Criteria andAuthroleLessThan(String value) {
  331. addCriterion("RIR_AUTHROLE <", value, "authrole");
  332. return (Criteria) this;
  333. }
  334. public Criteria andAuthroleLessThanOrEqualTo(String value) {
  335. addCriterion("RIR_AUTHROLE <=", value, "authrole");
  336. return (Criteria) this;
  337. }
  338. public Criteria andAuthroleLike(String value) {
  339. addCriterion("RIR_AUTHROLE like", value, "authrole");
  340. return (Criteria) this;
  341. }
  342. public Criteria andAuthroleNotLike(String value) {
  343. addCriterion("RIR_AUTHROLE not like", value, "authrole");
  344. return (Criteria) this;
  345. }
  346. public Criteria andAuthroleIn(List<String> values) {
  347. addCriterion("RIR_AUTHROLE in", values, "authrole");
  348. return (Criteria) this;
  349. }
  350. public Criteria andAuthroleNotIn(List<String> values) {
  351. addCriterion("RIR_AUTHROLE not in", values, "authrole");
  352. return (Criteria) this;
  353. }
  354. public Criteria andAuthroleBetween(String value1, String value2) {
  355. addCriterion("RIR_AUTHROLE between", value1, value2, "authrole");
  356. return (Criteria) this;
  357. }
  358. public Criteria andAuthroleNotBetween(String value1, String value2) {
  359. addCriterion("RIR_AUTHROLE not between", value1, value2, "authrole");
  360. return (Criteria) this;
  361. }
  362. public Criteria andAuthtypeIsNull() {
  363. addCriterion("RIR_AUTHTYPE is null");
  364. return (Criteria) this;
  365. }
  366. public Criteria andAuthtypeIsNotNull() {
  367. addCriterion("RIR_AUTHTYPE is not null");
  368. return (Criteria) this;
  369. }
  370. public Criteria andAuthtypeEqualTo(String value) {
  371. if(value == null ){
  372. andAuthtypeIsNull();
  373. } else {
  374. addCriterion("RIR_AUTHTYPE =", value, "authtype");
  375. }
  376. return (Criteria) this;
  377. }
  378. public Criteria andAuthtypeNotEqualTo(String value) {
  379. if(value == null ){
  380. andAuthtypeIsNotNull();
  381. } else {
  382. addCriterion("RIR_AUTHTYPE <>", value, "authtype");
  383. }
  384. return (Criteria) this;
  385. }
  386. public Criteria andAuthtypeGreaterThan(String value) {
  387. addCriterion("RIR_AUTHTYPE >", value, "authtype");
  388. return (Criteria) this;
  389. }
  390. public Criteria andAuthtypeGreaterThanOrEqualTo(String value) {
  391. addCriterion("RIR_AUTHTYPE >=", value, "authtype");
  392. return (Criteria) this;
  393. }
  394. public Criteria andAuthtypeLessThan(String value) {
  395. addCriterion("RIR_AUTHTYPE <", value, "authtype");
  396. return (Criteria) this;
  397. }
  398. public Criteria andAuthtypeLessThanOrEqualTo(String value) {
  399. addCriterion("RIR_AUTHTYPE <=", value, "authtype");
  400. return (Criteria) this;
  401. }
  402. public Criteria andAuthtypeLike(String value) {
  403. addCriterion("RIR_AUTHTYPE like", value, "authtype");
  404. return (Criteria) this;
  405. }
  406. public Criteria andAuthtypeNotLike(String value) {
  407. addCriterion("RIR_AUTHTYPE not like", value, "authtype");
  408. return (Criteria) this;
  409. }
  410. public Criteria andAuthtypeIn(List<String> values) {
  411. addCriterion("RIR_AUTHTYPE in", values, "authtype");
  412. return (Criteria) this;
  413. }
  414. public Criteria andAuthtypeNotIn(List<String> values) {
  415. addCriterion("RIR_AUTHTYPE not in", values, "authtype");
  416. return (Criteria) this;
  417. }
  418. public Criteria andAuthtypeBetween(String value1, String value2) {
  419. addCriterion("RIR_AUTHTYPE between", value1, value2, "authtype");
  420. return (Criteria) this;
  421. }
  422. public Criteria andAuthtypeNotBetween(String value1, String value2) {
  423. addCriterion("RIR_AUTHTYPE not between", value1, value2, "authtype");
  424. return (Criteria) this;
  425. }
  426. public Criteria andAuthshapeIsNull() {
  427. addCriterion("RIR_AUTHSHAPE is null");
  428. return (Criteria) this;
  429. }
  430. public Criteria andAuthshapeIsNotNull() {
  431. addCriterion("RIR_AUTHSHAPE is not null");
  432. return (Criteria) this;
  433. }
  434. public Criteria andAuthshapeEqualTo(String value) {
  435. if(value == null ){
  436. andAuthshapeIsNull();
  437. } else {
  438. addCriterion("RIR_AUTHSHAPE =", value, "authshape");
  439. }
  440. return (Criteria) this;
  441. }
  442. public Criteria andAuthshapeNotEqualTo(String value) {
  443. if(value == null ){
  444. andAuthshapeIsNotNull();
  445. } else {
  446. addCriterion("RIR_AUTHSHAPE <>", value, "authshape");
  447. }
  448. return (Criteria) this;
  449. }
  450. public Criteria andAuthshapeGreaterThan(String value) {
  451. addCriterion("RIR_AUTHSHAPE >", value, "authshape");
  452. return (Criteria) this;
  453. }
  454. public Criteria andAuthshapeGreaterThanOrEqualTo(String value) {
  455. addCriterion("RIR_AUTHSHAPE >=", value, "authshape");
  456. return (Criteria) this;
  457. }
  458. public Criteria andAuthshapeLessThan(String value) {
  459. addCriterion("RIR_AUTHSHAPE <", value, "authshape");
  460. return (Criteria) this;
  461. }
  462. public Criteria andAuthshapeLessThanOrEqualTo(String value) {
  463. addCriterion("RIR_AUTHSHAPE <=", value, "authshape");
  464. return (Criteria) this;
  465. }
  466. public Criteria andAuthshapeLike(String value) {
  467. addCriterion("RIR_AUTHSHAPE like", value, "authshape");
  468. return (Criteria) this;
  469. }
  470. public Criteria andAuthshapeNotLike(String value) {
  471. addCriterion("RIR_AUTHSHAPE not like", value, "authshape");
  472. return (Criteria) this;
  473. }
  474. public Criteria andAuthshapeIn(List<String> values) {
  475. addCriterion("RIR_AUTHSHAPE in", values, "authshape");
  476. return (Criteria) this;
  477. }
  478. public Criteria andAuthshapeNotIn(List<String> values) {
  479. addCriterion("RIR_AUTHSHAPE not in", values, "authshape");
  480. return (Criteria) this;
  481. }
  482. public Criteria andAuthshapeBetween(String value1, String value2) {
  483. addCriterion("RIR_AUTHSHAPE between", value1, value2, "authshape");
  484. return (Criteria) this;
  485. }
  486. public Criteria andAuthshapeNotBetween(String value1, String value2) {
  487. addCriterion("RIR_AUTHSHAPE not between", value1, value2, "authshape");
  488. return (Criteria) this;
  489. }
  490. }
  491. /**
  492. * This class was generated by MyBatis Generator.
  493. * This class corresponds to the database table im_role_item_rel
  494. *
  495. * @mbggenerated do_not_delete_during_merge
  496. */
  497. public static class Criteria extends GeneratedCriteria {
  498. protected Criteria() {
  499. super();
  500. }
  501. }
  502. /**
  503. * This class was generated by MyBatis Generator.
  504. * This class corresponds to the database table im_role_item_rel
  505. *
  506. * @mbggenerated
  507. */
  508. public static class Criterion {
  509. private String condition;
  510. private Object value;
  511. private Object secondValue;
  512. private boolean noValue;
  513. private boolean singleValue;
  514. private boolean betweenValue;
  515. private boolean listValue;
  516. public String getCondition() {
  517. return condition;
  518. }
  519. public Object getValue() {
  520. return value;
  521. }
  522. public Object getSecondValue() {
  523. return secondValue;
  524. }
  525. public boolean isNoValue() {
  526. return noValue;
  527. }
  528. public boolean isSingleValue() {
  529. return singleValue;
  530. }
  531. public boolean isBetweenValue() {
  532. return betweenValue;
  533. }
  534. public boolean isListValue() {
  535. return listValue;
  536. }
  537. protected Criterion(String condition) {
  538. super();
  539. this.condition = condition;
  540. this.noValue = true;
  541. }
  542. protected Criterion(String condition, Object value) {
  543. super();
  544. this.condition = condition;
  545. this.value = value;
  546. if (value instanceof List<?>) {
  547. this.listValue = true;
  548. } else {
  549. this.singleValue = true;
  550. }
  551. }
  552. protected Criterion(String condition, Object value, Object secondValue) {
  553. super();
  554. this.condition = condition;
  555. this.value = value;
  556. this.secondValue = secondValue;
  557. this.betweenValue = true;
  558. }
  559. }
  560. }