| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @PostMapping(value = "/taskWrk/updateCommandStep") |
| | | @ManagerAuth(memo = "更新步序") |
| | | public R updateCommandStep(@RequestParam Integer wrkNo, @RequestParam Integer commandStep) { |
| | | TaskWrk taskWrk = taskWrkService.selectByWrkNo(wrkNo); |
| | | if (taskWrk == null) { |
| | | return R.error(); |
| | | } |
| | | Date now = new Date(); |
| | | taskWrk.setCommandStep(commandStep); |
| | | taskWrk.setModiTime(now);//操作时间 |
| | | taskWrk.setModiUser(getUserId());//操作员 |
| | | taskWrkService.updateById(taskWrk); |
| | | return R.ok(); |
| | | } |
| | | |
| | | public static String getTaskType(Integer paramIoType){ |
| | | switch (paramIoType){ |
| | | case 1: |