From 08621cc9f783aef7f9c4cc4f095d77d8e6bb3a8c Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Wed, 1 Mar 2023 17:08:51 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E5=86=99=E7=94=A8=E6=88=B7=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E7=81=AB=E7=82=B9=E6=95=B0=E6=8D=AE=E7=9A=84=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xkrs/straw/service/impl/DispatchFirePointServiceImpl.java | 2 +- src/main/resources/application.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/xkrs/straw/service/impl/DispatchFirePointServiceImpl.java b/src/main/java/com/xkrs/straw/service/impl/DispatchFirePointServiceImpl.java index c16eeaf..c83f1a6 100644 --- a/src/main/java/com/xkrs/straw/service/impl/DispatchFirePointServiceImpl.java +++ b/src/main/java/com/xkrs/straw/service/impl/DispatchFirePointServiceImpl.java @@ -57,7 +57,7 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService { public String debug() { Optional sysUser = sysUserDao.findById(1120L); - FirePointQueryResultBean firePointQueryResultBean = firePointQueryManager.queryFirePointBelongToUser(sysUser.get(), null, null, null, null); + FirePointQueryResultBean firePointQueryResultBean = firePointQueryManager.queryFirePointBelongToUser(sysUser.get(), "2022-04-10 00:47:11", null, null, "耕地"); boolean success = firePointQueryResultBean.isSuccess(); String errorMessage = firePointQueryResultBean.getErrorMessage(); List list = firePointQueryResultBean.getList(); diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 58006b1..bd9c2ff 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -23,7 +23,7 @@ spring.datasource.hikari.validation-timeout = 3000 ## Spring Data JPA 配置 spring.jpa.database = POSTGRESQL spring.jpa.database-platform = org.hibernate.dialect.PostgreSQLDialect -spring.jpa.show-sql = true +spring.jpa.show-sql = false # 指定 ddl mode (none, validate, create, create-drop, update) spring.jpa.hibernate.ddl-auto = update # 命名策略