diff --git a/equip/src/main/java/com/foreverwin/mesnac/equip/controller/ResourceRepairTaskController.java b/equip/src/main/java/com/foreverwin/mesnac/equip/controller/ResourceRepairTaskController.java index e265342a..0162a2b8 100644 --- a/equip/src/main/java/com/foreverwin/mesnac/equip/controller/ResourceRepairTaskController.java +++ b/equip/src/main/java/com/foreverwin/mesnac/equip/controller/ResourceRepairTaskController.java @@ -248,7 +248,7 @@ public class ResourceRepairTaskController { try { return R.ok(resourceRepairTaskService.findResourceRepairTaskByHandleAndSite(site,handle)); }catch (Exception e){ - return R.failed(""+e.getMessage()); + return R.failed("查询失败:"+e.getMessage()); } } diff --git a/equip/src/main/java/com/foreverwin/mesnac/equip/service/impl/ResourceRepairTaskServiceImpl.java b/equip/src/main/java/com/foreverwin/mesnac/equip/service/impl/ResourceRepairTaskServiceImpl.java index 2b4293b1..2fee846c 100644 --- a/equip/src/main/java/com/foreverwin/mesnac/equip/service/impl/ResourceRepairTaskServiceImpl.java +++ b/equip/src/main/java/com/foreverwin/mesnac/equip/service/impl/ResourceRepairTaskServiceImpl.java @@ -326,6 +326,9 @@ public class ResourceRepairTaskServiceImpl extends ServiceImpl