Authored by wujiexiang

返回券的用户类型

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