mirror of https://gitee.com/stylefeng/roses
【7.1.6】更新注释
parent
6eb7085348
commit
e05ec50d86
|
@ -2,13 +2,18 @@ package cn.stylefeng.roses.kernel.system.modular.resource.framework;
|
||||||
|
|
||||||
import cn.stylefeng.roses.kernel.system.modular.resource.service.ApiResourceService;
|
import cn.stylefeng.roses.kernel.system.modular.resource.service.ApiResourceService;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.boot.ApplicationArguments;
|
import org.springframework.boot.ApplicationArguments;
|
||||||
import org.springframework.boot.ApplicationRunner;
|
import org.springframework.boot.ApplicationRunner;
|
||||||
import org.springframework.core.annotation.Order;
|
import org.springframework.core.annotation.Order;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 刷新表中的数据
|
||||||
|
* <p>
|
||||||
|
* 把表中的resource_code中的app code和当前启动的app code对应
|
||||||
|
*
|
||||||
* @author majianguo
|
* @author majianguo
|
||||||
* @date 2021/12/2 11:58
|
* @date 2021/12/2 11:58
|
||||||
*/
|
*/
|
||||||
|
@ -17,7 +22,7 @@ import org.springframework.stereotype.Component;
|
||||||
@Order(Integer.MAX_VALUE - 1)
|
@Order(Integer.MAX_VALUE - 1)
|
||||||
public class ApiResourceApplicationRunner implements ApplicationRunner {
|
public class ApiResourceApplicationRunner implements ApplicationRunner {
|
||||||
|
|
||||||
@Autowired
|
@Resource
|
||||||
private ApiResourceService apiResourceService;
|
private ApiResourceService apiResourceService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue