瀏覽代碼

问题增加删除功能

tags/v1.3.1^2
wanjing 1 年之前
父節點
當前提交
dac6e28000
共有 1 個檔案被更改,包括 1 行新增1 行删除
  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 查看文件

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

Loading…
取消
儲存