| | |
| | | package com.fzzy.init; |
| | | |
| | | import com.fzzy.igds.ServerRunner; |
| | | import com.fzzy.igds.domain.Dept; |
| | | import com.fzzy.igds.service.*; |
| | | import com.ruoyi.system.service.ISysCompanyService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.boot.CommandLineRunner; |
| | | import org.springframework.core.annotation.Order; |
| | | import org.springframework.stereotype.Component; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | |
| | | * |
| | | * @author Andy |
| | | */ |
| | | @Service |
| | | @Component(SystemRunner.BEAN_ID) |
| | | @Slf4j |
| | | @Order(value = 1) |
| | | public class SystemRunner implements CommandLineRunner { |
| | | |
| | | public static final String BEAN_ID = "init.serverRunner"; |
| | | |
| | | @Resource |
| | | private ISysCompanyService iSysCompanyService; |
| | | @Resource |