Commit b584c401 authored by caotao's avatar caotao

1.在线检测分页接口报错处理。

2.新增mybatisplus分页插件配置。
parent 5afcc417
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
result_type, result_type,
expiry_date, expiry_date,
accept_date, accept_date,
`status`, status,
remark, remark,
sequence_nbr, sequence_nbr,
rec_date, rec_date,
......
package com.yeejoin.amos.boot.module.jyjc.biz.config;
import com.baomidou.mybatisplus.annotation.DbType;
import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration(value="MybatisPlusConfig")
public class MybatisPlusConfigs {
@Bean
public PaginationInterceptor paginationInterceptor()
{
PaginationInterceptor paginationInterceptor = new PaginationInterceptor();
paginationInterceptor.setLimit(50000);
paginationInterceptor.setDialectType(DbType.POSTGRE_SQL.getDb());
return paginationInterceptor;
}
}
...@@ -58,3 +58,5 @@ amos.system.user.app-key=AMOS_STUDIO ...@@ -58,3 +58,5 @@ amos.system.user.app-key=AMOS_STUDIO
amos.system.user.product=AMOS_STUDIO_WEB amos.system.user.product=AMOS_STUDIO_WEB
fire-rescue=123 fire-rescue=123
spring.main.allow-bean-definition-overriding=true
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment