| | |
| | | package com.gkhy.safePlatform.targetDuty.controller; |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | |
| | | |
| | |
| | | return new ResultVO<>(ResultCodes.CLIENT_PARAM_ILLEGAL); |
| | | } |
| | | List<Long> idList = Arrays.asList(ids); |
| | | this.targetDutyfileInfoService.removeByIds(idList); |
| | | |
| | | List<TargetDutyfileInfo> delList = new ArrayList<>(); |
| | | idList.forEach(f->{ |
| | | TargetDutyfileInfo info = new TargetDutyfileInfo(); |
| | | info.setDelFlag(1); |
| | | info.setId(f); |
| | | delList.add(info); |
| | | }); |
| | | this.targetDutyfileInfoService.updateBatchById(delList); |
| | | return new ResultVO<>(ResultCodes.OK); |
| | | } |
| | | |