| | |
| | | import cn.flightfeather.supervision.domain.ds1.entity.* |
| | | import cn.flightfeather.supervision.common.utils.DateUtil |
| | | import cn.flightfeather.supervision.common.utils.UUIDGenerator |
| | | import cn.flightfeather.supervision.config.IgnoreResponseAdvice |
| | | import cn.flightfeather.supervision.lightshare.service.* |
| | | import cn.flightfeather.supervision.lightshare.vo.* |
| | | import org.springframework.beans.BeanUtils |
| | |
| | | |
| | | @ApiIgnore |
| | | @Controller |
| | | @IgnoreResponseAdvice |
| | | @RequestMapping("menu") |
| | | class MenuController { |
| | | @Autowired |
| | |
| | | BeanUtils.copyProperties(subtaskVo, subtask) |
| | | //如果guid不为空,那就更新 |
| | | if (!StringUtils.isEmpty(subtask.stguid)) { |
| | | subtaskService.update(subtask) |
| | | subtaskService.changeStatus(subtask) |
| | | } else { |
| | | //获取日任务 |
| | | val daytask = taskService.findByID(subtaskVo.tsguid!!) |