From 52b286bff3895b8490f365d77584f1458ab1564e Mon Sep 17 00:00:00 2001 From: whycq <123456> Date: 星期二, 30 一月 2024 09:50:48 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/controller/OpenController.java | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zy/asrs/controller/OpenController.java b/src/main/java/com/zy/asrs/controller/OpenController.java index cbf0609..eb2cd6c 100644 --- a/src/main/java/com/zy/asrs/controller/OpenController.java +++ b/src/main/java/com/zy/asrs/controller/OpenController.java @@ -24,10 +24,7 @@ import javax.servlet.http.HttpServletRequest; import java.io.IOException; import java.sql.ResultSetMetaData; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; +import java.util.*; @Slf4j @RestController @@ -383,6 +380,7 @@ map.put("devStatus", basDevp.getAutoing().equals("Y")? 1:0); map.put("errorCode", 0); map.put("errorMsg", ""); + map.put("newDate",new Date()); list.add(map); } List<BasCrnp> basCrnps = basCrnpService.selectList(new EntityWrapper<>()); @@ -393,6 +391,7 @@ map.put("devStatus", basCrnp.getCrnSts()); map.put("errorCode", 0); map.put("errorMsg", ""); + map.put("newDate",new Date()); list.add(map); } return R.ok(list); -- Gitblit v1.9.1