phis-feign/src/main/java/com/hz/his/dto/consultation/ConsultRecordDto.java
@@ -146,6 +146,19 @@ private String keyWord; /**查询方式*/ private String useType; // --------- 复诊补充新字段 //客户疑虑 private String doubt; //异议 private String dissent; //预算 private String budget; // 感兴趣的活动 private String interestedActivities; //客人后续是否有安排事情和工作 private String followUpWorks; public ConsultRecordDto() { } @@ -573,4 +586,44 @@ public void setIsDetail(Integer isDetail) { this.isDetail = isDetail; } public String getDoubt() { return doubt; } public void setDoubt(String doubt) { this.doubt = doubt; } public String getDissent() { return dissent; } public void setDissent(String dissent) { this.dissent = dissent; } public String getBudget() { return budget; } public void setBudget(String budget) { this.budget = budget; } public String getInterestedActivities() { return interestedActivities; } public void setInterestedActivities(String interestedActivities) { this.interestedActivities = interestedActivities; } public String getFollowUpWorks() { return followUpWorks; } public void setFollowUpWorks(String followUpWorks) { this.followUpWorks = followUpWorks; } } 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,54 @@ 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; /** 操作人类型(OperatorConstants) */ private Integer opType; /** 登录操作人角色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/micro/MicroRecordDto.java
@@ -12,7 +12,8 @@ **/ @Data public class MicroRecordDto extends PageDto { /**是否查询最新的*/ private Integer isSelectNew = 0; /** 用户id */ private String userId; /** 美际皮肤报告标识 */ phis-feign/src/main/java/com/hz/his/dto/order/PayDto.java
@@ -59,15 +59,15 @@ /**卡扣不判断过期时间:0否1是*/ private Integer cardPass = 0; /**赠送到账用户*/ /**赠送到账用户-(不要使用,会删除)*/ private String giveIncreaseUserId; /**赠送增值金(注意:传了就送)*/ /**赠送增值金(注意:传了就送)(不要使用,会删除)*/ private BigDecimal giveIncrease; /**赠送增值金到账规则(MoneyRule)(传了就使用,否则就默认)*/ /**赠送增值金到账规则(MoneyRule)(传了就使用,否则就默认)(不要使用,会删除)*/ private String giveIncreaseId; /**赠送标题(领取记录展示-标题)*/ /**赠送标题(领取记录展示-标题)(不要使用,会删除)*/ private String giveIncreaseTitle; /**赠送标题(领取记录展示-详情)*/ /**赠送标题(领取记录展示-详情)(不要使用,会删除)*/ private String giveIncreaseInfo; } 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/dto/user/money/UserMoneyDto.java
@@ -4,6 +4,8 @@ import lombok.Data; import lombok.ToString; import java.util.List; /** * 用户资金 * @@ -123,6 +125,9 @@ /**查询不可领取原因*/ private Integer isSelectNotUse = 0; /**待领取记录标识集合*/ private List<String> receiveIdList; /*****************类型信息 注:以下常量以phis的UserMoneyLog常量为主*******************************/ /** * 应用类型-第三方平台 phis-feign/src/main/java/com/hz/his/feign/service/phis/SLabelService.java
@@ -3,6 +3,7 @@ import com.hx.resultTool.Result; import com.hz.his.dto.PageDto; import com.hz.his.dto.label.LabelTypePageDto; import com.hz.his.vo.label.LabelFindVo; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -28,4 +29,19 @@ @PostMapping(value = "/label/info/list") Result getLabelInfoList(@RequestBody(required = false)PageDto pageDto); /** * 获取标签分类树状含标签(根据范围获取) * @return Result的data转成LabelTypeVo的集合 */ @PostMapping(value = "/label/type/tree/by-label") Result getLabelTypeTreeByLabel(@RequestBody LabelFindVo labelFindVo); /**根据范围获取 * 获取用户标签 * @return Result的data返回的格式:key值:分类标识;value:LabelVo的集合 */ @PostMapping(value = "/label/user/label") Result getLabelUserLabel(@RequestBody LabelFindVo labelFindVo); } phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserLabelService.java
@@ -1,8 +1,10 @@ package com.hz.his.feign.service.phis; import com.hx.resultTool.Result; import com.hz.his.vo.label.LabelFindVo; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; /** @@ -18,4 +20,12 @@ */ @PostMapping(value = "/user/getUserLabel") Result getUserLabel(@RequestParam("userId") String userId); /**根据范围获取 * 获取用户标签 * @return Result的data返回的格式:key值:分类标识;value:LabelVo的集合 */ @PostMapping(value = "/label/user/label/list") Result getLabelUserLabel(@RequestBody LabelFindVo labelFindVo); } phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMoneyService.java
@@ -32,6 +32,12 @@ Result receive(@RequestBody UserMoneyDto userMoneyDto); /** * 开放平台-领取用户资产-多条 */ @PostMapping(value = "/user/money/unclaimed/receive/more") Result receiveMore(@RequestBody UserMoneyDto userMoneyDto); /** * 开放平台-作废用户待领取记录 */ @PostMapping(value = "/user/money/unclaimed/cancel") phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserLabelService.java
New file @@ -0,0 +1,27 @@ package com.hz.his.feign.service.platform; import com.hx.resultTool.Result; import com.hz.his.vo.label.UserLabelVo; 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 = "phip-user-label") public interface SPhipUserLabelService { /**自动打标签接口 * 用户标签新增,只新增-新版 */ @PostMapping(value = "/label/user/v2/auto-add") Result autoAdd(@RequestBody UserLabelVo userLabelVo); /**用户标签变更-手动打标签接口 * 当前标签分类下面的所有分类进行变更,包含新增和删除-新版 */ @PostMapping(value = "/label/user/v2/update") Result update(@RequestBody UserLabelVo userLabelVo); } phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantSaleService.java
@@ -141,4 +141,17 @@ */ @PostMapping("/admin/consultant/report/appointment/arrive/late/detail/list") Result appointmentArriveLateList(@RequestBody EmployeeReportDto employeeReportDto); /** * 顾问-名下会员+公海释放会员未执行数据 */ @PostMapping("/admin/consultant/report/user/data/deduction/list") Result userDataDeductionList(@RequestBody EmployeeReportDto employeeReportDto); /** * 顾问-名下会员+公海释放会员未执行数据-导出 */ @PostMapping("/admin/consultant/report/user/data/deduction/list/export") Result userDataDeductionExport(@RequestBody EmployeeReportDto employeeReportDto); } 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/bi/poly/BiUserDoctorProjectService.java
New file @@ -0,0 +1,24 @@ package com.hz.his.feign.service.platform.bi.poly; import com.hx.resultTool.Result; import com.hz.his.dto.report.EmployeeReportDto; 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 = "phiskin-bi-polymerize-service", path = "/bi-poly", contextId = "bi-poly-userDocPro") public interface BiUserDoctorProjectService { /** * 初始化更新 */ @PostMapping("/user/doctor/relation/init/total") Result init(@RequestBody EmployeeReportDto employeeReportDto); } 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/LabelFindVo.java
New file @@ -0,0 +1,16 @@ package com.hz.his.vo.label; import lombok.Data; /** * @author CJH */ @Data public class LabelFindVo { /**范围标识*/ private String rangeCode; /**用户标识*/ private String userId; } phis-feign/src/main/java/com/hz/his/vo/label/LabelTypeAddVo.java
New file @@ -0,0 +1,37 @@ package com.hz.his.vo.label; import lombok.Data; import java.util.ArrayList; import java.util.List; /** * @author CJH */ @Data public class LabelTypeAddVo { /**标签分类标识*/ private String id; /**标签分类名称*/ private String name; /**选择值数量,不填无限制*/ private Integer selectValue; /**可自定义标签:0否1是*/ private Integer customRule; /**子类*/ private LabelTypeAddVo child; public LabelTypeAddVo() { } public LabelTypeAddVo(String id, String name, Integer selectValue, Integer customRule) { this.id = id; this.name = name; this.selectValue = selectValue; this.customRule = customRule; } } phis-feign/src/main/java/com/hz/his/vo/label/LabelTypeVo.java
New file @@ -0,0 +1,39 @@ package com.hz.his.vo.label; import lombok.Data; import java.util.ArrayList; import java.util.List; /** * @author CJH */ @Data public class LabelTypeVo { /**标签分类标识*/ private String id; /**标签分类名称*/ private String name; /**选择值数量,不填无限制*/ private Integer selectValue; /**可自定义标签:0否1是*/ private Integer customRule; /**标签集合*/ private List<LabelVo> labelList; /**子类*/ private List<LabelTypeVo> childList = new ArrayList<>(); public LabelTypeVo() { } public LabelTypeVo(String id, String name,Integer selectValue,Integer customRule) { this.id = id; this.name = name; this.selectValue = selectValue; this.customRule = customRule; } } phis-feign/src/main/java/com/hz/his/vo/label/LabelVo.java
New file @@ -0,0 +1,40 @@ package com.hz.his.vo.label; import lombok.Data; import java.util.ArrayList; import java.util.List; /** * @author CJH */ @Data public class LabelVo { /**用户标签标识*/ private String id; /**系统标签标识*/ private String labelId; /**系统标签分类标识*/ private String labelTypeId; /**标签名称*/ private String name; /**是否自定义标签:0否1是*/ private Integer isCustom; public LabelVo() { } public LabelVo(String id, String name) { this.id = id; this.name = name; } public LabelVo(String id,String labelTypeId,String labelId, String name, Integer isCustom) { this.id = id; this.labelTypeId = labelTypeId; this.labelId = labelId; this.name = name; this.isCustom = isCustom; } } phis-feign/src/main/java/com/hz/his/vo/label/UserLabelInfoVo.java
New file @@ -0,0 +1,18 @@ package com.hz.his.vo.label; import lombok.Data; /** * @author CJH */ @Data public class UserLabelInfoVo { /**用户标签标识*/ private String id; /**是否自定义:0否1是-必填*/ private Integer isCustom; /**系统标签标识-选填(isCustom是0必填)*/ private String labelId; /**标签名称-选填(isCustom是1必填)*/ private String labelName; } phis-feign/src/main/java/com/hz/his/vo/label/UserLabelTypeVo.java
New file @@ -0,0 +1,21 @@ package com.hz.his.vo.label; import lombok.Data; import java.util.List; /** * @author CJH */ @Data public class UserLabelTypeVo { /**系统标签分类标识-必填(自动打标签可空),该字段比labelTypeAdd优先*/ private String labelTypeId; /**自动生成标签分类-自动打标签使用*/ private LabelTypeAddVo labelTypeAdd; /**用户标签集合*/ private List<UserLabelInfoVo> userLabelList; } phis-feign/src/main/java/com/hz/his/vo/label/UserLabelVo.java
New file @@ -0,0 +1,20 @@ package com.hz.his.vo.label; import lombok.Data; import java.util.List; /** * @author CJH */ @Data public class UserLabelVo { /**所属用户-必填*/ 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; /**用户卡项条目-单次抵扣金额*/