更新大屏

This commit is contained in:
USER-20220102CG\noblelift
2022-06-28 15:30:04 +08:00
parent a203fb8576
commit bf7496ee25
36 changed files with 36 additions and 13 deletions

View File

@@ -637,9 +637,6 @@ public class InstructionServiceImpl implements InstructionService, ApplicationAu
@Override
@Transactional(rollbackFor = Exception.class)
public void update(Instruction dto) {
Instruction entity = this.findById(dto.getInstruction_id());
if (entity == null) throw new BadRequestException("被删除或无权限,操作失败!");
String currentUsername = SecurityUtils.getCurrentUsername();
String now = DateUtil.now();
dto.setUpdate_time(now);