|
@@ -11,6 +11,8 @@ import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
/**
|
|
|
* 卡券 查询条件
|
|
|
*
|
|
@@ -43,7 +45,7 @@ public final class CouponQuery extends BasePageQuery {
|
|
|
* 审核状态 1:通过0:驳回2:待审核
|
|
|
*/
|
|
|
@ApiModelProperty("审核状态 1:通过0:驳回2:待审核")
|
|
|
- private Integer checkFalg;
|
|
|
+ private List<Integer> checkFalg;
|
|
|
|
|
|
/**
|
|
|
* 查询条件
|
|
@@ -60,7 +62,7 @@ public final class CouponQuery extends BasePageQuery {
|
|
|
query.eq(Coupon::getType, type);
|
|
|
}
|
|
|
if (null != checkFalg) {
|
|
|
- query.eq(Coupon::getCheckFalg, checkFalg);
|
|
|
+ query.in(Coupon::getCheckFalg, checkFalg);
|
|
|
}
|
|
|
if (null != statuz) {
|
|
|
query.eq(Coupon::getStatuz, statuz);
|