From a7181383bbd5475e7dcbd1fcd29020521c85d58d Mon Sep 17 00:00:00 2001 From: swb <jpy123456> Date: Thu, 12 Sep 2024 15:58:25 +0800 Subject: [PATCH] fix:交办单时间修改提交 --- screen-api/src/main/java/com/moral/api/controller/HistoryFiveMinutelyController.java | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/screen-api/src/main/java/com/moral/api/controller/HistoryFiveMinutelyController.java b/screen-api/src/main/java/com/moral/api/controller/HistoryFiveMinutelyController.java index 615fe10..f4e80b9 100644 --- a/screen-api/src/main/java/com/moral/api/controller/HistoryFiveMinutelyController.java +++ b/screen-api/src/main/java/com/moral/api/controller/HistoryFiveMinutelyController.java @@ -94,8 +94,15 @@ @RequestParam @ApiParam(value = "chooseTime",name = "������������������") String chooseTime, @RequestParam @ApiParam(value = "time",name = "������") String time){ QueryFiveDataByMacVO queryFiveDataByMacVO = historyFiveMinutelyService.queryFiveDataByMac(mac, chooseTime, time); - return ResultMessage.ok(ObjectUtils.isEmpty(queryFiveDataByMacVO)?"0":queryFiveDataByMacVO); + if (ObjectUtils.isEmpty(queryFiveDataByMacVO)){ + return ResultMessage.fail(ResponseCodeEnum.TARGET_IS_NULL.getCode(), ResponseCodeEnum.TARGET_IS_NULL.getMsg()); + } + return ResultMessage.ok(queryFiveDataByMacVO); } + + + } + -- Gitblit v1.8.0