|
@@ -85,7 +85,7 @@ public class QcModuleInfoFacade extends QcModuleInfoServiceImpl {
|
|
|
Map<Long, GetModuleInfoOneDTO> res = new LinkedHashMap<>();
|
|
|
List<QcModuleInfo> qcModuleInfoList = this.list(new QueryWrapper<QcModuleInfo>()
|
|
|
.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
|
- .eq("mode_id", getModuleMapVO.getModeId())
|
|
|
+ .eq(getModuleMapVO.getModeId() != null, "mode_id", getModuleMapVO.getModeId())
|
|
|
.eq("hospital_id", getModuleMapVO.getHospitalId())
|
|
|
);
|
|
|
List<Long> ids = qcModuleInfoList.stream().map(r -> r.getId()).collect(Collectors.toList());
|