Merge remote-tracking branch 'origin/rx-1023-营销优惠券新版' into master-test
| | |
| | | import com.hz.his.dto.PageDto; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | private String title; |
| | | /**申请类型**/ |
| | | private Integer type; |
| | | /**指定项目 或者 通用项目 类型 0=通用 1=指定 **/ |
| | | private Integer useProjectType; |
| | | /**指定项目 或者 通用项目 ID,name **/ |
| | | private List<Map<String,Object>> serviceIds; |
| | | /**门店ID*/ |
| | | private String shopId; |
| | | /**累计申请数量*/ |
| | | private Integer applyNum; |
| | | /**累计申请金额*/ |
| | | private BigDecimal applyAmount; |
| | | } |
| | |
| | | /**归属成本部门名称 -非必填 */ |
| | | private String ascrCostDeptName; |
| | | |
| | | /**发放类型 */ |
| | | private Integer belongType; |
| | | /**发放门店*/ |
| | | /**发放原因 -非必填 相当于 促成交 客诉 打板 类型*/ |
| | | private String sendReason; |
| | | /**发放门店 -非必填 */ |
| | | private String sendShopId; |
| | | /**发放门店名称*/ |
| | | private String sendShopName; |
| | | } |
| | |
| | | Result couponTypeList(@RequestBody(required = false) CouponTypeDto couponTypeDto); |
| | | |
| | | |
| | | /** |
| | | * 查询优惠券剩余数量 多个 |
| | | */ |
| | | @PostMapping(value = "/check/coupon/surplus/num") |
| | | Result checkCouponSurplusNum(@RequestBody(required = false) CouponDto dto); |
| | | |
| | | } |
| | |
| | | /** |
| | | * 开放平台-校验优惠券是否存在 创建或者更新 |
| | | */ |
| | | @PostMapping(value = "/coupon/quota/config/info") |
| | | Result getConfigInfo(@RequestBody CouponAddDto couponAddDto); |
| | | @PostMapping(value = "/coupon/quota/config/check/apply") |
| | | Result checkQuotaApply(@RequestBody CouponAddDto couponAddDto); |
| | | |
| | | |
| | | } |
| | |
| | | Result couponCheckCreate(@RequestBody CouponAddDto couponAddDto); |
| | | |
| | | /** |
| | | * 开放平台-获取优惠券限额配置 总的 |
| | | * 开放平台- 校验优惠券剩余数量 |
| | | */ |
| | | @PostMapping(value = "/coupon/use/quato/info/by/total") |
| | | Result couponUseQuotaInfoByTotal(@RequestBody CouponAddDto couponAddDto); |
| | | |
| | | /** |
| | | * 开放平台-获取优惠券限额配置 当前月 |
| | | */ |
| | | @PostMapping(value = "/coupon/use/quato/info/by/month") |
| | | Result couponUseQuotaInfoByMonth(@RequestBody CouponAddDto couponAddDto); |
| | | @PostMapping(value = "/coupon/check/surplus/num") |
| | | Result checkCouponSurplusNum(@RequestBody CouponDto couponDto); |
| | | |
| | | } |