TaxRuleSettingExample.java 29.4 KB
Newer Older
1
package pwc.taxtech.atms.entity;
2 3 4 5 6 7 8 9

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

public class TaxRuleSettingExample {
    /**
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
10
     * This field corresponds to the database table tax_rule_setting
11 12 13 14 15 16 17
     *
     * @mbg.generated
     */
    protected String orderByClause;

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

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

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

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
44
     * This method corresponds to the database table tax_rule_setting
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.
gary's avatar
gary committed
54
     * This method corresponds to the database table tax_rule_setting
55 56 57 58 59 60 61 62 63
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
64
     * This method corresponds to the database table tax_rule_setting
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.
gary's avatar
gary committed
74
     * This method corresponds to the database table tax_rule_setting
75 76 77 78 79 80 81 82 83
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

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

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
94
     * This method corresponds to the database table tax_rule_setting
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.
gary's avatar
gary committed
104
     * This method corresponds to the database table tax_rule_setting
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.
gary's avatar
gary committed
116
     * This method corresponds to the database table tax_rule_setting
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.
gary's avatar
gary committed
130
     * This method corresponds to the database table tax_rule_setting
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.
gary's avatar
gary committed
141
     * This method corresponds to the database table tax_rule_setting
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.
gary's avatar
gary committed
153
     * This class corresponds to the database table tax_rule_setting
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() {
gary's avatar
gary committed
199
            addCriterion("id is null");
200 201 202
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andNameIsNull() {
gary's avatar
gary committed
259
            addCriterion("name is null");
260 261 262 263
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
gary's avatar
gary committed
264
            addCriterion("name is not null");
265 266 267 268
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
gary's avatar
gary committed
269
            addCriterion("name =", value, "name");
270 271 272 273
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
gary's avatar
gary committed
274
            addCriterion("name <>", value, "name");
275 276 277 278
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
gary's avatar
gary committed
279
            addCriterion("name >", value, "name");
280 281 282 283
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
gary's avatar
gary committed
284
            addCriterion("name >=", value, "name");
285 286 287 288
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
gary's avatar
gary committed
289
            addCriterion("name <", value, "name");
290 291 292 293
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
gary's avatar
gary committed
294
            addCriterion("name <=", value, "name");
295 296 297 298
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
gary's avatar
gary committed
299
            addCriterion("name like", value, "name");
300 301 302 303
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
gary's avatar
gary committed
304
            addCriterion("name not like", value, "name");
305 306 307 308
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
gary's avatar
gary committed
309
            addCriterion("name in", values, "name");
310 311 312 313
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
gary's avatar
gary committed
314
            addCriterion("name not in", values, "name");
315 316 317 318
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
gary's avatar
gary committed
319
            addCriterion("name between", value1, value2, "name");
320 321 322 323
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
gary's avatar
gary committed
324
            addCriterion("name not between", value1, value2, "name");
325 326 327 328
            return (Criteria) this;
        }

        public Criteria andIsDefaultIsNull() {
gary's avatar
gary committed
329
            addCriterion("is_default is null");
330 331 332 333
            return (Criteria) this;
        }

        public Criteria andIsDefaultIsNotNull() {
gary's avatar
gary committed
334
            addCriterion("is_default is not null");
335 336 337
            return (Criteria) this;
        }

338
        public Criteria andIsDefaultEqualTo(Boolean value) {
gary's avatar
gary committed
339
            addCriterion("is_default =", value, "isDefault");
340 341 342
            return (Criteria) this;
        }

343
        public Criteria andIsDefaultNotEqualTo(Boolean value) {
gary's avatar
gary committed
344
            addCriterion("is_default <>", value, "isDefault");
345 346 347
            return (Criteria) this;
        }

348
        public Criteria andIsDefaultGreaterThan(Boolean value) {
gary's avatar
gary committed
349
            addCriterion("is_default >", value, "isDefault");
350 351 352
            return (Criteria) this;
        }

353
        public Criteria andIsDefaultGreaterThanOrEqualTo(Boolean value) {
gary's avatar
gary committed
354
            addCriterion("is_default >=", value, "isDefault");
355 356 357
            return (Criteria) this;
        }

358
        public Criteria andIsDefaultLessThan(Boolean value) {
gary's avatar
gary committed
359
            addCriterion("is_default <", value, "isDefault");
360 361 362
            return (Criteria) this;
        }

363
        public Criteria andIsDefaultLessThanOrEqualTo(Boolean value) {
gary's avatar
gary committed
364
            addCriterion("is_default <=", value, "isDefault");
365 366 367
            return (Criteria) this;
        }

368
        public Criteria andIsDefaultIn(List<Boolean> values) {
gary's avatar
gary committed
369
            addCriterion("is_default in", values, "isDefault");
370 371 372
            return (Criteria) this;
        }

373
        public Criteria andIsDefaultNotIn(List<Boolean> values) {
gary's avatar
gary committed
374
            addCriterion("is_default not in", values, "isDefault");
375 376 377
            return (Criteria) this;
        }

378
        public Criteria andIsDefaultBetween(Boolean value1, Boolean value2) {
gary's avatar
gary committed
379
            addCriterion("is_default between", value1, value2, "isDefault");
380 381 382
            return (Criteria) this;
        }

383
        public Criteria andIsDefaultNotBetween(Boolean value1, Boolean value2) {
gary's avatar
gary committed
384
            addCriterion("is_default not between", value1, value2, "isDefault");
385 386 387 388
            return (Criteria) this;
        }

        public Criteria andGroupNameIsNull() {
gary's avatar
gary committed
389
            addCriterion("group_name is null");
390 391 392 393
            return (Criteria) this;
        }

        public Criteria andGroupNameIsNotNull() {
gary's avatar
gary committed
394
            addCriterion("group_name is not null");
395 396 397 398
            return (Criteria) this;
        }

        public Criteria andGroupNameEqualTo(String value) {
gary's avatar
gary committed
399
            addCriterion("group_name =", value, "groupName");
400 401 402 403
            return (Criteria) this;
        }

        public Criteria andGroupNameNotEqualTo(String value) {
gary's avatar
gary committed
404
            addCriterion("group_name <>", value, "groupName");
405 406 407 408
            return (Criteria) this;
        }

        public Criteria andGroupNameGreaterThan(String value) {
gary's avatar
gary committed
409
            addCriterion("group_name >", value, "groupName");
410 411 412 413
            return (Criteria) this;
        }

        public Criteria andGroupNameGreaterThanOrEqualTo(String value) {
gary's avatar
gary committed
414
            addCriterion("group_name >=", value, "groupName");
415 416 417 418
            return (Criteria) this;
        }

        public Criteria andGroupNameLessThan(String value) {
gary's avatar
gary committed
419
            addCriterion("group_name <", value, "groupName");
420 421 422 423
            return (Criteria) this;
        }

        public Criteria andGroupNameLessThanOrEqualTo(String value) {
gary's avatar
gary committed
424
            addCriterion("group_name <=", value, "groupName");
425 426 427 428
            return (Criteria) this;
        }

        public Criteria andGroupNameLike(String value) {
gary's avatar
gary committed
429
            addCriterion("group_name like", value, "groupName");
430 431 432 433
            return (Criteria) this;
        }

        public Criteria andGroupNameNotLike(String value) {
gary's avatar
gary committed
434
            addCriterion("group_name not like", value, "groupName");
435 436 437 438
            return (Criteria) this;
        }

        public Criteria andGroupNameIn(List<String> values) {
gary's avatar
gary committed
439
            addCriterion("group_name in", values, "groupName");
440 441 442 443
            return (Criteria) this;
        }

        public Criteria andGroupNameNotIn(List<String> values) {
gary's avatar
gary committed
444
            addCriterion("group_name not in", values, "groupName");
445 446 447 448
            return (Criteria) this;
        }

        public Criteria andGroupNameBetween(String value1, String value2) {
gary's avatar
gary committed
449
            addCriterion("group_name between", value1, value2, "groupName");
450 451 452 453
            return (Criteria) this;
        }

        public Criteria andGroupNameNotBetween(String value1, String value2) {
gary's avatar
gary committed
454
            addCriterion("group_name not between", value1, value2, "groupName");
455 456 457 458
            return (Criteria) this;
        }

        public Criteria andTaxBaseIsNull() {
gary's avatar
gary committed
459
            addCriterion("tax_base is null");
460 461 462 463
            return (Criteria) this;
        }

        public Criteria andTaxBaseIsNotNull() {
gary's avatar
gary committed
464
            addCriterion("tax_base is not null");
465 466 467 468
            return (Criteria) this;
        }

        public Criteria andTaxBaseEqualTo(String value) {
gary's avatar
gary committed
469
            addCriterion("tax_base =", value, "taxBase");
470 471 472 473
            return (Criteria) this;
        }

        public Criteria andTaxBaseNotEqualTo(String value) {
gary's avatar
gary committed
474
            addCriterion("tax_base <>", value, "taxBase");
475 476 477 478
            return (Criteria) this;
        }

        public Criteria andTaxBaseGreaterThan(String value) {
gary's avatar
gary committed
479
            addCriterion("tax_base >", value, "taxBase");
480 481 482 483
            return (Criteria) this;
        }

        public Criteria andTaxBaseGreaterThanOrEqualTo(String value) {
gary's avatar
gary committed
484
            addCriterion("tax_base >=", value, "taxBase");
485 486 487 488
            return (Criteria) this;
        }

        public Criteria andTaxBaseLessThan(String value) {
gary's avatar
gary committed
489
            addCriterion("tax_base <", value, "taxBase");
490 491 492 493
            return (Criteria) this;
        }

        public Criteria andTaxBaseLessThanOrEqualTo(String value) {
gary's avatar
gary committed
494
            addCriterion("tax_base <=", value, "taxBase");
495 496 497 498
            return (Criteria) this;
        }

        public Criteria andTaxBaseLike(String value) {
gary's avatar
gary committed
499
            addCriterion("tax_base like", value, "taxBase");
500 501 502 503
            return (Criteria) this;
        }

        public Criteria andTaxBaseNotLike(String value) {
gary's avatar
gary committed
504
            addCriterion("tax_base not like", value, "taxBase");
505 506 507 508
            return (Criteria) this;
        }

        public Criteria andTaxBaseIn(List<String> values) {
gary's avatar
gary committed
509
            addCriterion("tax_base in", values, "taxBase");
510 511 512 513
            return (Criteria) this;
        }

        public Criteria andTaxBaseNotIn(List<String> values) {
gary's avatar
gary committed
514
            addCriterion("tax_base not in", values, "taxBase");
515 516 517 518
            return (Criteria) this;
        }

        public Criteria andTaxBaseBetween(String value1, String value2) {
gary's avatar
gary committed
519
            addCriterion("tax_base between", value1, value2, "taxBase");
520 521 522 523
            return (Criteria) this;
        }

        public Criteria andTaxBaseNotBetween(String value1, String value2) {
gary's avatar
gary committed
524
            addCriterion("tax_base not between", value1, value2, "taxBase");
525 526 527 528
            return (Criteria) this;
        }

        public Criteria andTaxRateIsNull() {
gary's avatar
gary committed
529
            addCriterion("tax_rate is null");
530 531 532 533
            return (Criteria) this;
        }

        public Criteria andTaxRateIsNotNull() {
gary's avatar
gary committed
534
            addCriterion("tax_rate is not null");
535 536 537
            return (Criteria) this;
        }

538
        public Criteria andTaxRateEqualTo(Float value) {
gary's avatar
gary committed
539
            addCriterion("tax_rate =", value, "taxRate");
540 541 542
            return (Criteria) this;
        }

543
        public Criteria andTaxRateNotEqualTo(Float value) {
gary's avatar
gary committed
544
            addCriterion("tax_rate <>", value, "taxRate");
545 546 547
            return (Criteria) this;
        }

548
        public Criteria andTaxRateGreaterThan(Float value) {
gary's avatar
gary committed
549
            addCriterion("tax_rate >", value, "taxRate");
550 551 552
            return (Criteria) this;
        }

553
        public Criteria andTaxRateGreaterThanOrEqualTo(Float value) {
gary's avatar
gary committed
554
            addCriterion("tax_rate >=", value, "taxRate");
555 556 557
            return (Criteria) this;
        }

558
        public Criteria andTaxRateLessThan(Float value) {
gary's avatar
gary committed
559
            addCriterion("tax_rate <", value, "taxRate");
560 561 562
            return (Criteria) this;
        }

563
        public Criteria andTaxRateLessThanOrEqualTo(Float value) {
gary's avatar
gary committed
564
            addCriterion("tax_rate <=", value, "taxRate");
565 566 567
            return (Criteria) this;
        }

568
        public Criteria andTaxRateIn(List<Float> values) {
gary's avatar
gary committed
569
            addCriterion("tax_rate in", values, "taxRate");
570 571 572
            return (Criteria) this;
        }

573
        public Criteria andTaxRateNotIn(List<Float> values) {
gary's avatar
gary committed
574
            addCriterion("tax_rate not in", values, "taxRate");
575 576 577
            return (Criteria) this;
        }

578
        public Criteria andTaxRateBetween(Float value1, Float value2) {
gary's avatar
gary committed
579
            addCriterion("tax_rate between", value1, value2, "taxRate");
580 581 582
            return (Criteria) this;
        }

583
        public Criteria andTaxRateNotBetween(Float value1, Float value2) {
gary's avatar
gary committed
584
            addCriterion("tax_rate not between", value1, value2, "taxRate");
585 586 587
            return (Criteria) this;
        }

gary's avatar
gary committed
588
        public Criteria andCreateTimeIsNull() {
gary's avatar
gary committed
589
            addCriterion("create_time is null");
590 591 592
            return (Criteria) this;
        }

gary's avatar
gary committed
593
        public Criteria andCreateTimeIsNotNull() {
gary's avatar
gary committed
594
            addCriterion("create_time is not null");
595 596 597
            return (Criteria) this;
        }

gary's avatar
gary committed
598 599
        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
600 601 602
            return (Criteria) this;
        }

gary's avatar
gary committed
603 604
        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
605 606 607
            return (Criteria) this;
        }

gary's avatar
gary committed
608 609
        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
610 611 612
            return (Criteria) this;
        }

gary's avatar
gary committed
613 614
        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
615 616 617
            return (Criteria) this;
        }

gary's avatar
gary committed
618 619
        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
620 621 622
            return (Criteria) this;
        }

gary's avatar
gary committed
623 624
        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
625 626 627
            return (Criteria) this;
        }

gary's avatar
gary committed
628 629
        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
630 631 632
            return (Criteria) this;
        }

gary's avatar
gary committed
633 634
        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
635 636 637
            return (Criteria) this;
        }

gary's avatar
gary committed
638 639
        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
640 641 642
            return (Criteria) this;
        }

gary's avatar
gary committed
643 644
        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
645 646 647 648
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
gary's avatar
gary committed
649
            addCriterion("update_time is null");
650 651 652 653
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
gary's avatar
gary committed
654
            addCriterion("update_time is not null");
655 656 657 658
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
gary's avatar
gary committed
659
            addCriterion("update_time =", value, "updateTime");
660 661 662 663
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
gary's avatar
gary committed
664
            addCriterion("update_time <>", value, "updateTime");
665 666 667 668
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
gary's avatar
gary committed
669
            addCriterion("update_time >", value, "updateTime");
670 671 672 673
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
gary's avatar
gary committed
674
            addCriterion("update_time >=", value, "updateTime");
