PubFileResourcesExample.java 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749
  1. package com.minpay.db.table.model;
  2. import java.util.ArrayList;
  3. import java.util.List;
  4. public class PubFileResourcesExample {
  5. /**
  6. * This field was generated by MyBatis Generator.
  7. * This field corresponds to the database table pub_file_resources
  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_file_resources
  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_file_resources
  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_file_resources
  29. *
  30. * @mbggenerated
  31. */
  32. public PubFileResourcesExample() {
  33. oredCriteria = new ArrayList<Criteria>();
  34. }
  35. /**
  36. * This method was generated by MyBatis Generator.
  37. * This method corresponds to the database table pub_file_resources
  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_file_resources
  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_file_resources
  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_file_resources
  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_file_resources
  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_file_resources
  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_file_resources
  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_file_resources
  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_file_resources
  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_file_resources
  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_file_resources
  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 andNoIsNull() {
  171. addCriterion("FRS_NO is null");
  172. return (Criteria) this;
  173. }
  174. public Criteria andNoIsNotNull() {
  175. addCriterion("FRS_NO is not null");
  176. return (Criteria) this;
  177. }
  178. public Criteria andNoEqualTo(String value) {
  179. if(value == null ){
  180. andNoIsNull();
  181. } else {
  182. addCriterion("FRS_NO =", value, "no");
  183. }
  184. return (Criteria) this;
  185. }
  186. public Criteria andNoNotEqualTo(String value) {
  187. if(value == null ){
  188. andNoIsNotNull();
  189. } else {
  190. addCriterion("FRS_NO <>", value, "no");
  191. }
  192. return (Criteria) this;
  193. }
  194. public Criteria andNoGreaterThan(String value) {
  195. addCriterion("FRS_NO >", value, "no");
  196. return (Criteria) this;
  197. }
  198. public Criteria andNoGreaterThanOrEqualTo(String value) {
  199. addCriterion("FRS_NO >=", value, "no");
  200. return (Criteria) this;
  201. }
  202. public Criteria andNoLessThan(String value) {
  203. addCriterion("FRS_NO <", value, "no");
  204. return (Criteria) this;
  205. }
  206. public Criteria andNoLessThanOrEqualTo(String value) {
  207. addCriterion("FRS_NO <=", value, "no");
  208. return (Criteria) this;
  209. }
  210. public Criteria andNoLike(String value) {
  211. addCriterion("FRS_NO like", value, "no");
  212. return (Criteria) this;
  213. }
  214. public Criteria andNoNotLike(String value) {
  215. addCriterion("FRS_NO not like", value, "no");
  216. return (Criteria) this;
  217. }
  218. public Criteria andNoIn(List<String> values) {
  219. addCriterion("FRS_NO in", values, "no");
  220. return (Criteria) this;
  221. }
  222. public Criteria andNoNotIn(List<String> values) {
  223. addCriterion("FRS_NO not in", values, "no");
  224. return (Criteria) this;
  225. }
  226. public Criteria andNoBetween(String value1, String value2) {
  227. addCriterion("FRS_NO between", value1, value2, "no");
  228. return (Criteria) this;
  229. }
  230. public Criteria andNoNotBetween(String value1, String value2) {
  231. addCriterion("FRS_NO not between", value1, value2, "no");
  232. return (Criteria) this;
  233. }
  234. public Criteria andTypeIsNull() {
  235. addCriterion("FRS_TYPE is null");
  236. return (Criteria) this;
  237. }
  238. public Criteria andTypeIsNotNull() {
  239. addCriterion("FRS_TYPE is not null");
  240. return (Criteria) this;
  241. }
  242. public Criteria andTypeEqualTo(String value) {
  243. if(value == null ){
  244. andTypeIsNull();
  245. } else {
  246. addCriterion("FRS_TYPE =", value, "type");
  247. }
  248. return (Criteria) this;
  249. }
  250. public Criteria andTypeNotEqualTo(String value) {
  251. if(value == null ){
  252. andTypeIsNotNull();
  253. } else {
  254. addCriterion("FRS_TYPE <>", value, "type");
  255. }
  256. return (Criteria) this;
  257. }
  258. public Criteria andTypeGreaterThan(String value) {
  259. addCriterion("FRS_TYPE >", value, "type");
  260. return (Criteria) this;
  261. }
  262. public Criteria andTypeGreaterThanOrEqualTo(String value) {
  263. addCriterion("FRS_TYPE >=", value, "type");
  264. return (Criteria) this;
  265. }
  266. public Criteria andTypeLessThan(String value) {
  267. addCriterion("FRS_TYPE <", value, "type");
  268. return (Criteria) this;
  269. }
  270. public Criteria andTypeLessThanOrEqualTo(String value) {
  271. addCriterion("FRS_TYPE <=", value, "type");
  272. return (Criteria) this;
  273. }
  274. public Criteria andTypeLike(String value) {
  275. addCriterion("FRS_TYPE like", value, "type");
  276. return (Criteria) this;
  277. }
  278. public Criteria andTypeNotLike(String value) {
  279. addCriterion("FRS_TYPE not like", value, "type");
  280. return (Criteria) this;
  281. }
  282. public Criteria andTypeIn(List<String> values) {
  283. addCriterion("FRS_TYPE in", values, "type");
  284. return (Criteria) this;
  285. }
  286. public Criteria andTypeNotIn(List<String> values) {
  287. addCriterion("FRS_TYPE not in", values, "type");
  288. return (Criteria) this;
  289. }
  290. public Criteria andTypeBetween(String value1, String value2) {
  291. addCriterion("FRS_TYPE between", value1, value2, "type");
  292. return (Criteria) this;
  293. }
  294. public Criteria andTypeNotBetween(String value1, String value2) {
  295. addCriterion("FRS_TYPE not between", value1, value2, "type");
  296. return (Criteria) this;
  297. }
  298. public Criteria andSourceIsNull() {
  299. addCriterion("FRS_SOURCE is null");
  300. return (Criteria) this;
  301. }
  302. public Criteria andSourceIsNotNull() {
  303. addCriterion("FRS_SOURCE is not null");
  304. return (Criteria) this;
  305. }
  306. public Criteria andSourceEqualTo(String value) {
  307. if(value == null ){
  308. andSourceIsNull();
  309. } else {
  310. addCriterion("FRS_SOURCE =", value, "source");
  311. }
  312. return (Criteria) this;
  313. }
  314. public Criteria andSourceNotEqualTo(String value) {
  315. if(value == null ){
  316. andSourceIsNotNull();
  317. } else {
  318. addCriterion("FRS_SOURCE <>", value, "source");
  319. }
  320. return (Criteria) this;
  321. }
  322. public Criteria andSourceGreaterThan(String value) {
  323. addCriterion("FRS_SOURCE >", value, "source");
  324. return (Criteria) this;
  325. }
  326. public Criteria andSourceGreaterThanOrEqualTo(String value) {
  327. addCriterion("FRS_SOURCE >=", value, "source");
  328. return (Criteria) this;
  329. }
  330. public Criteria andSourceLessThan(String value) {
  331. addCriterion("FRS_SOURCE <", value, "source");
  332. return (Criteria) this;
  333. }
  334. public Criteria andSourceLessThanOrEqualTo(String value) {
  335. addCriterion("FRS_SOURCE <=", value, "source");
  336. return (Criteria) this;
  337. }
  338. public Criteria andSourceLike(String value) {
  339. addCriterion("FRS_SOURCE like", value, "source");
  340. return (Criteria) this;
  341. }
  342. public Criteria andSourceNotLike(String value) {
  343. addCriterion("FRS_SOURCE not like", value, "source");
  344. return (Criteria) this;
  345. }
  346. public Criteria andSourceIn(List<String> values) {
  347. addCriterion("FRS_SOURCE in", values, "source");
  348. return (Criteria) this;
  349. }
  350. public Criteria andSourceNotIn(List<String> values) {
  351. addCriterion("FRS_SOURCE not in", values, "source");
  352. return (Criteria) this;
  353. }
  354. public Criteria andSourceBetween(String value1, String value2) {
  355. addCriterion("FRS_SOURCE between", value1, value2, "source");
  356. return (Criteria) this;
  357. }
  358. public Criteria andSourceNotBetween(String value1, String value2) {
  359. addCriterion("FRS_SOURCE not between", value1, value2, "source");
  360. return (Criteria) this;
  361. }
  362. public Criteria andFileNameIsNull() {
  363. addCriterion("FRS_FILE_NAME is null");
  364. return (Criteria) this;
  365. }
  366. public Criteria andFileNameIsNotNull() {
  367. addCriterion("FRS_FILE_NAME is not null");
  368. return (Criteria) this;
  369. }
  370. public Criteria andFileNameEqualTo(String value) {
  371. if(value == null ){
  372. andFileNameIsNull();
  373. } else {
  374. addCriterion("FRS_FILE_NAME =", value, "fileName");
  375. }
  376. return (Criteria) this;
  377. }
  378. public Criteria andFileNameNotEqualTo(String value) {
  379. if(value == null ){
  380. andFileNameIsNotNull();
  381. } else {
  382. addCriterion("FRS_FILE_NAME <>", value, "fileName");
  383. }
  384. return (Criteria) this;
  385. }
  386. public Criteria andFileNameGreaterThan(String value) {
  387. addCriterion("FRS_FILE_NAME >", value, "fileName");
  388. return (Criteria) this;
  389. }
  390. public Criteria andFileNameGreaterThanOrEqualTo(String value) {
  391. addCriterion("FRS_FILE_NAME >=", value, "fileName");
  392. return (Criteria) this;
  393. }
  394. public Criteria andFileNameLessThan(String value) {
  395. addCriterion("FRS_FILE_NAME <", value, "fileName");
  396. return (Criteria) this;
  397. }
  398. public Criteria andFileNameLessThanOrEqualTo(String value) {
  399. addCriterion("FRS_FILE_NAME <=", value, "fileName");
  400. return (Criteria) this;
  401. }
  402. public Criteria andFileNameLike(String value) {
  403. addCriterion("FRS_FILE_NAME like", value, "fileName");
  404. return (Criteria) this;
  405. }
  406. public Criteria andFileNameNotLike(String value) {
  407. addCriterion("FRS_FILE_NAME not like", value, "fileName");
  408. return (Criteria) this;
  409. }
  410. public Criteria andFileNameIn(List<String> values) {
  411. addCriterion("FRS_FILE_NAME in", values, "fileName");
  412. return (Criteria) this;
  413. }
  414. public Criteria andFileNameNotIn(List<String> values) {
  415. addCriterion("FRS_FILE_NAME not in", values, "fileName");
  416. return (Criteria) this;
  417. }
  418. public Criteria andFileNameBetween(String value1, String value2) {
  419. addCriterion("FRS_FILE_NAME between", value1, value2, "fileName");
  420. return (Criteria) this;
  421. }
  422. public Criteria andFileNameNotBetween(String value1, String value2) {
  423. addCriterion("FRS_FILE_NAME not between", value1, value2, "fileName");
  424. return (Criteria) this;
  425. }
  426. public Criteria andFileUrlIsNull() {
  427. addCriterion("FRS_FILE_URL is null");
  428. return (Criteria) this;
  429. }
  430. public Criteria andFileUrlIsNotNull() {
  431. addCriterion("FRS_FILE_URL is not null");
  432. return (Criteria) this;
  433. }
  434. public Criteria andFileUrlEqualTo(String value) {
  435. if(value == null ){
  436. andFileUrlIsNull();
  437. } else {
  438. addCriterion("FRS_FILE_URL =", value, "fileUrl");
  439. }
  440. return (Criteria) this;
  441. }
  442. public Criteria andFileUrlNotEqualTo(String value) {
  443. if(value == null ){
  444. andFileUrlIsNotNull();
  445. } else {
  446. addCriterion("FRS_FILE_URL <>", value, "fileUrl");
  447. }
  448. return (Criteria) this;
  449. }
  450. public Criteria andFileUrlGreaterThan(String value) {
  451. addCriterion("FRS_FILE_URL >", value, "fileUrl");
  452. return (Criteria) this;
  453. }
  454. public Criteria andFileUrlGreaterThanOrEqualTo(String value) {
  455. addCriterion("FRS_FILE_URL >=", value, "fileUrl");
  456. return (Criteria) this;
  457. }
  458. public Criteria andFileUrlLessThan(String value) {
  459. addCriterion("FRS_FILE_URL <", value, "fileUrl");
  460. return (Criteria) this;
  461. }
  462. public Criteria andFileUrlLessThanOrEqualTo(String value) {
  463. addCriterion("FRS_FILE_URL <=", value, "fileUrl");
  464. return (Criteria) this;
  465. }
  466. public Criteria andFileUrlLike(String value) {
  467. addCriterion("FRS_FILE_URL like", value, "fileUrl");
  468. return (Criteria) this;
  469. }
  470. public Criteria andFileUrlNotLike(String value) {
  471. addCriterion("FRS_FILE_URL not like", value, "fileUrl");
  472. return (Criteria) this;
  473. }
  474. public Criteria andFileUrlIn(List<String> values) {
  475. addCriterion("FRS_FILE_URL in", values, "fileUrl");
  476. return (Criteria) this;
  477. }
  478. public Criteria andFileUrlNotIn(List<String> values) {
  479. addCriterion("FRS_FILE_URL not in", values, "fileUrl");
  480. return (Criteria) this;
  481. }
  482. public Criteria andFileUrlBetween(String value1, String value2) {
  483. addCriterion("FRS_FILE_URL between", value1, value2, "fileUrl");
  484. return (Criteria) this;
  485. }
  486. public Criteria andFileUrlNotBetween(String value1, String value2) {
  487. addCriterion("FRS_FILE_URL not between", value1, value2, "fileUrl");
  488. return (Criteria) this;
  489. }
  490. public Criteria andCreatetimeIsNull() {
  491. addCriterion("FRS_CREATETIME is null");
  492. return (Criteria) this;
  493. }
  494. public Criteria andCreatetimeIsNotNull() {
  495. addCriterion("FRS_CREATETIME is not null");
  496. return (Criteria) this;
  497. }
  498. public Criteria andCreatetimeEqualTo(String value) {
  499. if(value == null ){
  500. andCreatetimeIsNull();
  501. } else {
  502. addCriterion("FRS_CREATETIME =", value, "createtime");
  503. }
  504. return (Criteria) this;
  505. }
  506. public Criteria andCreatetimeNotEqualTo(String value) {
  507. if(value == null ){
  508. andCreatetimeIsNotNull();
  509. } else {
  510. addCriterion("FRS_CREATETIME <>", value, "createtime");
  511. }
  512. return (Criteria) this;
  513. }
  514. public Criteria andCreatetimeGreaterThan(String value) {
  515. addCriterion("FRS_CREATETIME >", value, "createtime");
  516. return (Criteria) this;
  517. }
  518. public Criteria andCreatetimeGreaterThanOrEqualTo(String value) {
  519. addCriterion("FRS_CREATETIME >=", value, "createtime");
  520. return (Criteria) this;
  521. }
  522. public Criteria andCreatetimeLessThan(String value) {
  523. addCriterion("FRS_CREATETIME <", value, "createtime");
  524. return (Criteria) this;
  525. }
  526. public Criteria andCreatetimeLessThanOrEqualTo(String value) {
  527. addCriterion("FRS_CREATETIME <=", value, "createtime");
  528. return (Criteria) this;
  529. }
  530. public Criteria andCreatetimeLike(String value) {
  531. addCriterion("FRS_CREATETIME like", value, "createtime");
  532. return (Criteria) this;
  533. }
  534. public Criteria andCreatetimeNotLike(String value) {
  535. addCriterion("FRS_CREATETIME not like", value, "createtime");
  536. return (Criteria) this;
  537. }
  538. public Criteria andCreatetimeIn(List<String> values) {
  539. addCriterion("FRS_CREATETIME in", values, "createtime");
  540. return (Criteria) this;
  541. }
  542. public Criteria andCreatetimeNotIn(List<String> values) {
  543. addCriterion("FRS_CREATETIME not in", values, "createtime");
  544. return (Criteria) this;
  545. }
  546. public Criteria andCreatetimeBetween(String value1, String value2) {
  547. addCriterion("FRS_CREATETIME between", value1, value2, "createtime");
  548. return (Criteria) this;
  549. }
  550. public Criteria andCreatetimeNotBetween(String value1, String value2) {
  551. addCriterion("FRS_CREATETIME not between", value1, value2, "createtime");
  552. return (Criteria) this;
  553. }
  554. }
  555. /**
  556. * This class was generated by MyBatis Generator.
  557. * This class corresponds to the database table pub_file_resources
  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_file_resources
  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. }