phis-feign/src/main/java/com/hz/his/dto/deduction/DeductionDto.java
@@ -140,6 +140,11 @@ // 是否发送划扣消息 0 否 1 是 private int isSentNotice = 1; //作废划扣原因类型 客诉、升单、退款、治疗效果不满意、误/多划扣、其他 private String invalidReasonType; //作废划扣原因 private String invalidReason; public DeductionDto() { } phis-feign/src/main/java/com/hz/his/dto/fdd/FddDto.java
New file @@ -0,0 +1,52 @@ package com.hz.his.dto.fdd; import com.hz.his.dto.PageDto; import lombok.Data; /** * @USER: fhx * @DATE: 2024/3/6 **/ @Data public class FddDto extends PageDto { /** 用户标识 */ private String userId; /** 到访订单id */ private String visitOrderId; /** 门店标识 */ private String shopId; /** 签署模板ID */ private String signTemplateId; /** 签署任务模板名称 */ private String signTemplateName; /** 登录操作人角色id */ private String loginRoleId; /** 签名图片路径 */ private String signImg; /** 用户类型 */ private Integer userType; /** 关联标识 */ private String commonId; /** 重定向地址 */ private String redirectUrl; /** 编码 */ private String codeNo; /** 作废原因,长度最大200字符 */ private String reason; /** 签章id */ private String sealId; /** 定位X轴位置 */ private String positionX; /** 定位Y轴位置 */ private String positionY; /** 定位页码.首页从1开始 */ private int positionPageNo = 1; } phis-feign/src/main/java/com/hz/his/dto/fdd/FddTemplateDto.java
New file @@ -0,0 +1,21 @@ package com.hz.his.dto.fdd; import com.hz.his.dto.PageDto; import lombok.Data; /** * @USER: fhx * @DATE: 2024/3/6 **/ @Data public class FddTemplateDto extends PageDto { /** 模板类型:doc:文档模板/sign:签署模板 */ private String type; /** 模板ID */ private String templateId; /** 签署模板ID */ private String signTemplateId; /** 文档模板ID */ private String docTemplateId; } phis-feign/src/main/java/com/hz/his/dto/label/UserLabelAddDto.java
New file @@ -0,0 +1,18 @@ package com.hz.his.dto.label; import lombok.Data; /** * @author fwq */ @Data public class UserLabelAddDto { /**phis用户标识*/ private String userId; /**标签名*/ private String labelName; } phis-feign/src/main/java/com/hz/his/dto/user/UserTreatRecordDto.java
New file @@ -0,0 +1,28 @@ package com.hz.his.dto.user; import com.hz.his.dto.PageDto; import lombok.Data; /** * 用户治疗档案dto * @USER: fhx * @DATE: 2024/2/23 **/ @Data public class UserTreatRecordDto extends PageDto { /** 用户标识 */ private String userId; /** 到访订单id */ private String visitOrderId; /** 开始时间 */ private String startTime; /** 结束时间 */ private String endTime; /** 病历类型(字典获取) */ private String recordsType; /** 处方类型(1:普通处方 2:非普通处方) */ private Integer prescriptionType; } phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserLabelService.java
@@ -25,7 +25,7 @@ * 获取用户标签 * @return Result的data返回的格式:key值:分类标识;value:LabelVo的集合 */ @PostMapping(value = "/label/user/label") @PostMapping(value = "/label/user/label/list") Result getLabelUserLabel(@RequestBody LabelFindVo labelFindVo); } phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiDoctorSaleService.java
@@ -94,12 +94,32 @@ */ @PostMapping("/admin/doctor/sale/report/project/items/list/V2") Result projectItemListV2(@RequestBody EmployeeReportDto employeeReportDto); /** * 重点品项数据-拆分三大项目 */ @PostMapping("/admin/doctor/sale/report/project/items/list/V3") Result projectItemListV3(@RequestBody EmployeeReportDto employeeReportDto); /** * 客户预约到访情况 */ @PostMapping("/admin/doctor/sale/report/appoint/list/V2") Result appointListV2(@RequestBody EmployeeReportDto employeeReportDto); /** * 三大项目执行业绩 */ @PostMapping("/admin/doctor/sale/report/relation/project/list") Result relationProjectList(@RequestBody EmployeeReportDto employeeReportDto); /** * 服务门店执行指标业绩 */ @PostMapping("/admin/doctor/sale/report/shop/target/list") Result shopTargetList(@RequestBody EmployeeReportDto employeeReportDto); /*******************************下面接口3.0废弃*********************************/ phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiRelationProjectService.java
@@ -34,13 +34,19 @@ Result deductionCpList(@RequestBody ShopReportDto shopReportDto); /** * 再生部-执行业绩数据 * 再生部-执行业绩数据 -2.0版本 */ @PostMapping("/admin/project/relation/report/department/zs/list/V2") Result deductionZsListV2(@RequestBody ShopReportDto shopReportDto); /** * 再生部-执行业绩数据 - 2.0废弃 */ @PostMapping("/admin/project/relation/report/department/zs/list") Result deductionZsList(@RequestBody ShopReportDto shopReportDto); /** * 再生部-渗透业绩数据 * 再生部-渗透业绩数据 - 2.0废弃 */ @PostMapping("/admin/project/relation/report/department/zs/permeate/list") Result deductionZsPermeateList(@RequestBody ShopReportDto shopReportDto); @@ -52,4 +58,10 @@ Result deductionZsDoctorList(@RequestBody ShopReportDto shopReportDto); /** * 医生执行业绩数据-含服务门店指标 */ @PostMapping("/admin/project/relation/report/doctor/target/list") Result deductionDoctorTargetList(@RequestBody ShopReportDto shopReportDto); } phis-feign/src/main/java/com/hz/his/feign/service/platform/fdd/SPhipFddService.java
New file @@ -0,0 +1,40 @@ package com.hz.his.feign.service.platform.fdd; import com.hx.resultTool.Result; import com.hz.his.dto.PageDto; import com.hz.his.dto.fdd.FddDto; import com.hz.his.dto.marketing.MarketActivityDto; import com.hz.his.dto.user.UserTreatRecordDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.*; import org.springframework.web.multipart.MultipartFile; /** * 法大大授权功能service * @USER: fhx * @DATE: 2023/8/2 **/ @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-fdd") public interface SPhipFddService { /** 查询用户法大大功能授权数据 */ @PostMapping(value = "/fdd/userFddAuthData") Result userFddAuthData(@RequestBody FddDto dto); /** 法大大授权认证链接 */ @PostMapping(value = "/fdd/authUrl") Result fddAuthUrl(@RequestBody FddDto dto); /** 授权同意免验证签署 */ @PostMapping(value = "/fdd/authFreeVisa") Result authFreeVisa(@RequestBody FddDto dto); /** 查询个人签名列表 */ @RequestMapping("/fdd/getPersonalSealList") Result getPersonalSealList(@RequestBody FddDto dto); /** 获取签名设置免验证签链接 */ @RequestMapping("/fdd/getPersonalSealFreeSignUrl") Result getPersonalSealFreeSignUrl(@RequestBody FddDto dto); } phis-feign/src/main/java/com/hz/his/feign/service/platform/fdd/SPhipFddSignTaskService.java
New file @@ -0,0 +1,51 @@ package com.hz.his.feign.service.platform.fdd; import com.hx.resultTool.Result; import com.hz.his.dto.PageDto; import com.hz.his.dto.fdd.FddDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.*; import org.springframework.web.multipart.MultipartFile; /** * 法大大签署任务service * @USER: fhx * @DATE: 2023/8/2 **/ @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-fdd-sign-task") public interface SPhipFddSignTaskService { /** 获取签署门店信息 */ @PostMapping(value = "/fdd/sign/task/getSignShop") Result getSignShop(@RequestBody FddDto dto); /** 发起模板签署任务 */ @PostMapping(value = "/fdd/sign/task/template/signTask") Result templateSignTask(@RequestBody FddDto dto); /** 获取签署任务参与人链接 to codeNo */ @PostMapping(value = "/fdd/sign/task/getSignTaskActorUrlToCodeNo") Result getSignTaskActorUrlToCodeNo(@RequestBody FddDto dto); /** 电子病历 - 发起法大大签署任务 */ @RequestMapping(value="/fdd/sign/task/medicalRecords/signTask",consumes = MediaType.MULTIPART_FORM_DATA_VALUE) Result medicalRecordsSignTask(@RequestPart("file") MultipartFile file, @RequestParam("dataJson") String dataJson); /** 处方单 - 发起法大大签署任务 */ @RequestMapping(value="/fdd/sign/task/prescription/signTask",consumes = MediaType.MULTIPART_FORM_DATA_VALUE) Result prescriptionSignTask(@RequestPart("file") MultipartFile file, @RequestParam("dataJson") String dataJson); /** 作废(撤销签署任务) */ @RequestMapping("/fdd/sign/task/cancelSignTask") Result cancelSignTask(@RequestBody FddDto dto); /** 获取签署任务文件下载地址 */ @PostMapping(value = "/fdd/sign/task/getSignTaskFileUrl") Result getSignTaskFileUrl(@RequestBody FddDto dto); /** 查询签署完成的文件 */ @PostMapping(value = "/fdd/sign/task/signTaskGetFile") Result signTaskGetFile(@RequestBody FddDto dto); } phis-feign/src/main/java/com/hz/his/feign/service/platform/fdd/SPhipFddTemplateService.java
New file @@ -0,0 +1,36 @@ package com.hz.his.feign.service.platform.fdd; import com.hx.resultTool.Result; import com.hz.his.dto.PageDto; import com.hz.his.dto.fdd.FddDto; import com.hz.his.dto.fdd.FddTemplateDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.*; import org.springframework.web.multipart.MultipartFile; /** * 法大大模板管理service * @USER: fhx * @DATE: 2023/8/2 **/ @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-fdd-template") public interface SPhipFddTemplateService { /** 法大大签署模板列表 */ @PostMapping(value = "/fdd/template/signTemplateList") Result signTemplateList(@RequestBody FddTemplateDto dto); /** 获取模板预览链接 */ @PostMapping(value = "/fdd/template/getTemplatePreviewUrl") Result getTemplatePreviewUrl(@RequestBody FddTemplateDto dto); /** 签署任务模板详情 */ @PostMapping(value = "/fdd/template/signTemplateDetail") Result signTemplateDetail(@RequestBody FddTemplateDto dto); /** 文档模板详情 */ @PostMapping(value = "/fdd/template/docTemplateDetail") Result docTemplateDetail(@RequestBody FddTemplateDto dto); } phis-feign/src/main/java/com/hz/his/vo/label/UserLabelVo.java
@@ -13,6 +13,8 @@ private String userId; /**范围标识-必填*/ private String rangeCode; /**用户标签分类集合*/ /**新增/修改用户标签分类集合*/ private List<UserLabelTypeVo> userLabelTypeList; /**删除用户标签集合*/ private List<String> deleteLabelList; } phis-feign/src/main/java/com/hz/his/vo/user/card/UserCardItemVo.java
@@ -13,6 +13,10 @@ private String itemId; /**用户卡项条目-名称*/ private String itemName; /**用户卡项条目-类型*/ private String itemType; /**用户卡项条目-编号*/ private String itemCode; /**用户卡项条目-分摊总金额*/ private BigDecimal total; /**用户卡项条目-单次抵扣金额*/