File was renamed from zy-asrs-common/src/main/java/com/zy/asrs/common/config/CoolBaseConfig.java |
| | |
| | | package com.zy.asrs.common.config; |
| | | |
| | | //import com.baomidou.mybatisplus.plugins.PaginationInterceptor; |
| | | |
| | | import com.zy.asrs.framework.common.SnowflakeIdWorker; |
| | | import com.zy.asrs.framework.common.SpringUtils; |
| | | import org.springframework.context.annotation.Bean; |
| | | import org.springframework.context.annotation.Configuration; |
| | | |
| | | /** |
| | | * Created by vincent on 2019-06-10 |
| | | * Created by vincent on 12/19/2023 |
| | | */ |
| | | public class CoolBaseConfig { |
| | | |
| | | // @Bean |
| | | // public PaginationInterceptor paginationInterceptor() { |
| | | // return new PaginationInterceptor(); |
| | | // } |
| | | @Configuration |
| | | public class PlusBeanConfig { |
| | | |
| | | @Bean |
| | | public SpringUtils getSpringUtils(){ |
| | |
| | | return new SnowflakeIdWorker(); |
| | | } |
| | | |
| | | |
| | | } |