PeriodTemplateExample.java 44.8 KB
Newer Older
frank.xa.zhang's avatar
frank.xa.zhang committed
1
package pwc.taxtech.atms.vat.entity;
2 3 4 5 6 7 8 9

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PeriodTemplateExample {
    /**
     * This field was generated by MyBatis Generator.
10
     * This field corresponds to the database table period_template
11 12 13 14 15 16 17
     *
     * @mbg.generated
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
18
     * This field corresponds to the database table period_template
19 20 21 22 23 24 25
     *
     * @mbg.generated
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
26
     * This field corresponds to the database table period_template
27 28 29 30 31 32 33
     *
     * @mbg.generated
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
34
     * This method corresponds to the database table period_template
35 36 37 38 39 40 41 42 43
     *
     * @mbg.generated
     */
    public PeriodTemplateExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
44
     * This method corresponds to the database table period_template
45 46 47 48 49 50 51 52 53
     *
     * @mbg.generated
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
54
     * This method corresponds to the database table period_template
55 56 57 58 59 60 61 62 63
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
64
     * This method corresponds to the database table period_template
65 66 67 68 69 70 71 72 73
     *
     * @mbg.generated
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
74
     * This method corresponds to the database table period_template
75 76 77 78 79 80 81 82 83
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
84
     * This method corresponds to the database table period_template
85 86 87 88 89 90 91 92 93
     *
     * @mbg.generated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
94
     * This method corresponds to the database table period_template
95 96 97 98 99 100 101 102 103
     *
     * @mbg.generated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
104
     * This method corresponds to the database table period_template
105 106 107 108 109 110 111 112 113 114 115
     *
     * @mbg.generated
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
116
     * This method corresponds to the database table period_template
117 118 119 120 121 122 123 124 125 126 127 128 129
     *
     * @mbg.generated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
130
     * This method corresponds to the database table period_template
131 132 133 134 135 136 137 138 139 140
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
141
     * This method corresponds to the database table period_template
142 143 144 145 146 147 148 149 150 151 152
     *
     * @mbg.generated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
153
     * This class corresponds to the database table period_template
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197
     *
     * @mbg.generated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

198
        public Criteria andIdIsNull() {
199
            addCriterion("id is null");
200 201 202
            return (Criteria) this;
        }

203
        public Criteria andIdIsNotNull() {
204
            addCriterion("id is not null");
205 206 207
            return (Criteria) this;
        }

208
        public Criteria andIdEqualTo(Long value) {
209
            addCriterion("id =", value, "id");
210 211 212
            return (Criteria) this;
        }

213
        public Criteria andIdNotEqualTo(Long value) {
214
            addCriterion("id <>", value, "id");
215 216 217
            return (Criteria) this;
        }

218
        public Criteria andIdGreaterThan(Long value) {
219
            addCriterion("id >", value, "id");
220 221 222
            return (Criteria) this;
        }

223
        public Criteria andIdGreaterThanOrEqualTo(Long value) {
224
            addCriterion("id >=", value, "id");
225 226 227
            return (Criteria) this;
        }

228
        public Criteria andIdLessThan(Long value) {
229
            addCriterion("id <", value, "id");
230 231 232
            return (Criteria) this;
        }

233
        public Criteria andIdLessThanOrEqualTo(Long value) {
234
            addCriterion("id <=", value, "id");
235 236 237
            return (Criteria) this;
        }

238
        public Criteria andIdIn(List<Long> values) {
239
            addCriterion("id in", values, "id");
240 241 242
            return (Criteria) this;
        }

243
        public Criteria andIdNotIn(List<Long> values) {
244
            addCriterion("id not in", values, "id");
245 246 247
            return (Criteria) this;
        }

248
        public Criteria andIdBetween(Long value1, Long value2) {
249
            addCriterion("id between", value1, value2, "id");
250 251 252
            return (Criteria) this;
        }

253
        public Criteria andIdNotBetween(Long value1, Long value2) {
254
            addCriterion("id not between", value1, value2, "id");
255 256 257 258
            return (Criteria) this;
        }

        public Criteria andPeriodIsNull() {
259
            addCriterion("period is null");
260 261 262 263
            return (Criteria) this;
        }

        public Criteria andPeriodIsNotNull() {
264
            addCriterion("period is not null");
265 266 267 268
            return (Criteria) this;
        }

        public Criteria andPeriodEqualTo(Integer value) {
269
            addCriterion("period =", value, "period");
270 271 272 273
            return (Criteria) this;
        }

        public Criteria andPeriodNotEqualTo(Integer value) {
274
            addCriterion("period <>", value, "period");
275 276 277 278
            return (Criteria) this;
        }

        public Criteria andPeriodGreaterThan(Integer value) {
279
            addCriterion("period >", value, "period");
280 281 282 283
            return (Criteria) this;
        }

        public Criteria andPeriodGreaterThanOrEqualTo(Integer value) {
284
            addCriterion("period >=", value, "period");
285 286 287 288
            return (Criteria) this;
        }

        public Criteria andPeriodLessThan(Integer value) {
289
            addCriterion("period <", value, "period");
290 291 292 293
            return (Criteria) this;
        }

        public Criteria andPeriodLessThanOrEqualTo(Integer value) {
294
            addCriterion("period <=", value, "period");
295 296 297 298
            return (Criteria) this;
        }

        public Criteria andPeriodIn(List<Integer> values) {
299
            addCriterion("period in", values, "period");
300 301 302 303
            return (Criteria) this;
        }

        public Criteria andPeriodNotIn(List<Integer> values) {
304
            addCriterion("period not in", values, "period");
305 306 307 308
            return (Criteria) this;
        }

        public Criteria andPeriodBetween(Integer value1, Integer value2) {
309
            addCriterion("period between", value1, value2, "period");
310 311 312 313
            return (Criteria) this;
        }

        public Criteria andPeriodNotBetween(Integer value1, Integer value2) {
314
            addCriterion("period not between", value1, value2, "period");
315 316 317 318
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
319
            addCriterion("`name` is null");
320 321 322 323
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
324
            addCriterion("`name` is not null");
325 326 327 328
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
329
            addCriterion("`name` =", value, "name");
330 331 332 333
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
334
            addCriterion("`name` <>", value, "name");
335 336 337 338
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
339
            addCriterion("`name` >", value, "name");
340 341 342 343
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
344
            addCriterion("`name` >=", value, "name");
345 346 347 348
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
349
            addCriterion("`name` <", value, "name");
350 351 352 353
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
354
            addCriterion("`name` <=", value, "name");
355 356 357 358
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
359
            addCriterion("`name` like", value, "name");
360 361 362 363
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
364
            addCriterion("`name` not like", value, "name");
365 366 367 368
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
369
            addCriterion("`name` in", values, "name");
370 371 372 373
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
374
            addCriterion("`name` not in", values, "name");
375 376 377 378
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
379
            addCriterion("`name` between", value1, value2, "name");
380 381 382 383
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
384
            addCriterion("`name` not between", value1, value2, "name");
385 386 387 388
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
389
            addCriterion("code is null");
390 391 392 393
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
394
            addCriterion("code is not null");
395 396 397 398
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
399
            addCriterion("code =", value, "code");
400 401 402 403
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
404
            addCriterion("code <>", value, "code");
405 406 407 408
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
409
            addCriterion("code >", value, "code");
410 411 412 413
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
414
            addCriterion("code >=", value, "code");
415 416 417 418
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
419
            addCriterion("code <", value, "code");
420 421 422 423
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
424
            addCriterion("code <=", value, "code");
425 426 427 428
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
429
            addCriterion("code like", value, "code");
430 431 432 433
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
434
            addCriterion("code not like", value, "code");
435 436 437 438
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
439
            addCriterion("code in", values, "code");
440 441 442 443
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
444
            addCriterion("code not in", values, "code");
445 446 447 448
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
449
            addCriterion("code between", value1, value2, "code");
450 451 452 453
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
454
            addCriterion("code not between", value1, value2, "code");
455 456 457 458
            return (Criteria) this;
        }

        public Criteria andPathIsNull() {
459
            addCriterion("`path` is null");
460 461 462 463
            return (Criteria) this;
        }

        public Criteria andPathIsNotNull() {
464
            addCriterion("`path` is not null");
465 466 467 468
            return (Criteria) this;
        }

        public Criteria andPathEqualTo(String value) {
469
            addCriterion("`path` =", value, "path");
470 471 472 473
            return (Criteria) this;
        }

        public Criteria andPathNotEqualTo(String value) {
474
            addCriterion("`path` <>", value, "path");
475 476 477 478
            return (Criteria) this;
        }

        public Criteria andPathGreaterThan(String value) {
479
            addCriterion("`path` >", value, "path");
480 481 482 483
            return (Criteria) this;
        }

        public Criteria andPathGreaterThanOrEqualTo(String value) {
484
            addCriterion("`path` >=", value, "path");
485 486 487 488
            return (Criteria) this;
        }

        public Criteria andPathLessThan(String value) {
489
            addCriterion("`path` <", value, "path");
490 491 492 493
            return (Criteria) this;
        }

        public Criteria andPathLessThanOrEqualTo(String value) {
494
            addCriterion("`path` <=", value, "path");
495 496 497 498
            return (Criteria) this;
        }

        public Criteria andPathLike(String value) {
499
            addCriterion("`path` like", value, "path");
500 501 502 503
            return (Criteria) this;
        }

        public Criteria andPathNotLike(String value) {
504
            addCriterion("`path` not like", value, "path");
505 506 507 508
            return (Criteria) this;
        }

        public Criteria andPathIn(List<String> values) {
509
            addCriterion("`path` in", values, "path");
510 511 512 513
            return (Criteria) this;
        }

        public Criteria andPathNotIn(List<String> values) {
514
            addCriterion("`path` not in", values, "path");
515 516 517 518
            return (Criteria) this;
        }

        public Criteria andPathBetween(String value1, String value2) {
519
            addCriterion("`path` between", value1, value2, "path");
520 521 522 523
            return (Criteria) this;
        }

        public Criteria andPathNotBetween(String value1, String value2) {
524
            addCriterion("`path` not between", value1, value2, "path");
525 526 527 528
            return (Criteria) this;
        }

        public Criteria andReportTypeIsNull() {
529
            addCriterion("report_type is null");
530 531 532 533
            return (Criteria) this;
        }

        public Criteria andReportTypeIsNotNull() {
534
            addCriterion("report_type is not null");
535 536 537 538
            return (Criteria) this;
        }

        public Criteria andReportTypeEqualTo(Integer value) {
539
            addCriterion("report_type =", value, "reportType");
540 541 542 543
            return (Criteria) this;
        }

        public Criteria andReportTypeNotEqualTo(Integer value) {
544
            addCriterion("report_type <>", value, "reportType");
545 546 547 548
            return (Criteria) this;
        }

        public Criteria andReportTypeGreaterThan(Integer value) {
549
            addCriterion("report_type >", value, "reportType");
550 551 552 553
            return (Criteria) this;
        }

        public Criteria andReportTypeGreaterThanOrEqualTo(Integer value) {
554
            addCriterion("report_type >=", value, "reportType");
555 556 557 558
            return (Criteria) this;
        }

        public Criteria andReportTypeLessThan(Integer value) {
559
            addCriterion("report_type <", value, "reportType");
560 561 562 563
            return (Criteria) this;
        }

        public Criteria andReportTypeLessThanOrEqualTo(Integer value) {
564
            addCriterion("report_type <=", value, "reportType");
565 566 567 568
            return (Criteria) this;
        }

        public Criteria andReportTypeIn(List<Integer> values) {
569
            addCriterion("report_type in", values, "reportType");
570 571 572 573
            return (Criteria) this;
        }

        public Criteria andReportTypeNotIn(List<Integer> values) {
574
            addCriterion("report_type not in", values, "reportType");
575 576 577 578
            return (Criteria) this;
        }

        public Criteria andReportTypeBetween(Integer value1, Integer value2) {
579
            addCriterion("report_type between", value1, value2, "reportType");
580 581 582 583
            return (Criteria) this;
        }

        public Criteria andReportTypeNotBetween(Integer value1, Integer value2) {
584
            addCriterion("report_type not between", value1, value2, "reportType");
585 586 587
            return (Criteria) this;
        }

588
        public Criteria andTemplateGroupIdIsNull() {
589
            addCriterion("template_group_id is null");
590 591 592
            return (Criteria) this;
        }

593
        public Criteria andTemplateGroupIdIsNotNull() {
594
            addCriterion("template_group_id is not null");
595 596 597
            return (Criteria) this;
        }

598
        public Criteria andTemplateGroupIdEqualTo(Long value) {
599
            addCriterion("template_group_id =", value, "templateGroupId");
600 601 602
            return (Criteria) this;
        }

603
        public Criteria andTemplateGroupIdNotEqualTo(Long value) {
604
            addCriterion("template_group_id <>", value, "templateGroupId");
605 606 607
            return (Criteria) this;
        }

608
        public Criteria andTemplateGroupIdGreaterThan(Long value) {
609
            addCriterion("template_group_id >", value, "templateGroupId");
610 611 612
            return (Criteria) this;
        }

613
        public Criteria andTemplateGroupIdGreaterThanOrEqualTo(Long value) {
614
            addCriterion("template_group_id >=", value, "templateGroupId");
615 616 617
            return (Criteria) this;
        }

618
        public Criteria andTemplateGroupIdLessThan(Long value) {
619
            addCriterion("template_group_id <", value, "templateGroupId");
620 621 622
            return (Criteria) this;
        }

623
        public Criteria andTemplateGroupIdLessThanOrEqualTo(Long value) {
624
            addCriterion("template_group_id <=", value, "templateGroupId");
625 626 627
            return (Criteria) this;
        }

628
        public Criteria andTemplateGroupIdIn(List<Long> values) {
629
            addCriterion("template_group_id in", values, "templateGroupId");
630 631 632
            return (Criteria) this;
        }

633
        public Criteria andTemplateGroupIdNotIn(List<Long> values) {
634
            addCriterion("template_group_id not in", values, "templateGroupId");
635 636 637
            return (Criteria) this;
        }

638
        public Criteria andTemplateGroupIdBetween(Long value1, Long value2) {
639
            addCriterion("template_group_id between", value1, value2, "templateGroupId");
640 641 642
            return (Criteria) this;
        }

643
        public Criteria andTemplateGroupIdNotBetween(Long value1, Long value2) {
644
            addCriterion("template_group_id not between", value1, value2, "templateGroupId");
645 646 647 648
            return (Criteria) this;
        }

        public Criteria andOrderIndexIsNull() {
649
            addCriterion("order_index is null");
650 651 652 653
            return (Criteria) this;
        }

        public Criteria andOrderIndexIsNotNull() {
654
            addCriterion("order_index is not null");
655 656 657 658
            return (Criteria) this;
        }

        public Criteria andOrderIndexEqualTo(Integer value) {
659
            addCriterion("order_index =", value, "orderIndex");
660 661 662 663
            return (Criteria) this;
        }

        public Criteria andOrderIndexNotEqualTo(Integer value) {
664
            addCriterion("order_index <>", value, "orderIndex");
665 666 667 668
            return (Criteria) this;
        }

        public Criteria andOrderIndexGreaterThan(Integer value) {
669
            addCriterion("order_index >", value, "orderIndex");
670 671 672 673
            return (Criteria) this;
        }

        public Criteria andOrderIndexGreaterThanOrEqualTo(Integer value) {
674
            addCriterion("order_index >=", value, "orderIndex");
675 676 677 678
            return (Criteria) this;
        }

        public Criteria andOrderIndexLessThan(Integer value) {
679
            addCriterion("order_index <", value, "orderIndex");
680 681 682 683
            return (Criteria) this;
        }

        public Criteria andOrderIndexLessThanOrEqualTo(Integer value) {
684
            addCriterion("order_index <=", value, "orderIndex");
685 686 687 688
            return (Criteria) this;
        }

        public Criteria andOrderIndexIn(List<Integer> values) {
689
            addCriterion("order_index in", values, "orderIndex");
690 691 692 693
            return (Criteria) this;
        }

        public Criteria andOrderIndexNotIn(List<Integer> values) {
694
            addCriterion("order_index not in", values, "orderIndex");
695 696 697 698
            return (Criteria) this;
        }

        public Criteria andOrderIndexBetween(Integer value1, Integer value2) {
699
            addCriterion("order_index between", value1, value2, "orderIndex");
700 701 702 703
            return (Criteria) this;
        }

        public Criteria andOrderIndexNotBetween(Integer value1, Integer value2) {
704
            addCriterion("order_index not between", value1, value2, "orderIndex");
705 706 707 708
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
709
            addCriterion("create_time is null");
710 711 712 713
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
714
            addCriterion("create_time is not null");
715 716 717 718
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
719
            addCriterion("create_time =", value, "createTime");
720 721 722 723
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
724
            addCriterion("create_time <>", value, "createTime");
725 726 727 728
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
729
            addCriterion("create_time >", value, "createTime");
730 731 732 733
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
734
            addCriterion("create_time >=", value, "createTime");
735 736 737 738
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
739
            addCriterion("create_time <", value, "createTime");
740 741 742 743
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
744
            addCriterion("create_time <=", value, "createTime");
745 746 747 748
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
749
            addCriterion("create_time in", values, "createTime");
750 751 752 753
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
754
            addCriterion("create_time not in", values, "createTime");
755 756 757 758
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
759
            addCriterion("create_time between", value1, value2, "createTime");
760 761 762 763
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
764
            addCriterion("create_time not between", value1, value2, "createTime");
765 766 767 768
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
769
            addCriterion("update_time is null");
770 771 772 773
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
774
            addCriterion("update_time is not null");
775 776 777 778
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
779
            addCriterion("update_time =", value, "updateTime");
780 781 782 783
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
784
            addCriterion("update_time <>", value, "updateTime");
785 786 787 788
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
789
            addCriterion("update_time >", value, "updateTime");
790 791 792 793
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
794
            addCriterion("update_time >=", value, "updateTime");
795 796 797 798
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
799
            addCriterion("update_time <", value, "updateTime");
800 801 802 803
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
804
            addCriterion("update_time <=", value, "updateTime");
805 806 807 808
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
809
            addCriterion("update_time in", values, "updateTime");
810 811 812 813
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
814
            addCriterion("update_time not in", values, "updateTime");
815 816 817 818
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
819
            addCriterion("update_time between", value1, value2, "updateTime");
820 821 822 823
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
824
            addCriterion("update_time not between", value1, value2, "updateTime");
825 826 827 828
            return (Criteria) this;
        }

        public Criteria andIsSystemTypeIsNull() {
829
            addCriterion("is_system_type is null");
830 831 832 833
            return (Criteria) this;
        }

        public Criteria andIsSystemTypeIsNotNull() {
834
            addCriterion("is_system_type is not null");
835 836 837
            return (Criteria) this;
        }

838
        public Criteria andIsSystemTypeEqualTo(Boolean value) {
839
            addCriterion("is_system_type =", value, "isSystemType");
840 841 842
            return (Criteria) this;
        }

843
        public Criteria andIsSystemTypeNotEqualTo(Boolean value) {
844
            addCriterion("is_system_type <>", value, "isSystemType");
845 846 847
            return (Criteria) this;
        }

848
        public Criteria andIsSystemTypeGreaterThan(Boolean value) {
849
            addCriterion("is_system_type >", value, "isSystemType");
850 851 852
            return (Criteria) this;
        }

853
        public Criteria andIsSystemTypeGreaterThanOrEqualTo(Boolean value) {
854
            addCriterion("is_system_type >=", value, "isSystemType");
855 856 857
            return (Criteria) this;
        }

858
        public Criteria andIsSystemTypeLessThan(Boolean value) {
859
            addCriterion("is_system_type <", value, "isSystemType");
860 861 862
            return (Criteria) this;
        }

863
        public Criteria andIsSystemTypeLessThanOrEqualTo(Boolean value) {
864
            addCriterion("is_system_type <=", value, "isSystemType");
865 866 867
            return (Criteria) this;
        }

868
        public Criteria andIsSystemTypeIn(List<Boolean> values) {
869
            addCriterion("is_system_type in", values, "isSystemType");
870 871 872
            return (Criteria) this;
        }

873
        public Criteria andIsSystemTypeNotIn(List<Boolean> values) {
874
            addCriterion("is_system_type not in", values, "isSystemType");
875 876 877
            return (Criteria) this;
        }

878
        public Criteria andIsSystemTypeBetween(Boolean value1, Boolean value2) {
879
            addCriterion("is_system_type between", value1, value2, "isSystemType");
880 881 882
            return (Criteria) this;
        }

883
        public Criteria andIsSystemTypeNotBetween(Boolean value1, Boolean value2) {
884
            addCriterion("is_system_type not between", value1, value2, "isSystemType");
885 886 887 888
            return (Criteria) this;
        }

        public Criteria andIsActiveAssociationIsNull() {
889
            addCriterion("is_active_association is null");
890 891 892 893
            return (Criteria) this;
        }

        public Criteria andIsActiveAssociationIsNotNull() {
894
            addCriterion("is_active_association is not null");
895 896 897
            return (Criteria) this;
        }

898
        public Criteria andIsActiveAssociationEqualTo(Boolean value) {
899
            addCriterion("is_active_association =", value, "isActiveAssociation");
900 901 902
            return (Criteria) this;
        }

903
        public Criteria andIsActiveAssociationNotEqualTo(Boolean value) {
904
            addCriterion("is_active_association <>", value, "isActiveAssociation");
905 906 907
            return (Criteria) this;
        }

908
        public Criteria andIsActiveAssociationGreaterThan(Boolean value) {
909
            addCriterion("is_active_association >", value, "isActiveAssociation");
910 911 912
            return (Criteria) this;
        }

913
        public Criteria andIsActiveAssociationGreaterThanOrEqualTo(Boolean value) {
914
            addCriterion("is_active_association >=", value, "isActiveAssociation");
915 916 917
            return (Criteria) this;
        }

918
        public Criteria andIsActiveAssociationLessThan(Boolean value) {
919
            addCriterion("is_active_association <", value, "isActiveAssociation");
920 921 922
            return (Criteria) this;
        }

923
        public Criteria andIsActiveAssociationLessThanOrEqualTo(Boolean value) {
924
            addCriterion("is_active_association <=", value, "isActiveAssociation");
925 926 927
            return (Criteria) this;
        }

928
        public Criteria andIsActiveAssociationIn(List<Boolean> values) {
929
            addCriterion("is_active_association in", values, "isActiveAssociation");
930 931 932
            return (Criteria) this;
        }

933
        public Criteria andIsActiveAssociationNotIn(List<Boolean> values) {
934
            addCriterion("is_active_association not in", values, "isActiveAssociation");
935 936 937
            return (Criteria) this;
        }

938
        public Criteria andIsActiveAssociationBetween(Boolean value1, Boolean value2) {
939
            addCriterion("is_active_association between", value1, value2, "isActiveAssociation");
940 941 942
            return (Criteria) this;
        }

943
        public Criteria andIsActiveAssociationNotBetween(Boolean value1, Boolean value2) {
944
            addCriterion("is_active_association not between", value1, value2, "isActiveAssociation");
945 946 947 948
            return (Criteria) this;
        }

        public Criteria andParentIdIsNull() {
949
            addCriterion("parent_id is null");
950 951 952 953
            return (Criteria) this;
        }

        public Criteria andParentIdIsNotNull() {
954
            addCriterion("parent_id is not null");
955 956 957 958
            return (Criteria) this;
        }

        public Criteria andParentIdEqualTo(String value) {
959
            addCriterion("parent_id =", value, "parentId");
960 961 962 963
            return (Criteria) this;
        }

        public Criteria andParentIdNotEqualTo(String value) {
964
            addCriterion("parent_id <>", value, "parentId");
965 966 967 968
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThan(String value) {
969
            addCriterion("parent_id >", value, "parentId");
970 971 972 973
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThanOrEqualTo(String value) {
974
            addCriterion("parent_id >=", value, "parentId");
975 976 977 978
            return (Criteria) this;
        }

        public Criteria andParentIdLessThan(String value) {
979
            addCriterion("parent_id <", value, "parentId");
980 981 982 983
            return (Criteria) this;
        }

        public Criteria andParentIdLessThanOrEqualTo(String value) {
984
            addCriterion("parent_id <=", value, "parentId");
985 986 987 988
            return (Criteria) this;
        }

        public Criteria andParentIdLike(String value) {
989
            addCriterion("parent_id like", value, "parentId");
990 991 992 993
            return (Criteria) this;
        }

        public Criteria andParentIdNotLike(String value) {
994
            addCriterion("parent_id not like", value, "parentId");
995 996 997 998
            return (Criteria) this;
        }

        public Criteria andParentIdIn(List<String> values) {
999
            addCriterion("parent_id in", values, "parentId");
1000 1001 1002 1003
            return (Criteria) this;
        }

        public Criteria andParentIdNotIn(List<String> values) {
1004
            addCriterion("parent_id not in", values, "parentId");
1005 1006 1007 1008
            return (Criteria) this;
        }

        public Criteria andParentIdBetween(String value1, String value2) {
1009
            addCriterion("parent_id between", value1, value2, "parentId");
1010 1011 1012 1013
            return (Criteria) this;
        }

        public Criteria andParentIdNotBetween(String value1, String value2) {
1014
            addCriterion("parent_id not between", value1, value2, "parentId");
1015 1016 1017 1018
            return (Criteria) this;
        }

        public Criteria andTemplateIdIsNull() {
1019
            addCriterion("template_id is null");
1020 1021 1022 1023
            return (Criteria) this;
        }

        public Criteria andTemplateIdIsNotNull() {
1024
            addCriterion("template_id is not null");
1025 1026 1027 1028
            return (Criteria) this;
        }

        public Criteria andTemplateIdEqualTo(Long value) {
1029
            addCriterion("template_id =", value, "templateId");
1030 1031 1032 1033
            return (Criteria) this;
        }

        public Criteria andTemplateIdNotEqualTo(Long value) {
1034
            addCriterion("template_id <>", value, "templateId");
1035 1036 1037 1038
            return (Criteria) this;
        }

        public Criteria andTemplateIdGreaterThan(Long value) {
1039
            addCriterion("template_id >", value, "templateId");
1040 1041 1042 1043
            return (Criteria) this;
        }

        public Criteria andTemplateIdGreaterThanOrEqualTo(Long value) {
1044
            addCriterion("template_id >=", value, "templateId");
1045 1046 1047 1048
            return (Criteria) this;
        }

        public Criteria andTemplateIdLessThan(Long value) {
1049
            addCriterion("template_id <", value, "templateId");
1050 1051 1052 1053
            return (Criteria) this;
        }

        public Criteria andTemplateIdLessThanOrEqualTo(Long value) {
1054
            addCriterion("template_id <=", value, "templateId");
1055 1056 1057 1058
            return (Criteria) this;
        }

        public Criteria andTemplateIdIn(List<Long> values) {
1059
            addCriterion("template_id in", values, "templateId");
1060 1061 1062 1063
            return (Criteria) this;
        }

        public Criteria andTemplateIdNotIn(List<Long> values) {
1064
            addCriterion("template_id not in", values, "templateId");
1065 1066 1067 1068
            return (Criteria) this;
        }

        public Criteria andTemplateIdBetween(Long value1, Long value2) {
1069
            addCriterion("template_id between", value1, value2, "templateId");
1070 1071 1072 1073
            return (Criteria) this;
        }

        public Criteria andTemplateIdNotBetween(Long value1, Long value2) {
1074
            addCriterion("template_id not between", value1, value2, "templateId");
1075 1076 1077 1078
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
1079
            addCriterion("create_by is null");
1080 1081 1082 1083
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
1084
            addCriterion("create_by is not null");
1085 1086 1087 1088
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
1089
            addCriterion("create_by =", value, "createBy");
1090 1091 1092 1093
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
1094
            addCriterion("create_by <>", value, "createBy");
1095 1096 1097 1098
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
1099
            addCriterion("create_by >", value, "createBy");
1100 1101 1102 1103
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
1104
            addCriterion("create_by >=", value, "createBy");
1105 1106 1107 1108
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
1109
            addCriterion("create_by <", value, "createBy");
1110 1111 1112 1113
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
1114
            addCriterion("create_by <=", value, "createBy");
1115 1116 1117 1118
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
1119
            addCriterion("create_by like", value, "createBy");
1120 1121 1122 1123
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
1124
            addCriterion("create_by not like", value, "createBy");
1125 1126 1127 1128
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
1129
            addCriterion("create_by in", values, "createBy");
1130 1131 1132 1133
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
1134
            addCriterion("create_by not in", values, "createBy");
1135 1136 1137 1138
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
1139
            addCriterion("create_by between", value1, value2, "createBy");
1140 1141 1142 1143
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
1144
            addCriterion("create_by not between", value1, value2, "createBy");
1145 1146 1147 1148
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
1149
            addCriterion("update_by is null");
1150 1151 1152 1153
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
1154
            addCriterion("update_by is not null");
1155 1156 1157 1158
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
1159
            addCriterion("update_by =", value, "updateBy");
1160 1161 1162 1163
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
1164
            addCriterion("update_by <>", value, "updateBy");
1165 1166 1167 1168
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
1169
            addCriterion("update_by >", value, "updateBy");
1170 1171 1172 1173
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
1174
            addCriterion("update_by >=", value, "updateBy");
1175 1176 1177 1178
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
1179
            addCriterion("update_by <", value, "updateBy");
1180 1181 1182 1183
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
1184
            addCriterion("update_by <=", value, "updateBy");
1185 1186 1187 1188
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
1189
            addCriterion("update_by like", value, "updateBy");
1190 1191 1192 1193
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
1194
            addCriterion("update_by not like", value, "updateBy");
1195 1196 1197 1198
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
1199
            addCriterion("update_by in", values, "updateBy");
1200 1201 1202 1203
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
1204
            addCriterion("update_by not in", values, "updateBy");
1205 1206 1207 1208
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
1209
            addCriterion("update_by between", value1, value2, "updateBy");
1210 1211 1212 1213
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
1214
            addCriterion("update_by not between", value1, value2, "updateBy");
1215 1216
            return (Criteria) this;
        }
neo's avatar
neo committed
1217 1218

        public Criteria andProjectIdIsNull() {
1219
            addCriterion("project_id is null");
neo's avatar
neo committed
1220 1221 1222 1223
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNotNull() {
1224
            addCriterion("project_id is not null");
neo's avatar
neo committed
1225 1226 1227 1228
            return (Criteria) this;
        }

        public Criteria andProjectIdEqualTo(String value) {
1229
            addCriterion("project_id =", value, "projectId");
neo's avatar
neo committed
1230 1231 1232 1233
            return (Criteria) this;
        }

        public Criteria andProjectIdNotEqualTo(String value) {
1234
            addCriterion("project_id <>", value, "projectId");
neo's avatar
neo committed
1235 1236 1237 1238
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThan(String value) {
1239
            addCriterion("project_id >", value, "projectId");
neo's avatar
neo committed
1240 1241 1242 1243
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanOrEqualTo(String value) {
1244
            addCriterion("project_id >=", value, "projectId");
neo's avatar
neo committed
1245 1246 1247 1248
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThan(String value) {
1249
            addCriterion("project_id <", value, "projectId");
neo's avatar
neo committed
1250 1251 1252 1253
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanOrEqualTo(String value) {
1254
            addCriterion("project_id <=", value, "projectId");
neo's avatar
neo committed
1255 1256 1257 1258
            return (Criteria) this;
        }

        public Criteria andProjectIdLike(String value) {
1259
            addCriterion("project_id like", value, "projectId");
neo's avatar
neo committed
1260 1261 1262 1263
            return (Criteria) this;
        }

        public Criteria andProjectIdNotLike(String value) {
1264
            addCriterion("project_id not like", value, "projectId");
neo's avatar
neo committed
1265 1266 1267 1268
            return (Criteria) this;
        }

        public Criteria andProjectIdIn(List<String> values) {
1269
            addCriterion("project_id in", values, "projectId");
neo's avatar
neo committed
1270 1271 1272 1273
            return (Criteria) this;
        }

        public Criteria andProjectIdNotIn(List<String> values) {
1274
            addCriterion("project_id not in", values, "projectId");
neo's avatar
neo committed
1275 1276 1277 1278
            return (Criteria) this;
        }

        public Criteria andProjectIdBetween(String value1, String value2) {
1279
            addCriterion("project_id between", value1, value2, "projectId");
neo's avatar
neo committed
1280 1281 1282 1283
            return (Criteria) this;
        }

        public Criteria andProjectIdNotBetween(String value1, String value2) {
1284
            addCriterion("project_id not between", value1, value2, "projectId");
neo's avatar
neo committed
1285 1286
            return (Criteria) this;
        }
1287 1288 1289 1290
    }

    /**
     * This class was generated by MyBatis Generator.
1291
     * This class corresponds to the database table period_template
1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
1304
     * This class corresponds to the database table period_template
1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393
     *
     * @mbg.generated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}