吉安感知网项目-后端
linwei
2026-02-09 ae4e620514b1c1baf94cef706d16c5385fdff837
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);
   }