Browse Source

问题增加删除功能

tags/v1.3.1^2
wanjing 1 year ago
parent
commit
dac6e28000
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/deleted/InspectionFileDeletedService.java

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/deleted/InspectionFileDeletedService.java View File

map.put("idList", idList); map.put("idList", idList);
Integer rowCount = inspectionFileMapper.updateByIdList(map); Integer rowCount = inspectionFileMapper.updateByIdList(map);
if (rowCount <= 0) { if (rowCount <= 0) {
log.info("修改任务问题状态, 忽略失败");
log.info("删除问题失败");
return JsonResult.error(InspectionFileIgnoreCodeEnum.IGNORE_IS_FAILED.getCode(), InspectionFileIgnoreCodeEnum.IGNORE_IS_FAILED.getMsg()); return JsonResult.error(InspectionFileIgnoreCodeEnum.IGNORE_IS_FAILED.getCode(), InspectionFileIgnoreCodeEnum.IGNORE_IS_FAILED.getMsg());
} }
return JsonResult.success(); return JsonResult.success();

Loading…
Cancel
Save