@@ -16,6 +16,17 @@ public class SysCouponQueryInfo extends QueryInfo {
@ApiModelProperty("状态:0停用,1启用")
private Integer status;
+ @ApiModelProperty("优惠券类型")
+ private String typeDetail;
+
+ public String getTypeDetail() {
+ return typeDetail;
+ }
+ public void setTypeDetail(String typeDetail) {
+ this.typeDetail = typeDetail;
public CouponTypeEnum getType() {
return type;
}
@@ -152,6 +152,9 @@
<if test="search != null and search != ''">
AND (id_=#{search} OR name_ LIKE CONCAT('%', #{search}, '%'))
</if>
+ <if test="typeDetail != null and typeDetail != ''">
+ and #{typeDetail} = type_detail_
+ </if>
</where>
</sql>