重写用户获取火点数据的接口

This commit is contained in:
liuchengqian 2023-03-01 17:08:51 +08:00
parent 9849e22e8a
commit 08621cc9f7
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ public class DispatchFirePointServiceImpl implements DispatchFirePointService {
public String debug() { public String debug() {
Optional<SysUserEntity> sysUser = sysUserDao.findById(1120L); Optional<SysUserEntity> 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(); boolean success = firePointQueryResultBean.isSuccess();
String errorMessage = firePointQueryResultBean.getErrorMessage(); String errorMessage = firePointQueryResultBean.getErrorMessage();
List<AllFirePointVo> list = firePointQueryResultBean.getList(); List<AllFirePointVo> list = firePointQueryResultBean.getList();

View File

@ -23,7 +23,7 @@ spring.datasource.hikari.validation-timeout = 3000
## Spring Data JPA 配置 ## Spring Data JPA 配置
spring.jpa.database = POSTGRESQL spring.jpa.database = POSTGRESQL
spring.jpa.database-platform = org.hibernate.dialect.PostgreSQLDialect 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) # 指定 ddl mode (none, validate, create, create-drop, update)
spring.jpa.hibernate.ddl-auto = update spring.jpa.hibernate.ddl-auto = update
# 命名策略 # 命名策略