吉安感知网项目-后端
linwei
2026-02-06 616c44e8a49b607c6c9e7f80160766fa17ad935b
drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/service/impl/GdPatrolTaskServiceImpl.java
@@ -334,7 +334,8 @@
      flowEntity.setOperator(AuthUtil.getNickName());
      flowEntity.setType(WorkOrderTypeEnum.WORK_ORDER_TASK.getValue());
      flowEntity.setFlowStatus(newStatus.getMaxCode());
      flowEntity.setWorkStatus(newStatus.getCode());
      // 将String类型的状态码转换为Integer类型
      flowEntity.setWorkStatus(Integer.valueOf(newStatus.getCode()));
      flowEntity.setCreateDept(Long.valueOf(AuthUtil.getDeptId()));
      return gdWorkOrderFlowService.save(flowEntity);
   }