mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-22 12:48:58 +08:00
🐛 Fixing a bug.修复调整字段后导致的BUG
This commit is contained in:
parent
1caf3134dc
commit
02e4b264f3
@ -16,7 +16,6 @@
|
||||
|
||||
package com.pig4cloud.pig.common.mybatis;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.DbType;
|
||||
import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler;
|
||||
import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
|
||||
import com.pig4cloud.pig.common.mybatis.config.MybatisPlusMetaObjectHandler;
|
||||
@ -53,7 +52,7 @@ public class MybatisAutoConfiguration implements WebMvcConfigurer {
|
||||
@Bean
|
||||
public MybatisPlusInterceptor mybatisPlusInterceptor() {
|
||||
MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
|
||||
interceptor.addInnerInterceptor(new PigPaginationInnerInterceptor(DbType.MYSQL));
|
||||
interceptor.addInnerInterceptor(new PigPaginationInnerInterceptor());
|
||||
return interceptor;
|
||||
}
|
||||
|
||||
|
@ -55,6 +55,6 @@
|
||||
LEFT JOIN sys_role_menu ON sys_menu.menu_id = sys_role_menu.menu_id
|
||||
WHERE sys_menu.del_flag = 0
|
||||
AND sys_role_menu.role_id = #{roleId}
|
||||
ORDER BY sys_menu.sort DESC
|
||||
ORDER BY sys_menu.sort_order DESC
|
||||
</select>
|
||||
</mapper>
|
||||
|
Loading…
Reference in New Issue
Block a user