675 676 677 678
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
gary's avatar
gary committed
679
            addCriterion("update_time <", value, "updateTime");
680 681 682 683
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
gary's avatar
gary committed
684
            addCriterion("update_time <=", value, "updateTime");
685 686 687 688
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
gary's avatar
gary committed
689
            addCriterion("update_time in", values, "updateTime");
690 691 692 693
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
gary's avatar
gary committed
694
            addCriterion("update_time not in", values, "updateTime");
695 696 697 698
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
gary's avatar
gary committed
699
            addCriterion("update_time between", value1, value2, "updateTime");
700 701 702 703
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
gary's avatar
gary committed
704
            addCriterion("update_time not between", value1, value2, "updateTime");
705 706 707 708
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
gary's avatar
gary committed
709
            addCriterion("create_by is null");
710 711 712 713
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
gary's avatar
gary committed
714
            addCriterion("create_by is not null");
715 716 717 718
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
gary's avatar
gary committed
719
            addCriterion("create_by =", value, "createBy");
720 721 722 723
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
gary's avatar
gary committed
724
            addCriterion("create_by <>", value, "createBy");
725 726 727 728
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
gary's avatar
gary committed
729
            addCriterion("create_by >", value, "createBy");
730 731 732 733
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
gary's avatar
gary committed
734
            addCriterion("create_by >=", value, "createBy");
