|
@@ -240,7 +240,15 @@ public class ConsoleFacade {
|
|
public Map<String, Object> leaveHosCount(FilterVO filterVO) {
|
|
public Map<String, Object> leaveHosCount(FilterVO filterVO) {
|
|
Map<String, Object> retMap = new HashMap<>();
|
|
Map<String, Object> retMap = new HashMap<>();
|
|
filterFacade.filterVOSet(filterVO);
|
|
filterFacade.filterVOSet(filterVO);
|
|
- Map<String, Object> leaveHosMap = mrStatisticsAggregate.leaveHosCount(filterVO);
|
|
|
|
|
|
+ Map<String, Object> leaveHosMap = new HashMap<>();
|
|
|
|
+ try {
|
|
|
|
+ Map<String, Object> invokeParams = new HashMap<>();
|
|
|
|
+ invokeParams.put("filterVO", filterVO);
|
|
|
|
+ leaveHosMap
|
|
|
|
+ = dataBeanAggregateQueryFacade.get("setAllLeaveHos", invokeParams, Map.class);
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ throw new CommonException(CommonErrorCode.SERVER_IS_ERROR);
|
|
|
|
+ }
|
|
if (leaveHosMap != null) {
|
|
if (leaveHosMap != null) {
|
|
retMap.put("出院人数统计", leaveHosMap);
|
|
retMap.put("出院人数统计", leaveHosMap);
|
|
}
|
|
}
|
|
@@ -997,7 +1005,7 @@ public class ConsoleFacade {
|
|
.eq("code", "unmodify_mr_entry");
|
|
.eq("code", "unmodify_mr_entry");
|
|
SysHospitalSet hospitalSet = sysHospitalSetFacade.getOne(hospitalSetQueryWrapper);
|
|
SysHospitalSet hospitalSet = sysHospitalSetFacade.getOne(hospitalSetQueryWrapper);
|
|
if (hospitalSet == null || StringUtil.isBlank(hospitalSet.getValue())) {
|
|
if (hospitalSet == null || StringUtil.isBlank(hospitalSet.getValue())) {
|
|
- return null;
|
|
|
|
|
|
+ return unModifyMRDTO;
|
|
}
|
|
}
|
|
|
|
|
|
//表头生成
|
|
//表头生成
|
|
@@ -1020,6 +1028,9 @@ public class ConsoleFacade {
|
|
orderNo++;
|
|
orderNo++;
|
|
List<Long> casesEntryIds = Lists.newArrayList();
|
|
List<Long> casesEntryIds = Lists.newArrayList();
|
|
for (String valueStr : columnSet) {
|
|
for (String valueStr : columnSet) {
|
|
|
|
+ if (StringUtil.isBlank(valueStr)) {
|
|
|
|
+ continue;
|
|
|
|
+ }
|
|
String[] keyValue = valueStr.split("--");
|
|
String[] keyValue = valueStr.split("--");
|
|
if (keyValue != null || keyValue.length > 1) {
|
|
if (keyValue != null || keyValue.length > 1) {
|
|
casesEntryIds.add(Long.valueOf(keyValue[0]));
|
|
casesEntryIds.add(Long.valueOf(keyValue[0]));
|
|
@@ -1062,7 +1073,6 @@ public class ConsoleFacade {
|
|
List<QcCasesEntry> casesEntryList = qcCasesEntryFacade.list(qcCasesEntryQueryWrapper);
|
|
List<QcCasesEntry> casesEntryList = qcCasesEntryFacade.list(qcCasesEntryQueryWrapper);
|
|
Map<Long, String> basCasesEntryMap = EntityUtil.makeMapWithKeyValue(casesEntryList, "id", "name");
|
|
Map<Long, String> basCasesEntryMap = EntityUtil.makeMapWithKeyValue(casesEntryList, "id", "name");
|
|
|
|
|
|
-
|
|
|
|
List<UnModifyMRDetailDTO> records = behospitalInfoFacade.unModifyMRStatistics(filterUnModifyMRVO);
|
|
List<UnModifyMRDetailDTO> records = behospitalInfoFacade.unModifyMRStatistics(filterUnModifyMRVO);
|
|
Map<String, List<UnModifyMRDetailDTO>> deptMap = EntityUtil.makeEntityListMap(records, "deptName");
|
|
Map<String, List<UnModifyMRDetailDTO>> deptMap = EntityUtil.makeEntityListMap(records, "deptName");
|
|
Map<String, String> deptInfoMap = EntityUtil.makeMapWithKeyValue(records, "deptName", "deptId");
|
|
Map<String, String> deptInfoMap = EntityUtil.makeMapWithKeyValue(records, "deptName", "deptId");
|