PrizeOpportunityExample.java 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572
  1. package com.hssx.entity;
  2. import java.util.ArrayList;
  3. import java.util.Date;
  4. import java.util.List;
  5. public class PrizeOpportunityExample {
  6. /**
  7. * This field was generated by MyBatis Generator. This field corresponds to the database table mini_prize_opportunity
  8. * @mbg.generated Mon Sep 23 14:20:05 CST 2019
  9. */
  10. protected String orderByClause;
  11. /**
  12. * This field was generated by MyBatis Generator. This field corresponds to the database table mini_prize_opportunity
  13. * @mbg.generated Mon Sep 23 14:20:05 CST 2019
  14. */
  15. protected boolean distinct;
  16. /**
  17. * This field was generated by MyBatis Generator. This field corresponds to the database table mini_prize_opportunity
  18. * @mbg.generated Mon Sep 23 14:20:05 CST 2019
  19. */
  20. protected List<Criteria> oredCriteria;
  21. /**
  22. * This method was generated by MyBatis Generator. This method corresponds to the database table mini_prize_opportunity
  23. * @mbg.generated Mon Sep 23 14:20:05 CST 2019
  24. */
  25. public PrizeOpportunityExample() {
  26. oredCriteria = new ArrayList<Criteria>();
  27. }
  28. /**
  29. * This method was generated by MyBatis Generator. This method corresponds to the database table mini_prize_opportunity
  30. * @mbg.generated Mon Sep 23 14:20:05 CST 2019
  31. */
  32. public void setOrderByClause(String orderByClause) {
  33. this.orderByClause = orderByClause;
  34. }
  35. /**
  36. * This method was generated by MyBatis Generator. This method corresponds to the database table mini_prize_opportunity
  37. * @mbg.generated Mon Sep 23 14:20:05 CST 2019
  38. */
  39. public String getOrderByClause() {
  40. return orderByClause;
  41. }
  42. /**
  43. * This method was generated by MyBatis Generator. This method corresponds to the database table mini_prize_opportunity
  44. * @mbg.generated Mon Sep 23 14:20:05 CST 2019
  45. */
  46. public void setDistinct(boolean distinct) {
  47. this.distinct = distinct;
  48. }
  49. /**
  50. * This method was generated by MyBatis Generator. This method corresponds to the database table mini_prize_opportunity
  51. * @mbg.generated Mon Sep 23 14:20:05 CST 2019
  52. */
  53. public boolean isDistinct() {
  54. return distinct;
  55. }
  56. /**
  57. * This method was generated by MyBatis Generator. This method corresponds to the database table mini_prize_opportunity
  58. * @mbg.generated Mon Sep 23 14:20:05 CST 2019
  59. */
  60. public List<Criteria> getOredCriteria() {
  61. return oredCriteria;
  62. }
  63. /**
  64. * This method was generated by MyBatis Generator. This method corresponds to the database table mini_prize_opportunity
  65. * @mbg.generated Mon Sep 23 14:20:05 CST 2019
  66. */
  67. public void or(Criteria criteria) {
  68. oredCriteria.add(criteria);
  69. }
  70. /**
  71. * This method was generated by MyBatis Generator. This method corresponds to the database table mini_prize_opportunity
  72. * @mbg.generated Mon Sep 23 14:20:05 CST 2019
  73. */
  74. public Criteria or() {
  75. Criteria criteria = createCriteriaInternal();
  76. oredCriteria.add(criteria);
  77. return criteria;
  78. }
  79. /**
  80. * This method was generated by MyBatis Generator. This method corresponds to the database table mini_prize_opportunity
  81. * @mbg.generated Mon Sep 23 14:20:05 CST 2019
  82. */
  83. public Criteria createCriteria() {
  84. Criteria criteria = createCriteriaInternal();
  85. if (oredCriteria.size() == 0) {
  86. oredCriteria.add(criteria);
  87. }
  88. return criteria;
  89. }
  90. /**
  91. * This method was generated by MyBatis Generator. This method corresponds to the database table mini_prize_opportunity
  92. * @mbg.generated Mon Sep 23 14:20:05 CST 2019
  93. */
  94. protected Criteria createCriteriaInternal() {
  95. Criteria criteria = new Criteria();
  96. return criteria;
  97. }
  98. /**
  99. * This method was generated by MyBatis Generator. This method corresponds to the database table mini_prize_opportunity
  100. * @mbg.generated Mon Sep 23 14:20:05 CST 2019
  101. */
  102. public void clear() {
  103. oredCriteria.clear();
  104. orderByClause = null;
  105. distinct = false;
  106. }
  107. /**
  108. * This class was generated by MyBatis Generator. This class corresponds to the database table mini_prize_opportunity
  109. * @mbg.generated Mon Sep 23 14:20:05 CST 2019
  110. */
  111. protected abstract static class GeneratedCriteria {
  112. protected List<Criterion> criteria;
  113. protected GeneratedCriteria() {
  114. super();
  115. criteria = new ArrayList<Criterion>();
  116. }
  117. public boolean isValid() {
  118. return criteria.size() > 0;
  119. }
  120. public List<Criterion> getAllCriteria() {
  121. return criteria;
  122. }
  123. public List<Criterion> getCriteria() {
  124. return criteria;
  125. }
  126. protected void addCriterion(String condition) {
  127. if (condition == null) {
  128. throw new RuntimeException("Value for condition cannot be null");
  129. }
  130. criteria.add(new Criterion(condition));
  131. }
  132. protected void addCriterion(String condition, Object value, String property) {
  133. if (value == null) {
  134. throw new RuntimeException("Value for " + property + " cannot be null");
  135. }
  136. criteria.add(new Criterion(condition, value));
  137. }
  138. protected void addCriterion(String condition, Object value1, Object value2, String property) {
  139. if (value1 == null || value2 == null) {
  140. throw new RuntimeException("Between values for " + property + " cannot be null");
  141. }
  142. criteria.add(new Criterion(condition, value1, value2));
  143. }
  144. public Criteria andIdIsNull() {
  145. addCriterion("id is null");
  146. return (Criteria) this;
  147. }
  148. public Criteria andIdIsNotNull() {
  149. addCriterion("id is not null");
  150. return (Criteria) this;
  151. }
  152. public Criteria andIdEqualTo(Integer value) {
  153. addCriterion("id =", value, "id");
  154. return (Criteria) this;
  155. }
  156. public Criteria andIdNotEqualTo(Integer value) {
  157. addCriterion("id <>", value, "id");
  158. return (Criteria) this;
  159. }
  160. public Criteria andIdGreaterThan(Integer value) {
  161. addCriterion("id >", value, "id");
  162. return (Criteria) this;
  163. }
  164. public Criteria andIdGreaterThanOrEqualTo(Integer value) {
  165. addCriterion("id >=", value, "id");
  166. return (Criteria) this;
  167. }
  168. public Criteria andIdLessThan(Integer value) {
  169. addCriterion("id <", value, "id");
  170. return (Criteria) this;
  171. }
  172. public Criteria andIdLessThanOrEqualTo(Integer value) {
  173. addCriterion("id <=", value, "id");
  174. return (Criteria) this;
  175. }
  176. public Criteria andIdIn(List<Integer> values) {
  177. addCriterion("id in", values, "id");
  178. return (Criteria) this;
  179. }
  180. public Criteria andIdNotIn(List<Integer> values) {
  181. addCriterion("id not in", values, "id");
  182. return (Criteria) this;
  183. }
  184. public Criteria andIdBetween(Integer value1, Integer value2) {
  185. addCriterion("id between", value1, value2, "id");
  186. return (Criteria) this;
  187. }
  188. public Criteria andIdNotBetween(Integer value1, Integer value2) {
  189. addCriterion("id not between", value1, value2, "id");
  190. return (Criteria) this;
  191. }
  192. public Criteria andIsShareIsNull() {
  193. addCriterion("is_share is null");
  194. return (Criteria) this;
  195. }
  196. public Criteria andIsShareIsNotNull() {
  197. addCriterion("is_share is not null");
  198. return (Criteria) this;
  199. }
  200. public Criteria andIsShareEqualTo(Integer value) {
  201. addCriterion("is_share =", value, "isShare");
  202. return (Criteria) this;
  203. }
  204. public Criteria andIsShareNotEqualTo(Integer value) {
  205. addCriterion("is_share <>", value, "isShare");
  206. return (Criteria) this;
  207. }
  208. public Criteria andIsShareGreaterThan(Integer value) {
  209. addCriterion("is_share >", value, "isShare");
  210. return (Criteria) this;
  211. }
  212. public Criteria andIsShareGreaterThanOrEqualTo(Integer value) {
  213. addCriterion("is_share >=", value, "isShare");
  214. return (Criteria) this;
  215. }
  216. public Criteria andIsShareLessThan(Integer value) {
  217. addCriterion("is_share <", value, "isShare");
  218. return (Criteria) this;
  219. }
  220. public Criteria andIsShareLessThanOrEqualTo(Integer value) {
  221. addCriterion("is_share <=", value, "isShare");
  222. return (Criteria) this;
  223. }
  224. public Criteria andIsShareIn(List<Integer> values) {
  225. addCriterion("is_share in", values, "isShare");
  226. return (Criteria) this;
  227. }
  228. public Criteria andIsShareNotIn(List<Integer> values) {
  229. addCriterion("is_share not in", values, "isShare");
  230. return (Criteria) this;
  231. }
  232. public Criteria andIsShareBetween(Integer value1, Integer value2) {
  233. addCriterion("is_share between", value1, value2, "isShare");
  234. return (Criteria) this;
  235. }
  236. public Criteria andIsShareNotBetween(Integer value1, Integer value2) {
  237. addCriterion("is_share not between", value1, value2, "isShare");
  238. return (Criteria) this;
  239. }
  240. public Criteria andOpportunityCountIsNull() {
  241. addCriterion("opportunity_count is null");
  242. return (Criteria) this;
  243. }
  244. public Criteria andOpportunityCountIsNotNull() {
  245. addCriterion("opportunity_count is not null");
  246. return (Criteria) this;
  247. }
  248. public Criteria andOpportunityCountEqualTo(Integer value) {
  249. addCriterion("opportunity_count =", value, "opportunityCount");
  250. return (Criteria) this;
  251. }
  252. public Criteria andOpportunityCountNotEqualTo(Integer value) {
  253. addCriterion("opportunity_count <>", value, "opportunityCount");
  254. return (Criteria) this;
  255. }
  256. public Criteria andOpportunityCountGreaterThan(Integer value) {
  257. addCriterion("opportunity_count >", value, "opportunityCount");
  258. return (Criteria) this;
  259. }
  260. public Criteria andOpportunityCountGreaterThanOrEqualTo(Integer value) {
  261. addCriterion("opportunity_count >=", value, "opportunityCount");
  262. return (Criteria) this;
  263. }
  264. public Criteria andOpportunityCountLessThan(Integer value) {
  265. addCriterion("opportunity_count <", value, "opportunityCount");
  266. return (Criteria) this;
  267. }
  268. public Criteria andOpportunityCountLessThanOrEqualTo(Integer value) {
  269. addCriterion("opportunity_count <=", value, "opportunityCount");
  270. return (Criteria) this;
  271. }
  272. public Criteria andOpportunityCountIn(List<Integer> values) {
  273. addCriterion("opportunity_count in", values, "opportunityCount");
  274. return (Criteria) this;
  275. }
  276. public Criteria andOpportunityCountNotIn(List<Integer> values) {
  277. addCriterion("opportunity_count not in", values, "opportunityCount");
  278. return (Criteria) this;
  279. }
  280. public Criteria andOpportunityCountBetween(Integer value1, Integer value2) {
  281. addCriterion("opportunity_count between", value1, value2, "opportunityCount");
  282. return (Criteria) this;
  283. }
  284. public Criteria andOpportunityCountNotBetween(Integer value1, Integer value2) {
  285. addCriterion("opportunity_count not between", value1, value2, "opportunityCount");
  286. return (Criteria) this;
  287. }
  288. public Criteria andIndateIsNull() {
  289. addCriterion("indate is null");
  290. return (Criteria) this;
  291. }
  292. public Criteria andIndateIsNotNull() {
  293. addCriterion("indate is not null");
  294. return (Criteria) this;
  295. }
  296. public Criteria andIndateEqualTo(Date value) {
  297. addCriterion("indate =", value, "indate");
  298. return (Criteria) this;
  299. }
  300. public Criteria andIndateNotEqualTo(Date value) {
  301. addCriterion("indate <>", value, "indate");
  302. return (Criteria) this;
  303. }
  304. public Criteria andIndateGreaterThan(Date value) {
  305. addCriterion("indate >", value, "indate");
  306. return (Criteria) this;
  307. }
  308. public Criteria andIndateGreaterThanOrEqualTo(Date value) {
  309. addCriterion("indate >=", value, "indate");
  310. return (Criteria) this;
  311. }
  312. public Criteria andIndateLessThan(Date value) {
  313. addCriterion("indate <", value, "indate");
  314. return (Criteria) this;
  315. }
  316. public Criteria andIndateLessThanOrEqualTo(Date value) {
  317. addCriterion("indate <=", value, "indate");
  318. return (Criteria) this;
  319. }
  320. public Criteria andIndateIn(List<Date> values) {
  321. addCriterion("indate in", values, "indate");
  322. return (Criteria) this;
  323. }
  324. public Criteria andIndateNotIn(List<Date> values) {
  325. addCriterion("indate not in", values, "indate");
  326. return (Criteria) this;
  327. }
  328. public Criteria andIndateBetween(Date value1, Date value2) {
  329. addCriterion("indate between", value1, value2, "indate");
  330. return (Criteria) this;
  331. }
  332. public Criteria andIndateNotBetween(Date value1, Date value2) {
  333. addCriterion("indate not between", value1, value2, "indate");
  334. return (Criteria) this;
  335. }
  336. public Criteria andUidIsNull() {
  337. addCriterion("uid is null");
  338. return (Criteria) this;
  339. }
  340. public Criteria andUidIsNotNull() {
  341. addCriterion("uid is not null");
  342. return (Criteria) this;
  343. }
  344. public Criteria andUidEqualTo(String value) {
  345. addCriterion("uid =", value, "uid");
  346. return (Criteria) this;
  347. }
  348. public Criteria andUidNotEqualTo(String value) {
  349. addCriterion("uid <>", value, "uid");
  350. return (Criteria) this;
  351. }
  352. public Criteria andUidGreaterThan(String value) {
  353. addCriterion("uid >", value, "uid");
  354. return (Criteria) this;
  355. }
  356. public Criteria andUidGreaterThanOrEqualTo(String value) {
  357. addCriterion("uid >=", value, "uid");
  358. return (Criteria) this;
  359. }
  360. public Criteria andUidLessThan(String value) {
  361. addCriterion("uid <", value, "uid");
  362. return (Criteria) this;
  363. }
  364. public Criteria andUidLessThanOrEqualTo(String value) {
  365. addCriterion("uid <=", value, "uid");
  366. return (Criteria) this;
  367. }
  368. public Criteria andUidLike(String value) {
  369. addCriterion("uid like", value, "uid");
  370. return (Criteria) this;
  371. }
  372. public Criteria andUidNotLike(String value) {
  373. addCriterion("uid not like", value, "uid");
  374. return (Criteria) this;
  375. }
  376. public Criteria andUidIn(List<String> values) {
  377. addCriterion("uid in", values, "uid");
  378. return (Criteria) this;
  379. }
  380. public Criteria andUidNotIn(List<String> values) {
  381. addCriterion("uid not in", values, "uid");
  382. return (Criteria) this;
  383. }
  384. public Criteria andUidBetween(String value1, String value2) {
  385. addCriterion("uid between", value1, value2, "uid");
  386. return (Criteria) this;
  387. }
  388. public Criteria andUidNotBetween(String value1, String value2) {
  389. addCriterion("uid not between", value1, value2, "uid");
  390. return (Criteria) this;
  391. }
  392. }
  393. /**
  394. * This class was generated by MyBatis Generator. This class corresponds to the database table mini_prize_opportunity
  395. * @mbg.generated Mon Sep 23 14:20:05 CST 2019
  396. */
  397. public static class Criterion {
  398. private String condition;
  399. private Object value;
  400. private Object secondValue;
  401. private boolean noValue;
  402. private boolean singleValue;
  403. private boolean betweenValue;
  404. private boolean listValue;
  405. private String typeHandler;
  406. public String getCondition() {
  407. return condition;
  408. }
  409. public Object getValue() {
  410. return value;
  411. }
  412. public Object getSecondValue() {
  413. return secondValue;
  414. }
  415. public boolean isNoValue() {
  416. return noValue;
  417. }
  418. public boolean isSingleValue() {
  419. return singleValue;
  420. }
  421. public boolean isBetweenValue() {
  422. return betweenValue;
  423. }
  424. public boolean isListValue() {
  425. return listValue;
  426. }
  427. public String getTypeHandler() {
  428. return typeHandler;
  429. }
  430. protected Criterion(String condition) {
  431. super();
  432. this.condition = condition;
  433. this.typeHandler = null;
  434. this.noValue = true;
  435. }
  436. protected Criterion(String condition, Object value, String typeHandler) {
  437. super();
  438. this.condition = condition;
  439. this.value = value;
  440. this.typeHandler = typeHandler;
  441. if (value instanceof List<?>) {
  442. this.listValue = true;
  443. } else {
  444. this.singleValue = true;
  445. }
  446. }
  447. protected Criterion(String condition, Object value) {
  448. this(condition, value, null);
  449. }
  450. protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
  451. super();
  452. this.condition = condition;
  453. this.value = value;
  454. this.secondValue = secondValue;
  455. this.typeHandler = typeHandler;
  456. this.betweenValue = true;
  457. }
  458. protected Criterion(String condition, Object value, Object secondValue) {
  459. this(condition, value, secondValue, null);
  460. }
  461. }
  462. /**
  463. * This class was generated by MyBatis Generator.
  464. * This class corresponds to the database table mini_prize_opportunity
  465. *
  466. * @mbg.generated do_not_delete_during_merge Thu Sep 19 18:52:38 CST 2019
  467. */
  468. public static class Criteria extends GeneratedCriteria {
  469. protected Criteria() {
  470. super();
  471. }
  472. }
  473. }