ImQuickMenuExample.java 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  1. package com.minpay.db.table.model;
  2. import java.util.ArrayList;
  3. import java.util.List;
  4. public class ImQuickMenuExample {
  5. /**
  6. * This field was generated by MyBatis Generator.
  7. * This field corresponds to the database table im_quick_menu
  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_quick_menu
  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_quick_menu
  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_quick_menu
  29. *
  30. * @mbggenerated
  31. */
  32. public ImQuickMenuExample() {
  33. oredCriteria = new ArrayList<Criteria>();
  34. }
  35. /**
  36. * This method was generated by MyBatis Generator.
  37. * This method corresponds to the database table im_quick_menu
  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_quick_menu
  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_quick_menu
  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_quick_menu
  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_quick_menu
  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_quick_menu
  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_quick_menu
  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_quick_menu
  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_quick_menu
  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_quick_menu
  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_quick_menu
  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("QKM_ITEMID is null");
  172. return (Criteria) this;
  173. }
  174. public Criteria andItemidIsNotNull() {
  175. addCriterion("QKM_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("QKM_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("QKM_ITEMID <>", value, "itemid");
  191. }
  192. return (Criteria) this;
  193. }
  194. public Criteria andItemidGreaterThan(String value) {
  195. addCriterion("QKM_ITEMID >", value, "itemid");
  196. return (Criteria) this;
  197. }
  198. public Criteria andItemidGreaterThanOrEqualTo(String value) {
  199. addCriterion("QKM_ITEMID >=", value, "itemid");
  200. return (Criteria) this;
  201. }
  202. public Criteria andItemidLessThan(String value) {
  203. addCriterion("QKM_ITEMID <", value, "itemid");
  204. return (Criteria) this;
  205. }
  206. public Criteria andItemidLessThanOrEqualTo(String value) {
  207. addCriterion("QKM_ITEMID <=", value, "itemid");
  208. return (Criteria) this;
  209. }
  210. public Criteria andItemidLike(String value) {
  211. addCriterion("QKM_ITEMID like", value, "itemid");
  212. return (Criteria) this;
  213. }
  214. public Criteria andItemidNotLike(String value) {
  215. addCriterion("QKM_ITEMID not like", value, "itemid");
  216. return (Criteria) this;
  217. }
  218. public Criteria andItemidIn(List<String> values) {
  219. addCriterion("QKM_ITEMID in", values, "itemid");
  220. return (Criteria) this;
  221. }
  222. public Criteria andItemidNotIn(List<String> values) {
  223. addCriterion("QKM_ITEMID not in", values, "itemid");
  224. return (Criteria) this;
  225. }
  226. public Criteria andItemidBetween(String value1, String value2) {
  227. addCriterion("QKM_ITEMID between", value1, value2, "itemid");
  228. return (Criteria) this;
  229. }
  230. public Criteria andItemidNotBetween(String value1, String value2) {
  231. addCriterion("QKM_ITEMID not between", value1, value2, "itemid");
  232. return (Criteria) this;
  233. }
  234. public Criteria andUseridIsNull() {
  235. addCriterion("QKM_USERID is null");
  236. return (Criteria) this;
  237. }
  238. public Criteria andUseridIsNotNull() {
  239. addCriterion("QKM_USERID is not null");
  240. return (Criteria) this;
  241. }
  242. public Criteria andUseridEqualTo(String value) {
  243. if(value == null ){
  244. andUseridIsNull();
  245. } else {
  246. addCriterion("QKM_USERID =", value, "userid");
  247. }
  248. return (Criteria) this;
  249. }
  250. public Criteria andUseridNotEqualTo(String value) {
  251. if(value == null ){
  252. andUseridIsNotNull();
  253. } else {
  254. addCriterion("QKM_USERID <>", value, "userid");
  255. }
  256. return (Criteria) this;
  257. }
  258. public Criteria andUseridGreaterThan(String value) {
  259. addCriterion("QKM_USERID >", value, "userid");
  260. return (Criteria) this;
  261. }
  262. public Criteria andUseridGreaterThanOrEqualTo(String value) {
  263. addCriterion("QKM_USERID >=", value, "userid");
  264. return (Criteria) this;
  265. }
  266. public Criteria andUseridLessThan(String value) {
  267. addCriterion("QKM_USERID <", value, "userid");
  268. return (Criteria) this;
  269. }
  270. public Criteria andUseridLessThanOrEqualTo(String value) {
  271. addCriterion("QKM_USERID <=", value, "userid");
  272. return (Criteria) this;
  273. }
  274. public Criteria andUseridLike(String value) {
  275. addCriterion("QKM_USERID like", value, "userid");
  276. return (Criteria) this;
  277. }
  278. public Criteria andUseridNotLike(String value) {
  279. addCriterion("QKM_USERID not like", value, "userid");
  280. return (Criteria) this;
  281. }
  282. public Criteria andUseridIn(List<String> values) {
  283. addCriterion("QKM_USERID in", values, "userid");
  284. return (Criteria) this;
  285. }
  286. public Criteria andUseridNotIn(List<String> values) {
  287. addCriterion("QKM_USERID not in", values, "userid");
  288. return (Criteria) this;
  289. }
  290. public Criteria andUseridBetween(String value1, String value2) {
  291. addCriterion("QKM_USERID between", value1, value2, "userid");
  292. return (Criteria) this;
  293. }
  294. public Criteria andUseridNotBetween(String value1, String value2) {
  295. addCriterion("QKM_USERID not between", value1, value2, "userid");
  296. return (Criteria) this;
  297. }
  298. }
  299. /**
  300. * This class was generated by MyBatis Generator.
  301. * This class corresponds to the database table im_quick_menu
  302. *
  303. * @mbggenerated do_not_delete_during_merge
  304. */
  305. public static class Criteria extends GeneratedCriteria {
  306. protected Criteria() {
  307. super();
  308. }
  309. }
  310. /**
  311. * This class was generated by MyBatis Generator.
  312. * This class corresponds to the database table im_quick_menu
  313. *
  314. * @mbggenerated
  315. */
  316. public static class Criterion {
  317. private String condition;
  318. private Object value;
  319. private Object secondValue;
  320. private boolean noValue;
  321. private boolean singleValue;
  322. private boolean betweenValue;
  323. private boolean listValue;
  324. public String getCondition() {
  325. return condition;
  326. }
  327. public Object getValue() {
  328. return value;
  329. }
  330. public Object getSecondValue() {
  331. return secondValue;
  332. }
  333. public boolean isNoValue() {
  334. return noValue;
  335. }
  336. public boolean isSingleValue() {
  337. return singleValue;
  338. }
  339. public boolean isBetweenValue() {
  340. return betweenValue;
  341. }
  342. public boolean isListValue() {
  343. return listValue;
  344. }
  345. protected Criterion(String condition) {
  346. super();
  347. this.condition = condition;
  348. this.noValue = true;
  349. }
  350. protected Criterion(String condition, Object value) {
  351. super();
  352. this.condition = condition;
  353. this.value = value;
  354. if (value instanceof List<?>) {
  355. this.listValue = true;
  356. } else {
  357. this.singleValue = true;
  358. }
  359. }
  360. protected Criterion(String condition, Object value, Object secondValue) {
  361. super();
  362. this.condition = condition;
  363. this.value = value;
  364. this.secondValue = secondValue;
  365. this.betweenValue = true;
  366. }
  367. }
  368. }