Merge branch 'master-prod-new' into master-test
| | |
| | | @PostMapping(value = "/user/card/delay/cardBag") |
| | | Result delayCardBag(@RequestBody CardBagDto cardBagDto); |
| | | |
| | | /** |
| | | * 开放平台-卡包可抵扣信息 |
| | | * @return 转化对象UserCardVo |
| | | */ |
| | | @PostMapping(value = "/user/card/get/deduction-data") |
| | | Result deductionData(@RequestBody CardBagDto cardBagDto); |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.hz.his.vo.user.card; |
| | | |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | /**用户卡项权益信息 |
| | | * @author CJH*/ |
| | | @Data |
| | | public class UserCardEquityVo { |
| | | |
| | | /**用户卡项权益-标识*/ |
| | | private String equityId; |
| | | /**用户卡项权益-名称*/ |
| | | private String equityName; |
| | | /**用户卡项权益-类型*/ |
| | | private Integer equityType; |
| | | /**用户卡项权益-总金额*/ |
| | | private BigDecimal total; |
| | | /**条件值*/ |
| | | private Integer conditionValue; |
| | | /**关联的条目*/ |
| | | private List<UserCardItemVo> userCardItemVoList; |
| | | |
| | | } |
New file |
| | |
| | | package com.hz.his.vo.user.card; |
| | | |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | |
| | | /**用户卡项条目信息 |
| | | * @author CJH*/ |
| | | @Data |
| | | public class UserCardItemVo { |
| | | |
| | | /**用户卡项条目-标识*/ |
| | | private String itemId; |
| | | /**用户卡项条目-名称*/ |
| | | private String itemName; |
| | | /**用户卡项条目-分摊总金额*/ |
| | | private BigDecimal total; |
| | | /**用户卡项条目-单次抵扣金额*/ |
| | | private BigDecimal singleAmount; |
| | | /**用户卡项条目-总抵扣次数*/ |
| | | private Integer deductionNum; |
| | | /**用户卡项条目-单次抵扣次数*/ |
| | | private Integer deductionSingle; |
| | | /**用户卡项条目-已抵扣次数*/ |
| | | private Integer usedNum; |
| | | /**剩余可抵扣总次数*/ |
| | | private Integer surplusNum; |
| | | |
| | | } |
New file |
| | |
| | | package com.hz.his.vo.user.card; |
| | | |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | /**用户卡项信息 |
| | | * @author CJH*/ |
| | | @Data |
| | | public class UserCardVo { |
| | | |
| | | /**用户卡项-标识*/ |
| | | private String userCardId; |
| | | /**卡项-标识*/ |
| | | private String cardId; |
| | | /**卡项-名称*/ |
| | | private String cardName; |
| | | /**卡项-总金额*/ |
| | | private BigDecimal total; |
| | | /**关联的权益*/ |
| | | private List<UserCardEquityVo> userCardEquityVoList; |
| | | |
| | | } |