fwq
2023-03-21 04aaeba45a2b178caa748284b4e0942cee7fcfcc
Merge remote-tracking branch 'origin/master-prod-new' into master-prod-new-合并账号
1个文件已修改
2个文件已添加
58 ■■■■■ 已修改文件
phis-feign/src/main/java/com/hz/his/dto/user/project/DirectCannelVo.java 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/feign/service/dcp/SUserTagInfoService.java 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserProjectService.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/dto/user/project/DirectCannelVo.java
New file
@@ -0,0 +1,30 @@
package com.hz.his.dto.user.project;
import lombok.Data;
@Data
public class DirectCannelVo {
    /**用户项目标识*/
    private String id;
    /**操作类型*/
    private Integer operateType;
    /**操作疗程数*/
    private Integer operateNum;
    /**操作门店标识*/
    private String shopId;
    /**操作员工*/
    private String employeeId;
    /**操作员工角色*/
    private String employeeRoleId;
    /**操作原因*/
    private String remarkInfo;
    /**操作类型-减少/作废*/
    public static final int OPERATE_TYPE_CANNEL = 0;
    /**操作类型-添加*/
    public static final int OPERATE_TYPE_ADD = 1;
}
phis-feign/src/main/java/com/hz/his/feign/service/dcp/SUserTagInfoService.java
@@ -9,6 +9,7 @@
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
/**
 * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
@@ -63,4 +64,8 @@
    /**标签分类数据列表*/
    @PostMapping("/tag/rule/info/list")
    Result listData(@RequestBody TagRuleInfoDto tagRuleInfoDto);
    /**同步用户标签数据*/
    @PostMapping("/test/handlerSyncUserLabelInfo")
    Result handlerSyncUserLabelInfo(@RequestParam("userId") String userId);
}
phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserProjectService.java
New file
@@ -0,0 +1,23 @@
package com.hz.his.feign.service.phis;
import com.hx.resultTool.Result;
import com.hz.his.dto.user.project.DirectCannelVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
 * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
 */
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "userProject")
public interface SUserProjectService {
    /**
     * 直接操作用户项目
     * 员工直接操作
     * @param directCannelVo 封装对象
     * @return
     */
    @PostMapping(value = "/user/getUserLabel")
    Result directCancel(@RequestBody DirectCannelVo directCannelVo);
}