From 55711bea2ab1ab445935827cf4afe4a930fb8d8f Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期三, 17 四月 2024 17:07:23 +0800 Subject: [PATCH] SKU最大抵扣比率数据查询 --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java | 4 +++- phis-feign/src/main/java/com/hz/his/dto/project/ProjectDto.java | 7 ++++++- phis-feign/src/main/java/com/hz/his/vo/project/IntegralCashVo.java | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 2 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/dto/project/ProjectDto.java b/phis-feign/src/main/java/com/hz/his/dto/project/ProjectDto.java index 12dc6c9..eee977b 100644 --- a/phis-feign/src/main/java/com/hz/his/dto/project/ProjectDto.java +++ b/phis-feign/src/main/java/com/hz/his/dto/project/ProjectDto.java @@ -3,6 +3,8 @@ import com.hz.his.dto.PageDto; import lombok.Data; +import java.util.List; + /** * @author fwq * 椤圭洰鎵╁睍 @@ -11,7 +13,10 @@ public class ProjectDto extends PageDto { /**鏇存柊鏃堕棿*/ private String editTime; - + /**sku鏍囪瘑*/ + private List<String> skuIdList; + /**骞冲彴appId*/ + private String appId; /**浠锋牸鏌ヨ 鏈�灏忎环鏍� 鏈�澶т环鏍�*/ private String minPrice; private String maxPrice; diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java index c640347..4a2306c 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java @@ -106,6 +106,8 @@ * @return */ @PostMapping(value = "/project/list/by/type") - Result getProjectByTypeId(@RequestBody ProjectDto projectDto); + Result getProjectByTypeId(@RequestBody ProjectDto projectDto); + /**鏌ヨ椤圭洰绉垎鎶垫墸鐜伴噾鐨勬瘮渚�*/ + Result getIntegralCashRate(ProjectDto projectDto); } \ No newline at end of file diff --git a/phis-feign/src/main/java/com/hz/his/vo/project/IntegralCashVo.java b/phis-feign/src/main/java/com/hz/his/vo/project/IntegralCashVo.java new file mode 100644 index 0000000..85a2d9d --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/vo/project/IntegralCashVo.java @@ -0,0 +1,33 @@ +package com.hz.his.vo.project; + +import lombok.Data; + +import java.math.BigDecimal; +import java.util.Map; + +/** + * 绉垎鎶垫墸鐜伴噾閰嶇疆 + */ +@Data +public class IntegralCashVo { + /**绉垎鎶垫墸鐜伴噾鏀粯鏂瑰紡缂栧彿*/ + private String payNo; + /**绉垎*/ + private BigDecimal integral = BigDecimal.ZERO; + /**鐜伴噾*/ + private BigDecimal cash = BigDecimal.ZERO; + /**榛樿鐨勬姷鎵f瘮渚�*/ + private BigDecimal rate = BigDecimal.ZERO; + /**鏄惁鍚敤*/ + private Integer isUp; + /**鏄惁鍏ㄥ钩鍙板彲鐢�,濡傛灉杩欎釜鍊间负0,鍒欏彧鏈夐檺鍒跺钩鍙拌〃limit_common鐨勫钩鍙拌兘浣跨敤銆愮Н鍒嗘姷鎵g幇閲戙�戞敮浠樻柟寮�*/ + private Integer isAllPlatform; + /**鏄惁涓嶉檺鍒堕」鐩�,濡傛灉杩欎釜鍊间负1,鍒欐墍鏈夌殑椤圭洰閮藉彲浠ヤ娇鐢ㄣ�愮Н鍒嗘姷鎵g幇閲戙�戞敮浠樻柟寮�*/ + private Integer isNoLimit; + /**鏄惁鏈夐檺鍒堕」鐩�,濡傛灉杩欎釜鍊间负1,鍒欏彧鏈夐檺鍒堕」鐩〃integral_cash_project鐨勯」鐩兘浣跨敤銆愮Н鍒嗘姷鎵g幇閲戙�戞敮浠樻柟寮�*/ + private Integer isHaveProjectLimit; + + /**姣忎釜SKU鐨勬渶澶ф姷鎵f瘮渚�*/ + private Map<String,BigDecimal> skuMaxRateMap; + +} -- Gitblit v1.8.0