From 20482cbe6e735dee0c8af72b4620a063dfe86258 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期二, 21 三月 2023 11:40:43 +0800 Subject: [PATCH] 直接操作用户项目-优化 --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserProjectService.java | 12 +++++++++++- phis-feign/src/main/java/com/hz/his/dto/user/project/DirectRepealVo.java | 22 ++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/dto/user/project/DirectRepealVo.java b/phis-feign/src/main/java/com/hz/his/dto/user/project/DirectRepealVo.java new file mode 100644 index 0000000..8eca166 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/dto/user/project/DirectRepealVo.java @@ -0,0 +1,22 @@ +package com.hz.his.dto.user.project; + +import lombok.Data; + +@Data +public class DirectRepealVo { + + /**鎿嶄綔鐢ㄦ埛椤圭洰璁板綍鏍囪瘑*/ + private String id; + + /**鎿嶄綔闂ㄥ簵鏍囪瘑锛堝簾寮冿級*/ + private String shopId; + /**鎿嶄綔鍛樺伐锛堝簾寮冿級*/ + private String employeeId; + /**鎿嶄綔鍛樺伐瑙掕壊*/ + private String employeeRoleId; + + /**鎿嶄綔鍘熷洜*/ + private String remarkInfo; + + +} diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserProjectService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserProjectService.java index 0801c5e..c3d080c 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserProjectService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserProjectService.java @@ -2,6 +2,7 @@ import com.hx.resultTool.Result; import com.hz.his.dto.user.project.DirectCannelVo; +import com.hz.his.dto.user.project.DirectRepealVo; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -18,6 +19,15 @@ * @param directCannelVo 灏佽瀵硅薄 * @return */ - @PostMapping(value = "/user/getUserLabel") + @PostMapping(value = "/user/project/direct/cancel") Result directCancel(@RequestBody DirectCannelVo directCannelVo); + + /** + * 浣滃簾鐩存帴鎿嶄綔鐢ㄦ埛椤圭洰 + * 鍛樺伐鐩存帴鎿嶄綔 + * @param directRepealVo 灏佽瀵硅薄 + * @return + */ + @PostMapping(value = "/user/project/direct/repeal") + Result directRepeal(@RequestBody DirectRepealVo directRepealVo); } \ No newline at end of file -- Gitblit v1.8.0