|
|
@@ -1897,6 +1897,280 @@ public class LitemallCouponExample {
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
+ public Criteria andCodeIsNull() {
|
|
|
+ addCriterion("code is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCodeIsNotNull() {
|
|
|
+ addCriterion("code is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCodeEqualTo(String value) {
|
|
|
+ addCriterion("code =", value, "code");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table litemall_coupon
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ * @project https://github.com/itfsw/mybatis-generator-plugin
|
|
|
+ */
|
|
|
+ public Criteria andCodeEqualToColumn(LitemallCoupon.Column column) {
|
|
|
+ addCriterion(new StringBuilder("code = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCodeNotEqualTo(String value) {
|
|
|
+ addCriterion("code <>", value, "code");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table litemall_coupon
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ * @project https://github.com/itfsw/mybatis-generator-plugin
|
|
|
+ */
|
|
|
+ public Criteria andCodeNotEqualToColumn(LitemallCoupon.Column column) {
|
|
|
+ addCriterion(new StringBuilder("code <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCodeGreaterThan(String value) {
|
|
|
+ addCriterion("code >", value, "code");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table litemall_coupon
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ * @project https://github.com/itfsw/mybatis-generator-plugin
|
|
|
+ */
|
|
|
+ public Criteria andCodeGreaterThanColumn(LitemallCoupon.Column column) {
|
|
|
+ addCriterion(new StringBuilder("code > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCodeGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("code >=", value, "code");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table litemall_coupon
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ * @project https://github.com/itfsw/mybatis-generator-plugin
|
|
|
+ */
|
|
|
+ public Criteria andCodeGreaterThanOrEqualToColumn(LitemallCoupon.Column column) {
|
|
|
+ addCriterion(new StringBuilder("code >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCodeLessThan(String value) {
|
|
|
+ addCriterion("code <", value, "code");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table litemall_coupon
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ * @project https://github.com/itfsw/mybatis-generator-plugin
|
|
|
+ */
|
|
|
+ public Criteria andCodeLessThanColumn(LitemallCoupon.Column column) {
|
|
|
+ addCriterion(new StringBuilder("code < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCodeLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("code <=", value, "code");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table litemall_coupon
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ * @project https://github.com/itfsw/mybatis-generator-plugin
|
|
|
+ */
|
|
|
+ public Criteria andCodeLessThanOrEqualToColumn(LitemallCoupon.Column column) {
|
|
|
+ addCriterion(new StringBuilder("code <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCodeLike(String value) {
|
|
|
+ addCriterion("code like", value, "code");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCodeNotLike(String value) {
|
|
|
+ addCriterion("code not like", value, "code");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCodeIn(List<String> values) {
|
|
|
+ addCriterion("code in", values, "code");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCodeNotIn(List<String> values) {
|
|
|
+ addCriterion("code not in", values, "code");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCodeBetween(String value1, String value2) {
|
|
|
+ addCriterion("code between", value1, value2, "code");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCodeNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("code not between", value1, value2, "code");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTimeTypeIsNull() {
|
|
|
+ addCriterion("time_type is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTimeTypeIsNotNull() {
|
|
|
+ addCriterion("time_type is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTimeTypeEqualTo(Short value) {
|
|
|
+ addCriterion("time_type =", value, "timeType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table litemall_coupon
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ * @project https://github.com/itfsw/mybatis-generator-plugin
|
|
|
+ */
|
|
|
+ public Criteria andTimeTypeEqualToColumn(LitemallCoupon.Column column) {
|
|
|
+ addCriterion(new StringBuilder("time_type = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTimeTypeNotEqualTo(Short value) {
|
|
|
+ addCriterion("time_type <>", value, "timeType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table litemall_coupon
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ * @project https://github.com/itfsw/mybatis-generator-plugin
|
|
|
+ */
|
|
|
+ public Criteria andTimeTypeNotEqualToColumn(LitemallCoupon.Column column) {
|
|
|
+ addCriterion(new StringBuilder("time_type <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTimeTypeGreaterThan(Short value) {
|
|
|
+ addCriterion("time_type >", value, "timeType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table litemall_coupon
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ * @project https://github.com/itfsw/mybatis-generator-plugin
|
|
|
+ */
|
|
|
+ public Criteria andTimeTypeGreaterThanColumn(LitemallCoupon.Column column) {
|
|
|
+ addCriterion(new StringBuilder("time_type > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTimeTypeGreaterThanOrEqualTo(Short value) {
|
|
|
+ addCriterion("time_type >=", value, "timeType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table litemall_coupon
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ * @project https://github.com/itfsw/mybatis-generator-plugin
|
|
|
+ */
|
|
|
+ public Criteria andTimeTypeGreaterThanOrEqualToColumn(LitemallCoupon.Column column) {
|
|
|
+ addCriterion(new StringBuilder("time_type >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTimeTypeLessThan(Short value) {
|
|
|
+ addCriterion("time_type <", value, "timeType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table litemall_coupon
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ * @project https://github.com/itfsw/mybatis-generator-plugin
|
|
|
+ */
|
|
|
+ public Criteria andTimeTypeLessThanColumn(LitemallCoupon.Column column) {
|
|
|
+ addCriterion(new StringBuilder("time_type < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTimeTypeLessThanOrEqualTo(Short value) {
|
|
|
+ addCriterion("time_type <=", value, "timeType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table litemall_coupon
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ * @project https://github.com/itfsw/mybatis-generator-plugin
|
|
|
+ */
|
|
|
+ public Criteria andTimeTypeLessThanOrEqualToColumn(LitemallCoupon.Column column) {
|
|
|
+ addCriterion(new StringBuilder("time_type <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTimeTypeIn(List<Short> values) {
|
|
|
+ addCriterion("time_type in", values, "timeType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTimeTypeNotIn(List<Short> values) {
|
|
|
+ addCriterion("time_type not in", values, "timeType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTimeTypeBetween(Short value1, Short value2) {
|
|
|
+ addCriterion("time_type between", value1, value2, "timeType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTimeTypeNotBetween(Short value1, Short value2) {
|
|
|
+ addCriterion("time_type not between", value1, value2, "timeType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
public Criteria andDaysIsNull() {
|
|
|
addCriterion("`days` is null");
|
|
|
return (Criteria) this;
|