phis-feign/src/main/java/com/hz/his/dto/deduction/DeductionDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/dto/doctorTime/DoctorTimeDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/dto/order/OrderPHisDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/dto/order/PayDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/feign/service/phis/SDoctorTimeService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipDeductionService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
phis-feign/src/main/java/com/hz/his/dto/deduction/DeductionDto.java
@@ -2,26 +2,139 @@ import lombok.Data; import java.util.Date; import java.util.List; /** * @ClassName DeductionDto * @Description 划扣 * @Author Wrh * @Date 2022/10/13 10:37 * @Version 1.0 * 划扣接受参数 先改名后续废弃 * author:andru * Date:2021/12/10 14:41 */ @Data public class DeductionDto { /**划扣id*/ // 划扣记录id private String deductionSingleId; /**用户id*/ private String userId; /**是否客户确认(0:否,1:是)*/ private Integer isCustomerConfirm; /**治疗通知单治疗项目id*/ // 用户项目id private String userProjectId; // 用户项目子项id(具体划扣的项目数据的id) private String userProjectItemId; // 公用标识 (预约订单填写id) private String commonId; // 治疗通知单id private String treatSingleId; // 治疗通知单治疗项目id private String treatProjectId; /**项目id列表*/ // 接诊咨询师id private String receptionConsultantId; // 新增类型 DeductionSingleConstants.TYPE_SELF_ADD 默认自增 private String type = "self_add"; // 科室id(FamiliesRoom) private String departmentId; // 科室编号 private String departmentCode; // 科室名称 private String departmentName; // 主诊医生标识(Employee) private String primaryDoctorId; // 主诊医生名称 private String primaryDoctorName; // 治疗医生标识(Employee) private String treatmentDoctorId; // 治疗医生名称 private String treatmentDoctorName; // 备注信息 private String remarkInfo; // 来源应用appId(创建订单平台) private String appId; // 来源应用编码(商户设置平台编码,系统默认,代码必填) private String appIdCode; // 来源代码(应用appId) private String sourceCode; // 来源名称 private String sourceName; // 数量/划扣次数 private Integer deductionNum = 0; // 执行开始时间 private Date executeStartTime; // 执行结束时间 private Date executeEndTime; // 参与人员数据 json private String deductionJoinJson; // 划扣项目消耗处方/药品数据 json private String deductionDrugsJson; // 划扣设备参数数据 json private String deductionDeviceParameterJson; // 客户签名数据 json private String deductionSignJson; // 划扣身体部位数据 json private String deductionBodyPartJson; // 对比照片记录 private String comparePhotoRecordJson; // 批量添加项目id列表 private String userProjectIds; // 门店id private String shopId; // 操作人员工id private String operatorId; // 用户id private String userId; // 划扣日志开始时间 private String logStartTime; // 划扣日志结束时间 private String logEndTime; // 划扣日志-查询His划扣分页日志页数 private Integer page; // 划扣日志-查询His划扣分页日志条数 private Integer size; // 客户确认状态 private Integer isCustomerConfirm; //部位类型(DeductionSingleConstants) private Integer partType; //订单分类(OrderTotalConstants) private Integer orderClassify; // 项目id列表 private List<String> projectIds; // phitab划扣创建时间 private Date phitabCreateTime; public DeductionDto() { } } phis-feign/src/main/java/com/hz/his/dto/doctorTime/DoctorTimeDto.java
New file @@ -0,0 +1,19 @@ package com.hz.his.dto.doctorTime; import com.hz.his.dto.PageDto; import lombok.Data; /** * @ClassName DoctorTimeDto * @Description 医生排班dto * @Author wrh * @Date 2023/7/4 14:40 * @Version 1.0 */ @Data public class DoctorTimeDto extends PageDto { String monthStr; String shopId; String doctorId; } phis-feign/src/main/java/com/hz/his/dto/order/OrderPHisDto.java
@@ -26,4 +26,8 @@ private List<OrderItemPHisDto> orderItem; /**开发人集合 非必填*/ private List<OrderDeveloperDto> orderDeveloper; /**卡扣不判断过期时间:0否1是*/ private Integer cardPass = 0; } phis-feign/src/main/java/com/hz/his/dto/order/PayDto.java
@@ -50,6 +50,9 @@ private String otherOrderNo; /**第三方兑换码*/ private String redemptionCode; /**结账之后是否直接划扣:0否1是*/ private Integer directDeduction; private Integer directDeduction = 0; /**卡扣不判断过期时间:0否1是*/ private Integer cardPass = 0; } phis-feign/src/main/java/com/hz/his/feign/service/phis/SDoctorTimeService.java
New file @@ -0,0 +1,30 @@ package com.hz.his.feign.service.phis; import com.hx.resultTool.Result; import com.hz.his.dto.doctorTime.DoctorTimeDto; 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; import java.math.BigDecimal; /** * @ClassName SActivityController * @Description 活动规则 * @Author Wrh * @Date 2022/8/8 17:36 * @Version 1.0 */ @FeignClient(name="phis-provider",path = "/p-his-data",contextId = "doctorTime") public interface SDoctorTimeService { /** * 获取医生排班列表 * @return Result */ @PostMapping(value = "/doctor/time/list") Result list(@RequestBody DoctorTimeDto dto); } phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipDeductionService.java
@@ -24,7 +24,6 @@ @PostMapping(value = "/deduction/customer/confirm/all") Result customerConfirmAll(@RequestBody DeductionDto dto); /** * 客户确认划扣之前页面数据 */ @@ -32,8 +31,38 @@ Result customerConfirmBefore(@RequestBody DeductionDto dto); /** * 客户确认划扣之前页面数据所有未确认数据 */ @PostMapping(value = "/deduction/customer/confirm/all/before") Result customerConfirmAllBefore(@RequestBody DeductionDto dto); /** * 获取用户划扣信息之前的医生信息 */ @PostMapping(value = "/deduction/project/before/doctor/info") Result projectBeforeDoctorInfo(@RequestBody DeductionDto dto); /** * 新增划扣记录 */ @PostMapping(value = "/deduction/add") Result addData(@RequestBody DeductionDto dto); /** * 修改划扣记录 */ @PostMapping(value = "/deduction/update") Result updateData(@RequestBody DeductionDto dto); /** * 作废划扣记录 */ @PostMapping(value = "/deduction/rescinded") Result rescindedData(@RequestBody DeductionDto dto); /** * 删除划扣记录 */ @PostMapping(value = "/deduction/delete") Result deleteData(@RequestBody DeductionDto dto); }