phis-feign/src/main/java/com/hz/his/dto/coupon/CouponDto.java
@@ -18,6 +18,8 @@ private String operatorId; /**操作人名称*/ private String operatorName; /**操作人类型*/ private Integer operatorType; /**活动标识*/ private String groupBuyId; private String id; @@ -38,4 +40,17 @@ /*用户优惠券*/ private String couponNumberId; //-------------------------------------------------------------------- //对应phis表CouponReleaseRecord常量 /**操作人类型-员工*/ public static Integer OPERATOR_TYPE_EMPLOYEES = 0; /**操作人类型-管理员*/ public static Integer OPERATOR_TYPE_ADMIN = 1; /**操作人类型-用户自领*/ public static Integer OPERATOR_TYPE_USER = 2; /**操作人类型-系统*/ public static Integer OPERATOR_TYPE_SYSTEM = 3; /**操作人类型-用户订单购买*/ public static Integer OPERATOR_TYPE_USER_ORDER = 4; } phis-feign/src/main/java/com/hz/his/dto/coupon/CouponItemDto.java
@@ -11,8 +11,17 @@ /**优惠券标识*/ private String couponId; /**数量*/ private Integer num; //多优惠券发放时使用字段 /**批次号名称*/ private String recordName; /**公共标识*/ private String commonId; /**公共子标识*/ private String commonItemId; /**公共类型(CouponRecordDto)*/ private String commonType; } phis-feign/src/main/java/com/hz/his/dto/coupon/CouponRecordDto.java
@@ -16,6 +16,8 @@ private String recordName; /**公共标识*/ private String commonId; /**公共子标识*/ private String commonItemId; /**公共类型*/ private String commonType; @@ -35,4 +37,6 @@ public static final String TYPE_COMMON_QUEEN_DAY = "queen_day"; /**公共标识类型,crm商品详情领取优惠券*/ public static final String TYPE_COMMON_GOODS_DETAILS = "goods_details"; /**公共标识类型,订单购买优惠券*/ public static final String TYPE_COMMON_ORDER = "order"; } phis-feign/src/main/java/com/hz/phis/dt/consumables/GoodsDetailDt.java
@@ -12,7 +12,7 @@ * */ @Data public class GoodsDetailDt extends BaseDt { /**类型(1商品2药品)*/ /**类型(1商品2药品3优惠券)*/ private Integer type; /**编号*/ private String serialNumber; @@ -172,4 +172,9 @@ private String bigTypeCode; /**药品大类名*/ private String bigTypeName; //关联标识(类型为3则关联优惠券id) public String commonId; //兑换积分 private BigDecimal integral; }