| | |
| | | package com.yssh.run; |
| | | |
| | | import com.yssh.utils.CacheUtils; |
| | | import org.apache.commons.logging.Log; |
| | | import org.apache.commons.logging.LogFactory; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | |
| | | @Component |
| | | public class InitDataRunner implements ApplicationRunner { |
| | | |
| | | protected final Logger logger = LoggerFactory.getLogger(this.getClass()); |
| | | protected final Log logger = LogFactory.getLog(this.getClass()); |
| | | |
| | | @Autowired |
| | | private ICommonService commonService; |
| | |
| | | } |
| | | //读取dat数据 |
| | | commonService.readDatData(); |
| | | |
| | | logger.info("***************** 系统启动完毕 *****************" + "\n"); |
| | | } |
| | | } |