Compare commits
7 Commits
Author | SHA1 | Date |
---|---|---|
|
9aff768e6a | 3 months ago |
|
cfdf53d716 | 3 months ago |
|
e0345a5b3e | 3 months ago |
|
1023517fdb | 3 months ago |
|
f6894d3885 | 3 months ago |
|
2930c302fd | 3 months ago |
|
c0cd29ef64 | 3 months ago |
@ -1,8 +0,0 @@
|
||||
# 默认忽略的文件
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# 基于编辑器的 HTTP 客户端请求
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
@ -1,7 +0,0 @@
|
||||
<component name="ProjectCodeStyleConfiguration">
|
||||
<code_scheme name="Project" version="173">
|
||||
<ScalaCodeStyleSettings>
|
||||
<option name="MULTILINE_STRING_CLOSING_QUOTES_ON_NEW_LINE" value="true" />
|
||||
</ScalaCodeStyleSettings>
|
||||
</code_scheme>
|
||||
</component>
|
@ -1,5 +0,0 @@
|
||||
<component name="ProjectCodeStyleConfiguration">
|
||||
<state>
|
||||
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
|
||||
</state>
|
||||
</component>
|
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/superMarket-backend/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="21.0.2" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/远程测试仓库1.iml" filepath="$PROJECT_DIR$/.idea/远程测试仓库1.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
@ -1,32 +1,67 @@
|
||||
3245
|
||||
23452
|
||||
523
|
||||
62
|
||||
62
|
||||
23
|
||||
42234
|
||||
2
|
||||
3424
|
||||
253262
|
||||
5
|
||||
6
|
||||
24
|
||||
524
|
||||
6252
|
||||
3
|
||||
3
|
||||
3
|
||||
3
|
||||
33
|
||||
3
|
||||
3
|
||||
3
|
||||
|
||||
33
|
||||
|
||||
3
|
||||
3
|
||||
3
|
||||
3
|
||||
3
|
||||
34
|
||||
34
|
||||
333
|
||||
33
|
||||
3
|
||||
3
|
||||
33
|
||||
3
|
||||
3
|
||||
342
|
||||
2
|
||||
5252
|
||||
5
|
||||
66
|
||||
7878
|
||||
32
|
||||
525
|
||||
2
|
||||
52
|
||||
52
|
||||
5
|
||||
25
|
||||
2
|
||||
523414
|
||||
14
|
||||
1
|
||||
4131
|
||||
3
|
||||
3247534
|
||||
31
|
||||
|
||||
5125
|
||||
41
|
||||
4
|
||||
14
|
||||
14
|
||||
14
|
||||
1515
|
||||
|
||||
3
|
||||
616
|
||||
615
|
||||
14
|
||||
14
|
||||
1
|
||||
4
|
||||
673464
|
||||
36
|
||||
3635
|
||||
3
|
||||
63
|
||||
63
|
||||
453
|
||||
45
|
||||
3242
|
||||
352
|
||||
52
|
||||
523
|
||||
5234
|
||||
2
|
||||
14321
|
||||
12
|
||||
412
|
||||
41
|
@ -0,0 +1,20 @@
|
||||
package com.shanzhu.market.common.config;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.DbType;
|
||||
import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
|
||||
import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
public class MpConfig {
|
||||
/*mybatis plus分页插件生效*/
|
||||
@Bean
|
||||
public MybatisPlusInterceptor mybatisPlusInterceptor() {
|
||||
MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
|
||||
PaginationInnerInterceptor paginationInnerInterceptor = new PaginationInnerInterceptor(DbType.MYSQL);
|
||||
paginationInnerInterceptor.setOverflow(true); //合理化
|
||||
interceptor.addInnerInterceptor(paginationInnerInterceptor);
|
||||
return interceptor;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue