Browse Source

产品需求,优惠券启用后,也可以修改领取时间

zouxuan 1 year ago
parent
commit
88e52c4aaa

+ 11 - 0
mec-biz/src/main/java/com/ym/mec/biz/dal/page/SysCouponQueryInfo.java

@@ -19,6 +19,17 @@ public class SysCouponQueryInfo extends QueryInfo {
     @ApiModelProperty("优惠券类型")
     private String typeDetail;
 
+    @ApiModelProperty(value = "0手动领取  1手动发放")
+    private Integer issuanceType;
+
+    public Integer getIssuanceType() {
+        return issuanceType;
+    }
+
+    public void setIssuanceType(Integer issuanceType) {
+        this.issuanceType = issuanceType;
+    }
+
     public String getTypeDetail() {
         return typeDetail;
     }

+ 3 - 0
mec-biz/src/main/resources/config/mybatis/SysCouponMapper.xml

@@ -152,6 +152,9 @@
 			<if test="search != null and search != ''">
 				AND (id_=#{search} OR name_ LIKE CONCAT('%', #{search}, '%'))
 			</if>
+			<if test="issuanceType != null">
+				AND issuance_type_ = #{issuanceType}
+			</if>
 			<if test="typeDetail != null and typeDetail != ''">
 				and #{typeDetail} = type_detail_
 			</if>