|
|
|
@ -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; |
|
|
|
|