From a0bf4e256edaf6454da4ec7ad161cebe90c06ce5 Mon Sep 17 00:00:00 2001 From: wzh <zhuhaow@phiskin.com> Date: 星期四, 11 八月 2022 16:56:20 +0800 Subject: [PATCH] 修改订单日志、退款 --- phis-feign/src/main/java/com/hz/his/dto/user/money/PhisUserMoneyDto.java | 63 +++++++++++++++++++++++++++++++ phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java | 4 +- 2 files changed, 65 insertions(+), 2 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/dto/user/money/PhisUserMoneyDto.java b/phis-feign/src/main/java/com/hz/his/dto/user/money/PhisUserMoneyDto.java new file mode 100644 index 0000000..30bf2d7 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/dto/user/money/PhisUserMoneyDto.java @@ -0,0 +1,63 @@ +package com.hz.his.dto.user.money; + + +import lombok.Data; +import lombok.ToString; + +/** + * 淇敼鐢ㄦ埛璧勯噾 + * + * @author wzh + */ +@Data +@ToString +public class PhisUserMoneyDto { + /** + * 鐢ㄦ埛Id + */ + private String userId; + /** + * 鎿嶄綔浜篒d + */ + private String operatorId; + /** + * 鍌ㄥ�奸噾 + */ + private String storedValueFund; + /** + * 澧炲�奸噾 + */ + private String valueAddedFund; + /** + * 绉垎 + */ + private String integral; + /** + * 棰勫畾閲� + */ + private String deposit; + /** + * 澶囨敞 + */ + private String note; + + /*****************绫诲瀷淇℃伅 娉細浠ヤ笅甯搁噺浠his鐨刄serMoneyLog甯搁噺涓轰富*******************************/ + + /** + * 鎿嶄綔浜虹被鍨�-鐢ㄦ埛 + */ + public static final int OPERATOR_TYPE_USER = 0; + /** + * 鎿嶄綔浜虹被鍨�-鍛樺伐 + */ + public static final int OPERATOR_TYPE_EMPLOYEE = 1; + /** + * 鎿嶄綔浜虹被鍨�-绠$悊鍛� + */ + public static final int OPERATOR_TYPE_ADMIN = 2; + /** + * 鎿嶄綔浜虹被鍨�-绯荤粺 + */ + public static final int OPERATOR_TYPE_SYSTEM = 3; + +} diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java index eaf294e..2531f89 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java @@ -1,7 +1,7 @@ package com.hz.his.feign.service.platform; import com.hx.resultTool.Result; -import com.hz.his.dto.user.UserParamDto; +import com.hz.his.dto.user.money.PhisUserMoneyDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -16,7 +16,7 @@ * 寮�鏀惧钩鍙�-鐢ㄦ埛鏂板 */ @PostMapping(value = "/user/money/op") - Result addUser(@RequestBody UserParamDto userParamDto); + Result upUserMoney(@RequestBody PhisUserMoneyDto userMoneyDto); -- Gitblit v1.8.0