BusinessConstant
parent
fd043d70c5
commit
a147a8ec0e
@ -0,0 +1,29 @@
|
|||||||
|
package com.anjiplus.template.gaea.business.config;
|
||||||
|
|
||||||
|
import com.anjiplus.template.gaea.business.runner.ApplicationInitRunner;
|
||||||
|
|
||||||
|
import org.mybatis.spring.annotation.MapperScan;
|
||||||
|
import org.springframework.context.annotation.Bean;
|
||||||
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* business配置类
|
||||||
|
* @author lr
|
||||||
|
* @since 2021-04-08
|
||||||
|
*/
|
||||||
|
@Configuration
|
||||||
|
@MapperScan(basePackages = {
|
||||||
|
"com.anjiplus.template.gaea.business.modules.*.dao",
|
||||||
|
"com.anjiplus.template.gaea.business.modules.*.**.dao"
|
||||||
|
})
|
||||||
|
public class BusinessAutoConfiguration {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 系统启动完执行
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@Bean
|
||||||
|
public ApplicationInitRunner applicationInitRunner() {
|
||||||
|
return new ApplicationInitRunner();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package com.anjiplus.template.gaea.business.constant;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 常量
|
||||||
|
* @author lr
|
||||||
|
* @since 2021-03-26
|
||||||
|
*/
|
||||||
|
public interface BusinessConstant {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字典项重复
|
||||||
|
*/
|
||||||
|
String DICT_ITEM_EXIST_GROUP = "dictItemExist";
|
||||||
|
}
|
Loading…
Reference in New Issue