phis-feign/src/main/java/com/hz/his/dto/micro/MicroPlanDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/dto/micro/MicroPlanIndicationDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/dto/micro/MicroPlanItemDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/dto/micro/MicroRecordDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMicroRecordService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
phis-feign/src/main/java/com/hz/his/dto/micro/MicroPlanDto.java
New file @@ -0,0 +1,22 @@ package com.hz.his.dto.micro; import lombok.Data; import java.util.List; /** * 微整规划 * @USER: fhx * @DATE: 2023/11/1 **/ @Data public class MicroPlanDto { /** 评价建议 */ private String recommend; /** 排序号(前端排序) */ private Integer sortNum; private List<MicroPlanItemDto> itemList; private List<MicroPlanIndicationDto> indicationList; } phis-feign/src/main/java/com/hz/his/dto/micro/MicroPlanIndicationDto.java
New file @@ -0,0 +1,21 @@ package com.hz.his.dto.micro; import lombok.Data; /** * 微整规划-诊断结果(适应症) * @USER: fhx * @DATE: 2023/11/1 **/ @Data public class MicroPlanIndicationDto { /** 适应症标识(Indication) */ private String indicationId; /** 程度类型标识(BaseClassify) */ private String degreeTypeId; /** 适应症关联分类JSON字符 */ private String typeJson; /** 排序号(前端排序) */ private Integer sortNum ; } phis-feign/src/main/java/com/hz/his/dto/micro/MicroPlanItemDto.java
New file @@ -0,0 +1,23 @@ package com.hz.his.dto.micro; import lombok.Data; /** * 微整规划-项目 * @USER: fhx * @DATE: 2023/11/1 **/ @Data public class MicroPlanItemDto { /** 时间类型标识(BaseClassify) */ private String timeTypeId; /** 关联id */ private String commonId; /** 名称(冗余) */ private String commonName; /** 关联类型(TreatPlanItem) */ private String commonType; /** 排序号(前端排序) */ private Integer sortNum; } phis-feign/src/main/java/com/hz/his/dto/micro/MicroRecordDto.java
New file @@ -0,0 +1,35 @@ package com.hz.his.dto.micro; import com.gitee.sunchenbin.mybatis.actable.annotation.Column; import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant; import com.hz.his.dto.PageDto; import lombok.Data; import java.util.List; /** * 微整规划记录 * @USER: fhx * @DATE: 2023/10/31 **/ @Data public class MicroRecordDto extends PageDto { /** 用户id */ private String userId; /** 开始时间 */ private String startTime; /** 结束时间 */ private String endTime; /** 程度类型标识(BaseClassify) */ private String degreeTypeId; /** 适应症标识 */ private String indicationId; /** 平台类型(PlatformConstants) */ private String platformType; /** 操作人角色id(EmployeeRole) */ private String opRoleId; private List<MicroPlanDto> planList; } phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMicroRecordService.java
New file @@ -0,0 +1,47 @@ package com.hz.his.feign.service.platform; import com.hx.resultTool.Result; import com.hz.his.dto.micro.MicroRecordDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; /** * 微整规划记录service * @USER: fhx * @DATE: 2023/8/2 **/ @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-micro-record") public interface SPhipMicroRecordService { /** 微整记录列表 */ @PostMapping(value = "/micro/record/list") Result list(@RequestBody MicroRecordDto dto); /** 记录详情 */ @PostMapping(value = "/micro/record/details") Result details(@RequestBody MicroRecordDto dto); /** 适应症数据 */ @PostMapping(value = "/micro/record/indication/data") Result indicationData(); /** 适应症治疗建议 */ @PostMapping(value = "/micro/record/treatPlan") Result treatPlan(@RequestBody MicroRecordDto dto); /** 新增微整记录 */ @PostMapping(value = "/micro/record/add") Result add(@RequestBody MicroRecordDto dto); /** 修改微整记录 */ @PostMapping(value = "/micro/record/edit") Result edit(@RequestBody MicroRecordDto dto); /** 删除微整记录 */ @PostMapping(value = "/micro/record/del") Result del(@RequestBody MicroRecordDto dto); }