|
@@ -1,3 +1,4 @@
|
|
|
|
+/*
|
|
package com.diagbot.facade;
|
|
package com.diagbot.facade;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
@@ -41,11 +42,13 @@ import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
import java.util.stream.Collectors;
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
|
|
+*/
|
|
/**
|
|
/**
|
|
* @Description:
|
|
* @Description:
|
|
* @Author:zhaops
|
|
* @Author:zhaops
|
|
* @time: 2020/8/12 14:25
|
|
* @time: 2020/8/12 14:25
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
@Component
|
|
@Component
|
|
public class DeptConfigFacade {
|
|
public class DeptConfigFacade {
|
|
@Autowired
|
|
@Autowired
|
|
@@ -53,25 +56,29 @@ public class DeptConfigFacade {
|
|
@Autowired
|
|
@Autowired
|
|
private CdssCoreClient cdssCoreClient;
|
|
private CdssCoreClient cdssCoreClient;
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 判断是否已存在
|
|
* 判断是否已存在
|
|
*
|
|
*
|
|
* @param deptConfig
|
|
* @param deptConfig
|
|
* @return
|
|
* @return
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public Boolean isExistRecord(DeptConfig deptConfig) {
|
|
public Boolean isExistRecord(DeptConfig deptConfig) {
|
|
QueryWrapper<DeptConfig> queryWrapper = new QueryWrapper<>();
|
|
QueryWrapper<DeptConfig> queryWrapper = new QueryWrapper<>();
|
|
queryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
queryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
.eq("hospital_id", deptConfig.getHospitalId())
|
|
.eq("hospital_id", deptConfig.getHospitalId())
|
|
.eq("his_name", deptConfig.getHisName())
|
|
.eq("his_name", deptConfig.getHisName())
|
|
.eq("unique_name", deptConfig.getUniqueName());
|
|
.eq("unique_name", deptConfig.getUniqueName());
|
|
- /* if (StringUtil.isNotBlank(deptConfig.getHisCode())) {
|
|
|
|
|
|
+ */
|
|
|
|
+/* if (StringUtil.isNotBlank(deptConfig.getHisCode())) {
|
|
queryWrapper.eq("his_code", deptConfig.getHisCode());
|
|
queryWrapper.eq("his_code", deptConfig.getHisCode());
|
|
} else {
|
|
} else {
|
|
queryWrapper.and(i -> i.isNull("his_code")
|
|
queryWrapper.and(i -> i.isNull("his_code")
|
|
.or()
|
|
.or()
|
|
.eq("his_code", ""));
|
|
.eq("his_code", ""));
|
|
- }*/
|
|
|
|
|
|
+ }*//*
|
|
|
|
+
|
|
DeptConfig oldRecord = deptConfigService.getOne(queryWrapper, false);
|
|
DeptConfig oldRecord = deptConfigService.getOne(queryWrapper, false);
|
|
if (deptConfig.getId() == null
|
|
if (deptConfig.getId() == null
|
|
&& oldRecord != null) {
|
|
&& oldRecord != null) {
|
|
@@ -85,12 +92,14 @@ public class DeptConfigFacade {
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 保存记录-单条
|
|
* 保存记录-单条
|
|
*
|
|
*
|
|
* @param deptConfig
|
|
* @param deptConfig
|
|
* @return
|
|
* @return
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public Boolean saveOrUpdateRecord(DeptConfig deptConfig) {
|
|
public Boolean saveOrUpdateRecord(DeptConfig deptConfig) {
|
|
String userId = UserUtils.getCurrentPrincipleID();
|
|
String userId = UserUtils.getCurrentPrincipleID();
|
|
Date now = DateUtil.now();
|
|
Date now = DateUtil.now();
|
|
@@ -101,13 +110,15 @@ public class DeptConfigFacade {
|
|
.eq("hospital_id", deptConfig.getHospitalId())
|
|
.eq("hospital_id", deptConfig.getHospitalId())
|
|
.eq("his_name", deptConfig.getHisName())
|
|
.eq("his_name", deptConfig.getHisName())
|
|
.eq("unique_name", deptConfig.getUniqueName());
|
|
.eq("unique_name", deptConfig.getUniqueName());
|
|
- /*if (StringUtil.isNotBlank(deptConfig.getHisCode())) {
|
|
|
|
|
|
+ */
|
|
|
|
+/*if (StringUtil.isNotBlank(deptConfig.getHisCode())) {
|
|
queryWrapper.eq("his_code", deptConfig.getHisCode());
|
|
queryWrapper.eq("his_code", deptConfig.getHisCode());
|
|
} else {
|
|
} else {
|
|
queryWrapper.and(i -> i.isNull("his_code")
|
|
queryWrapper.and(i -> i.isNull("his_code")
|
|
.or()
|
|
.or()
|
|
.eq("his_code", ""));
|
|
.eq("his_code", ""));
|
|
- }*/
|
|
|
|
|
|
+ }*//*
|
|
|
|
+
|
|
DeptConfig oldRecord = deptConfigService.getOne(queryWrapper, false);
|
|
DeptConfig oldRecord = deptConfigService.getOne(queryWrapper, false);
|
|
if (deptConfig.getId() == null
|
|
if (deptConfig.getId() == null
|
|
&& oldRecord != null) {
|
|
&& oldRecord != null) {
|
|
@@ -130,12 +141,14 @@ public class DeptConfigFacade {
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 保存记录-批量
|
|
* 保存记录-批量
|
|
*
|
|
*
|
|
* @param deptConfigListVO
|
|
* @param deptConfigListVO
|
|
* @return
|
|
* @return
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public Boolean saveOrUpdateRecords(DeptConfigListVO deptConfigListVO) {
|
|
public Boolean saveOrUpdateRecords(DeptConfigListVO deptConfigListVO) {
|
|
if (ListUtil.isEmpty(deptConfigListVO.getDeptConfigList())) {
|
|
if (ListUtil.isEmpty(deptConfigListVO.getDeptConfigList())) {
|
|
return false;
|
|
return false;
|
|
@@ -143,12 +156,14 @@ public class DeptConfigFacade {
|
|
return saveOrUpdateRecords(deptConfigListVO.getDeptConfigList());
|
|
return saveOrUpdateRecords(deptConfigListVO.getDeptConfigList());
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 批量保存
|
|
* 批量保存
|
|
*
|
|
*
|
|
* @param deptConfigList
|
|
* @param deptConfigList
|
|
* @return
|
|
* @return
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public Boolean saveOrUpdateRecords(List<DeptConfig> deptConfigList) {
|
|
public Boolean saveOrUpdateRecords(List<DeptConfig> deptConfigList) {
|
|
if (ListUtil.isEmpty(deptConfigList)) {
|
|
if (ListUtil.isEmpty(deptConfigList)) {
|
|
return false;
|
|
return false;
|
|
@@ -198,12 +213,14 @@ public class DeptConfigFacade {
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 删除记录-单条
|
|
* 删除记录-单条
|
|
*
|
|
*
|
|
* @param idVO
|
|
* @param idVO
|
|
* @return
|
|
* @return
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public Boolean deleteRecord(IdVO idVO) {
|
|
public Boolean deleteRecord(IdVO idVO) {
|
|
UpdateWrapper<DeptConfig> updateWrapper = new UpdateWrapper<>();
|
|
UpdateWrapper<DeptConfig> updateWrapper = new UpdateWrapper<>();
|
|
updateWrapper.eq("id", idVO.getId())
|
|
updateWrapper.eq("id", idVO.getId())
|
|
@@ -212,12 +229,14 @@ public class DeptConfigFacade {
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 删除记录-批量
|
|
* 删除记录-批量
|
|
*
|
|
*
|
|
* @param idListVO
|
|
* @param idListVO
|
|
* @return
|
|
* @return
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public Boolean deleteRecords(IdListVO idListVO) {
|
|
public Boolean deleteRecords(IdListVO idListVO) {
|
|
if (ListUtil.isEmpty(idListVO.getIds())) {
|
|
if (ListUtil.isEmpty(idListVO.getIds())) {
|
|
return false;
|
|
return false;
|
|
@@ -229,22 +248,26 @@ public class DeptConfigFacade {
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 分页查询
|
|
* 分页查询
|
|
*
|
|
*
|
|
* @param deptConfigPageVO
|
|
* @param deptConfigPageVO
|
|
* @return
|
|
* @return
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public IPage<DeptConfig> getPage(DeptConfigPageVO deptConfigPageVO) {
|
|
public IPage<DeptConfig> getPage(DeptConfigPageVO deptConfigPageVO) {
|
|
return deptConfigService.getPage(deptConfigPageVO);
|
|
return deptConfigService.getPage(deptConfigPageVO);
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 数据导入
|
|
* 数据导入
|
|
*
|
|
*
|
|
* @param file
|
|
* @param file
|
|
* @param hospitalIdVO
|
|
* @param hospitalIdVO
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public void importExcel(MultipartFile file, HospitalIdVO hospitalIdVO) {
|
|
public void importExcel(MultipartFile file, HospitalIdVO hospitalIdVO) {
|
|
List<DeptConfig> deptConfigList = ExcelUtils.importExcel(file, 0, 1, DeptConfig.class);
|
|
List<DeptConfig> deptConfigList = ExcelUtils.importExcel(file, 0, 1, DeptConfig.class);
|
|
if (ListUtil.isNotEmpty(deptConfigList)) {
|
|
if (ListUtil.isNotEmpty(deptConfigList)) {
|
|
@@ -257,12 +280,14 @@ public class DeptConfigFacade {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 数据导入
|
|
* 数据导入
|
|
*
|
|
*
|
|
* @param deptConfigList
|
|
* @param deptConfigList
|
|
* @return
|
|
* @return
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public Boolean importExcelRecords(List<DeptConfig> deptConfigList, HospitalIdVO hospitalIdVO) {
|
|
public Boolean importExcelRecords(List<DeptConfig> deptConfigList, HospitalIdVO hospitalIdVO) {
|
|
Long hospitalId = hospitalIdVO.getHospitalId();
|
|
Long hospitalId = hospitalIdVO.getHospitalId();
|
|
String userId = UserUtils.getCurrentPrincipleID();
|
|
String userId = UserUtils.getCurrentPrincipleID();
|
|
@@ -332,7 +357,8 @@ public class DeptConfigFacade {
|
|
});
|
|
});
|
|
|
|
|
|
//标准术语校验
|
|
//标准术语校验
|
|
- /* List<String> errorNumList = Lists.newLinkedList();
|
|
|
|
|
|
+ */
|
|
|
|
+/* List<String> errorNumList = Lists.newLinkedList();
|
|
List<String> uniqueNames = deptConfigList.stream()
|
|
List<String> uniqueNames = deptConfigList.stream()
|
|
.map(i -> i.getUniqueName())
|
|
.map(i -> i.getUniqueName())
|
|
.distinct()
|
|
.distinct()
|
|
@@ -353,7 +379,8 @@ public class DeptConfigFacade {
|
|
"以下行数(不计空行)标准术语在数据库中不存在:"
|
|
"以下行数(不计空行)标准术语在数据库中不存在:"
|
|
+ errorNumList.stream().collect(Collectors.joining("、"))
|
|
+ errorNumList.stream().collect(Collectors.joining("、"))
|
|
+ "。导入取消,请修改后再试。");
|
|
+ "。导入取消,请修改后再试。");
|
|
- }*/
|
|
|
|
|
|
+ }*//*
|
|
|
|
+
|
|
|
|
|
|
//重复数据过滤
|
|
//重复数据过滤
|
|
deptConfigList = deptConfigList
|
|
deptConfigList = deptConfigList
|
|
@@ -369,15 +396,18 @@ public class DeptConfigFacade {
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 获取映射关系-公表名
|
|
* 获取映射关系-公表名
|
|
*
|
|
*
|
|
* @param hospitalId
|
|
* @param hospitalId
|
|
* @param hisNames
|
|
* @param hisNames
|
|
* @param uniqueNames
|
|
* @param uniqueNames
|
|
* @return
|
|
* @return
|
|
- */
|
|
|
|
- public Map<String, Map<String, List<Long>>> getConfigMap(Long hospitalId, List<String> hisNames, List<String> uniqueNames) {
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
|
|
+ */
|
|
|
|
+/*public Map<String, Map<String, List<Long>>> getConfigMap(Long hospitalId, List<String> hisNames, List<String> uniqueNames) {
|
|
Map<String, Map<String, List<Long>>> retMap = new HashMap<>();
|
|
Map<String, Map<String, List<Long>>> retMap = new HashMap<>();
|
|
QueryWrapper<DeptConfig> queryWrapper = new QueryWrapper<>();
|
|
QueryWrapper<DeptConfig> queryWrapper = new QueryWrapper<>();
|
|
queryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
queryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
@@ -404,14 +434,17 @@ public class DeptConfigFacade {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return retMap;
|
|
return retMap;
|
|
- }
|
|
|
|
|
|
+ }*//*
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 数据导出
|
|
* 数据导出
|
|
*
|
|
*
|
|
* @param response
|
|
* @param response
|
|
* @param hospitalIdVO
|
|
* @param hospitalIdVO
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public void exportExcel(HttpServletResponse response, HospitalIdVO hospitalIdVO) {
|
|
public void exportExcel(HttpServletResponse response, HospitalIdVO hospitalIdVO) {
|
|
QueryWrapper<DeptConfig> queryWrapper = new QueryWrapper<>();
|
|
QueryWrapper<DeptConfig> queryWrapper = new QueryWrapper<>();
|
|
queryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
queryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
@@ -422,32 +455,38 @@ public class DeptConfigFacade {
|
|
ExcelUtils.exportExcel(records, null, "sheet1", DeptConfig.class, fileName, response, 12.8f);
|
|
ExcelUtils.exportExcel(records, null, "sheet1", DeptConfig.class, fileName, response, 12.8f);
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 各医院映射关系数列表
|
|
* 各医院映射关系数列表
|
|
*
|
|
*
|
|
* @param hosRelationNumPageVO
|
|
* @param hosRelationNumPageVO
|
|
* @return
|
|
* @return
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public IPage<HosRelationNumDTO> getRelationNumPage(HosRelationNumPageVO hosRelationNumPageVO) {
|
|
public IPage<HosRelationNumDTO> getRelationNumPage(HosRelationNumPageVO hosRelationNumPageVO) {
|
|
return deptConfigService.getRelationNumPage(hosRelationNumPageVO);
|
|
return deptConfigService.getRelationNumPage(hosRelationNumPageVO);
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 数据导入模板导出
|
|
* 数据导入模板导出
|
|
*
|
|
*
|
|
* @param response
|
|
* @param response
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public void exportExcelModule(HttpServletResponse response) {
|
|
public void exportExcelModule(HttpServletResponse response) {
|
|
String fileName = "科室映射模板.xls";
|
|
String fileName = "科室映射模板.xls";
|
|
ExcelUtils.exportExcel(new ArrayList<>(), null, "sheet1", DeptConfig.class, fileName, response, 12.8f);
|
|
ExcelUtils.exportExcel(new ArrayList<>(), null, "sheet1", DeptConfig.class, fileName, response, 12.8f);
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 导入数据预匹配
|
|
* 导入数据预匹配
|
|
*
|
|
*
|
|
* @param file
|
|
* @param file
|
|
* @param response
|
|
* @param response
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public void precDataMatch(MultipartFile file, HttpServletResponse response) {
|
|
public void precDataMatch(MultipartFile file, HttpServletResponse response) {
|
|
List<DeptConfig> originList = ExcelUtils.importExcel(file, 0, 1, DeptConfig.class);
|
|
List<DeptConfig> originList = ExcelUtils.importExcel(file, 0, 1, DeptConfig.class);
|
|
List<DeptConfig> retList = dataProcess(originList);
|
|
List<DeptConfig> retList = dataProcess(originList);
|
|
@@ -455,24 +494,28 @@ public class DeptConfigFacade {
|
|
ExcelUtils.exportExcel(retList, null, "sheet1", DeptConfig.class, fileName, response, 12.8f);
|
|
ExcelUtils.exportExcel(retList, null, "sheet1", DeptConfig.class, fileName, response, 12.8f);
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 导入数据验证
|
|
* 导入数据验证
|
|
*
|
|
*
|
|
* @param file
|
|
* @param file
|
|
* @return
|
|
* @return
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public Boolean dataVerify(MultipartFile file) {
|
|
public Boolean dataVerify(MultipartFile file) {
|
|
List<DeptConfig> originList = ExcelUtils.importExcel(file, 0, 1, DeptConfig.class);
|
|
List<DeptConfig> originList = ExcelUtils.importExcel(file, 0, 1, DeptConfig.class);
|
|
List<DeptConfig> retList = dataProcess(originList);
|
|
List<DeptConfig> retList = dataProcess(originList);
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 数据处理
|
|
* 数据处理
|
|
*
|
|
*
|
|
* @param originList
|
|
* @param originList
|
|
* @return
|
|
* @return
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public List<DeptConfig> dataProcess(List<DeptConfig> originList) {
|
|
public List<DeptConfig> dataProcess(List<DeptConfig> originList) {
|
|
List<DeptConfig> retList = Lists.newLinkedList();
|
|
List<DeptConfig> retList = Lists.newLinkedList();
|
|
List<String> hisNameList = originList.stream().map(i -> i.getHisName()).distinct().collect(Collectors.toList());
|
|
List<String> hisNameList = originList.stream().map(i -> i.getHisName()).distinct().collect(Collectors.toList());
|
|
@@ -494,7 +537,8 @@ public class DeptConfigFacade {
|
|
}
|
|
}
|
|
precUniqueName = precUniqueName.stream().distinct().collect(Collectors.toList());
|
|
precUniqueName = precUniqueName.stream().distinct().collect(Collectors.toList());
|
|
|
|
|
|
- /*ConceptVO conceptVO = new ConceptVO();
|
|
|
|
|
|
+ */
|
|
|
|
+/*ConceptVO conceptVO = new ConceptVO();
|
|
conceptVO.setNames(precUniqueName);
|
|
conceptVO.setNames(precUniqueName);
|
|
conceptVO.setType(ConceptTypeEnum.Dept.getKey());
|
|
conceptVO.setType(ConceptTypeEnum.Dept.getKey());
|
|
RespDTO<List<String>> respDTO = cdssCoreClient.getConceptNames(conceptVO);
|
|
RespDTO<List<String>> respDTO = cdssCoreClient.getConceptNames(conceptVO);
|
|
@@ -519,7 +563,8 @@ public class DeptConfigFacade {
|
|
retList.add(originItem);
|
|
retList.add(originItem);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- }*/
|
|
|
|
|
|
+ }*//*
|
|
|
|
+
|
|
|
|
|
|
retList = retList.stream()
|
|
retList = retList.stream()
|
|
.distinct()
|
|
.distinct()
|
|
@@ -527,11 +572,13 @@ public class DeptConfigFacade {
|
|
return retList;
|
|
return retList;
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 获取所有医院映射数据
|
|
* 获取所有医院映射数据
|
|
*
|
|
*
|
|
* @return
|
|
* @return
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public Map<String, List<DeptConfig>> getAll(List<String> hisNameList) {
|
|
public Map<String, List<DeptConfig>> getAll(List<String> hisNameList) {
|
|
Map<String, List<DeptConfig>> retMap = new HashMap<>();
|
|
Map<String, List<DeptConfig>> retMap = new HashMap<>();
|
|
QueryWrapper<DeptConfig> queryWrapper = new QueryWrapper<>();
|
|
QueryWrapper<DeptConfig> queryWrapper = new QueryWrapper<>();
|
|
@@ -563,16 +610,18 @@ public class DeptConfigFacade {
|
|
return retMap;
|
|
return retMap;
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
|
|
+ */
|
|
|
|
+/**
|
|
* 查找指定医院映射关系
|
|
* 查找指定医院映射关系
|
|
*
|
|
*
|
|
* @param hospitalId
|
|
* @param hospitalId
|
|
* @return
|
|
* @return
|
|
- */
|
|
|
|
|
|
+ *//*
|
|
|
|
+
|
|
public List<DeptConfig> getListByHospitalId(Long hospitalId) {
|
|
public List<DeptConfig> getListByHospitalId(Long hospitalId) {
|
|
QueryWrapper<DeptConfig> queryWrapper = new QueryWrapper<>();
|
|
QueryWrapper<DeptConfig> queryWrapper = new QueryWrapper<>();
|
|
queryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
queryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
.eq("hospital_id", hospitalId);
|
|
.eq("hospital_id", hospitalId);
|
|
return deptConfigService.list(queryWrapper);
|
|
return deptConfigService.list(queryWrapper);
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+}*/
|