Browse Source

修复消缺流程bug

zhongwei
tyty 1 year ago
parent
commit
7dac2613c3
  1. 3
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/defect/service/impl/OperDefectServiceImpl.java

3
hzims-service/operational/src/main/java/com/hnac/hzims/operational/defect/service/impl/OperDefectServiceImpl.java

@ -173,6 +173,9 @@ public class OperDefectServiceImpl extends BaseServiceImpl<OperDefectMapper, Ope
if (Func.isNotEmpty(defectVO.getIsDiagnosis())) {
queryWrapper.eq(OperDefectEntity::getIsDiagnosis, defectVO.getIsDiagnosis());
}
if (Func.isNotEmpty(defectVO.getFaultName())) {
queryWrapper.like(OperDefectEntity::getFaultName, defectVO.getFaultName());
}
}
queryWrapper.orderByDesc(OperDefectEntity::getCreateTime);
return queryWrapper;

Loading…
Cancel
Save