735 736 737 738
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
gary's avatar
gary committed
739
            addCriterion("create_by <", value, "createBy");
740 741 742 743
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
gary's avatar
gary committed
744
            addCriterion("create_by <=", value, "createBy");
745 746 747 748
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
gary's avatar
gary committed
749
            addCriterion("create_by like", value, "createBy");
750 751 752 753
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
gary's avatar
gary committed
754
            addCriterion("create_by not like", value, "createBy");
755 756 757 758
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
gary's avatar
gary committed
759
            addCriterion("create_by in", values, "createBy");
760 761 762 763
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
gary's avatar
gary committed
764
            addCriterion("create_by not in", values, "createBy");
765 766 767 768
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
gary's avatar
gary committed
769
            addCriterion("create_by between", value1, value2, "createBy");
770 771 772 773
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
gary's avatar
gary committed
774
            addCriterion("create_by not between", value1, value2, "createBy");
775 776 777 778
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
gary's avatar
gary committed
779
            addCriterion("update_by is null");
780 781 782 783
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
gary's avatar
gary committed
784
            addCriterion("update_by is not null");
785 786 787 788
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
gary's avatar
gary committed
789
            addCriterion("update_by =", value, "updateBy");
790 791 792 793
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
gary's avatar
gary committed
794
            addCriterion("update_by <>", value, "updateBy");
