Authored by wujiexiang

返回券的用户类型

... ... @@ -44,6 +44,8 @@ public class CouponQueryResp {
name = "状态"
)
//用户类型
private Integer userType;
private String status;
private Integer statusValue;
... ...
... ... @@ -750,6 +750,7 @@ public class CouponServiceImpl implements ICouponService,IBusinessExportService{
useTime,coupon.getRemark(), getStatusDesc(coupon,curTime),coupon.getStatus(),coupon.getCouponToken());
resp.setSendNum(coupon.getSendNum());
resp.setUserTypeName(UserTypeEnum.find(coupon.getUserType()).getName());
resp.setUserType(coupon.getUserType());
resp.setBusinessClient(coupon.getBusinessClient());
resps.add(resp);
}
... ...