mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-14 02:55:07 +08:00
多模块重构 4:system 模块的创建,以及将相关的代码先进行迁移
This commit is contained in:
@ -15,7 +15,8 @@ import org.springframework.context.annotation.Configuration;
|
||||
* @author 芋道源码
|
||||
*/
|
||||
@Configuration
|
||||
@MapperScan(value = {"${yudao.info.base-package}", "${yudao.core-service.base-package}", "${yudao.info.member-package}"},
|
||||
@MapperScan(value = {"${yudao.info.base-package}", "${yudao.core-service.base-package}",
|
||||
"${yudao.info.member-package}", "${yudao.info.system-package}"},
|
||||
annotationClass = Mapper.class,
|
||||
lazyInitialization = "${mybatis.lazy-initialization:false}") // Mapper 懒加载,目前仅用于单元测试
|
||||
public class YudaoMybatisAutoConfiguration {
|
||||
|
@ -0,0 +1,11 @@
|
||||
package cn.iocoder.yudao.framework.mybatis.core.enums;
|
||||
|
||||
/**
|
||||
* SQL相关常量类
|
||||
*/
|
||||
public interface SqlConstants {
|
||||
|
||||
|
||||
String LIMIT1 = "LIMIT 1";
|
||||
|
||||
}
|
Reference in New Issue
Block a user