|
@@ -59,6 +59,8 @@ public class ChargeFeeVoController {
|
|
|
private FileUploadService fileUploadService;
|
|
|
@Autowired
|
|
|
private MzZyReqService mzZyReqService;
|
|
|
+ @Autowired
|
|
|
+ private MzZdCommonService mzZdCommonService;
|
|
|
|
|
|
/**
|
|
|
* 查询日结列表收费清单 未结账
|
|
@@ -1348,6 +1350,7 @@ public class ChargeFeeVoController {
|
|
|
Employee employee=employeeService.queryByUserCode((String) map.get("doctor_code"));
|
|
|
if(employee!=null){
|
|
|
map.put("doctor_name",employee.getEmployeeName());
|
|
|
+ map.put("codeRs",employee.getCodeRs());
|
|
|
}
|
|
|
}
|
|
|
for (Map<String, Object> map : zyList) {
|
|
@@ -1362,6 +1365,7 @@ public class ChargeFeeVoController {
|
|
|
Employee employee=employeeService.queryByUserCode((String) map.get("doctor_code"));
|
|
|
if(employee!=null){
|
|
|
map.put("doctor_name",employee.getEmployeeName());
|
|
|
+ map.put("codeRs",employee.getCodeRs());
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1371,6 +1375,7 @@ public class ChargeFeeVoController {
|
|
|
Employee employee=employeeService.queryByUserCode((String) map.get("doctor_code"));
|
|
|
if(employee!=null){
|
|
|
map.put("doctor_name",employee.getEmployeeName());
|
|
|
+ map.put("codeRs",employee.getCodeRs());
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1428,6 +1433,11 @@ public class ChargeFeeVoController {
|
|
|
}
|
|
|
List<MzZyReq> mzList = mzZyReqService.queryMzZyReqs(beginDate, endDate, doctorCode, warnDept);
|
|
|
if(mzList!=null && mzList.size()>0){
|
|
|
+ List<CodeNameEntity> admissStatuses=mzZdCommonService.queryAdmissStatus();
|
|
|
+ Map<String,String> admissStatusMap = null;
|
|
|
+ if(admissStatuses!=null && admissStatuses.size()>0){
|
|
|
+ admissStatusMap=admissStatuses.stream().collect(Collectors.toMap(CodeNameEntity::getCode,CodeNameEntity::getName));
|
|
|
+ }
|
|
|
for(MzZyReq mzZyReq:mzList){
|
|
|
if(StringUtils.isNotBlank(mzZyReq.getDeptCode())){
|
|
|
mzZyReq.setDeptCode(zdUnitCodeService.queryDeptNameByIdInCache(mzZyReq.getDeptCode()));
|
|
@@ -1435,6 +1445,18 @@ public class ChargeFeeVoController {
|
|
|
if(StringUtils.isNotBlank(mzZyReq.getReqWard())){
|
|
|
mzZyReq.setReqWard(zdUnitCodeService.queryDeptNameByIdInCache(mzZyReq.getReqWard()));
|
|
|
}
|
|
|
+ if(StringUtils.isNotBlank(mzZyReq.getDoctorCode())){
|
|
|
+ Employee employee= employeeService.queryByUserCode(mzZyReq.getDoctorCode());
|
|
|
+ if(employee!=null){
|
|
|
+ mzZyReq.setDoctorCode(employee.getEmployeeName());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(StringUtils.isNotBlank(mzZyReq.getAdmissStatus()) && admissStatusMap!=null){
|
|
|
+ mzZyReq.setAdmissStatus(admissStatusMap.get(mzZyReq.getAdmissStatus()));
|
|
|
+ }
|
|
|
+ if(StringUtils.isNotBlank(mzZyReq.getReqStatus())){
|
|
|
+ mzZyReq.setReqStatus(YesNoEnum.YES.code.toString().equals(mzZyReq.getReqStatus())?"入院":"申请");
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
resultMap.put("code", 0);
|