fhx
2024-09-30 899277d8fba239727875201ee6a060b6c535f743
phis-feign/src/main/java/com/hz/his/feign/service/phis/SProjectService.java
@@ -4,6 +4,7 @@
import com.hz.his.dto.PageDto;
import com.hz.his.dto.TimeDto;
import com.hz.his.dto.project.ProjectDto;
import com.hz.his.vo.project.ProjectFindVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@@ -15,7 +16,7 @@
/**
 * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
 */
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "project")
@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "project")
public interface SProjectService {
    /**
@@ -48,6 +49,13 @@
     * @return Result
     */
    @PostMapping(value = "/project/page/list")
    Result getProjectList(@RequestBody ProjectFindVo projectFindVo);
    /**
     * 获取项目列表(因为代码的问题,这个接口保存下来)
     * @return Result
     */
    @PostMapping(value = "/project/page/list2")
    Result getProjectList(@RequestBody PageDto pageDto);
    /**
@@ -109,5 +117,11 @@
    Result getProjectByTypeId(@RequestBody ProjectDto projectDto);
    /**查询项目积分抵扣现金的比例*/
    Result getIntegralCashRate(ProjectDto projectDto);
    @PostMapping(value = "/project/integral/cash/rate")
    Result getIntegralCashRate(@RequestBody ProjectDto projectDto);
    /**查询映射项目模块树型三级*/
    @PostMapping(value = "/project/item/relation/list")
    Result projectItemList(@RequestBody ProjectDto projectDto);
}