汇总患者条件查询问题修改
This commit is contained in:
parent
3a5d7b0c95
commit
b0afa202bf
@ -49,7 +49,8 @@ public interface InspectPatientMapper extends BaseMapperX<InspectPatientDO> {
|
||||
queryWrapper.isNotNull(InspectPatientDO::getSummaryResult).ne(InspectPatientDO::getSummaryResult, "");
|
||||
} else if (reqVO.getInspectionStatus() == 1) {
|
||||
// 如果传过来的值为1,查询InspectionOpinion字段为空
|
||||
queryWrapper.isNull(InspectPatientDO::getSummaryResult).or().eq(InspectPatientDO::getSummaryResult, "");
|
||||
//queryWrapper.isNull(InspectPatientDO::getSummaryResult).or().eq(InspectPatientDO::getSummaryResult, "");
|
||||
queryWrapper.and(wrapper -> wrapper.isNull(InspectPatientDO::getInspectionOpinion).or().eq(InspectPatientDO::getInspectionOpinion, ""));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user