795 796 797 798
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
gary's avatar
gary committed
799
            addCriterion("update_by >", value, "updateBy");
800 801 802 803
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
gary's avatar
gary committed
804
            addCriterion("update_by >=", value, "updateBy");
805 806 807 808
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
gary's avatar
gary committed
809
            addCriterion("update_by <", value, "updateBy");
810 811 812 813
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
gary's avatar
gary committed
814
            addCriterion("update_by <=", value, "updateBy");
815 816 817 818
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
gary's avatar
gary committed
819
            addCriterion("update_by like", value, "updateBy");
820 821 822 823
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
gary's avatar
gary committed
824
            addCriterion("update_by not like", value, "updateBy");
825 826 827 828
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
gary's avatar
gary committed
829
            addCriterion("update_by in", values, "updateBy");
830 831 832 833
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
gary's avatar
gary committed
834
            addCriterion("update_by not in", values, "updateBy");
835 836 837 838
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
gary's avatar
gary committed
839
            addCriterion("update_by between", value1, value2, "updateBy");
840 841 842 843
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
gary's avatar
gary committed
844
            addCriterion("update_by not between", value1, value2, "updateBy");
845 846 847 848 849 850
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
gary's avatar
gary committed
851
     * This class corresponds to the database table tax_rule_setting
852 853 854 855 856 857 858 859 860 861 862 863
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
gary's avatar
gary committed
864
     * This class corresponds to the database table tax_rule_setting
865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953
     *
     * @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);
        }
    }
}