|
@@ -20,11 +20,6 @@ import java.util.List;
|
|
|
public class DashboardService {
|
|
|
private final DashboardDao dao;
|
|
|
|
|
|
- @Data
|
|
|
- public static class careKanban {
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
@Autowired
|
|
|
public DashboardService(DashboardDao dao) {
|
|
|
this.dao = dao;
|
|
@@ -67,9 +62,7 @@ public class DashboardService {
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.put("data", selectInpatientBriefsV22(deptCode));
|
|
|
jsonObject.put("bedCount", dao.bedCount(deptCode));
|
|
|
-
|
|
|
List<String[]> list = new ArrayList<>();
|
|
|
-
|
|
|
list.add(new String[]{"病危", dao.criticallyIllCount(deptCode).toString()});
|
|
|
list.add(new String[]{"病重", dao.seriouslyIllCount(deptCode).toString()});
|
|
|
list.add(new String[]{"一级护理", dao.primaryCare(deptCode).toString()});
|
|
@@ -78,9 +71,7 @@ public class DashboardService {
|
|
|
list.add(new String[]{"出院人数", dao.dischargeCount(deptCode).toString()});
|
|
|
list.add(new String[]{"转出人数", dao.outCount(deptCode).toString()});
|
|
|
list.add(new String[]{"转入人数", dao.inCount(deptCode).toString()});
|
|
|
-
|
|
|
jsonObject.put("huli", list);
|
|
|
-
|
|
|
return ResultVoUtil.success(jsonObject);
|
|
|
}
|
|
|
|