Ver código fonte

工单问题 工单小程序bug调整

tags/v1.3.4
陈璐 4 meses atrás
pai
commit
1f1559591b
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/WorkOrderServiceImpl.java

+ 1
- 1
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/WorkOrderServiceImpl.java Ver arquivo

@@ -466,7 +466,7 @@ public class WorkOrderServiceImpl extends BaseServiceImpl<WorkOrderMapper, WorkO
if(CollectionUtils.isNotEmpty(inspectionFileHandles)){
List<InspectionFileHandle> inspectionFileHandleList =
inspectionFileHandles.stream().filter(item -> item.getInspectionFileId().equals(t.getId())).collect(Collectors.toList());
if (Objects.nonNull(inspectionFileHandleList.get(0) )){
if (CollectionUtils.isNotEmpty(inspectionFileHandleList) && Objects.nonNull(inspectionFileHandleList.get(0) )){
vo.setAudit(inspectionFileHandleList.get(0).getAudit());
vo.setInspectionFileHandleId(inspectionFileHandleList.get(0).getId());
}

Carregando…
Cancelar
Salvar