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