Explorar el Código

Merge branch 'develop' of gitadmin/tuoheng_telecomumale into release

tags/v1.0.0^2
chengwang hace 1 año
padre
commit
95560940d7
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. +3
    -0
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/WorkOrderServiceImpl.java

+ 3
- 0
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/WorkOrderServiceImpl.java Ver fichero

@@ -345,6 +345,9 @@ public class WorkOrderServiceImpl extends BaseServiceImpl<WorkOrderMapper, WorkO
InspectionFile inspectionFile = inspectionFileMapper.selectById(inspectionFiledId);
inspectionFileList.add(inspectionFile);
}
if(CollectionUtil.isEmpty(inspectionFileList) || inspectionFileList.size() == 0){
throw new ServiceException("问题数据查询为空");
}
log.info("问题列表为:inspectionFileList={}",inspectionFileList.toString());
//待处理问题总数
long count = inspectionFileList.stream().filter(t -> t.getStatus() == 20).count();

Cargando…
Cancelar
Guardar