| | |
| | | import com.yssh.service.WarningAnalyseService; |
| | | import com.yssh.service.XlsReportService; |
| | | 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.boot.ApplicationArguments; |
| | |
| | | import com.yssh.service.DictRecordService; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Calendar; |
| | | |
| | | @Component |
| | | public class InitConfig implements ApplicationRunner { |
| | |
| | | } |
| | | |
| | | private void test() { |
| | | //task.createMonthReport(); |
| | | //task.corpReserveDataSync(); |
| | | |
| | | //warningAnalyseService.warningOperationStorage(cal.getTime()); |
| | | |
| | | /*Calendar cal1 = Calendar.getInstance(); |
| | |
| | | cal1.set(Calendar.MILLISECOND, 0); |
| | | xlsReportService.createDayReport(cal1.getTime());*/ |
| | | |
| | | Calendar cal2 = Calendar.getInstance(); |
| | | /*Calendar cal2 = Calendar.getInstance(); |
| | | cal2.set(Calendar.MONTH, 6); |
| | | cal2.set(Calendar.DAY_OF_MONTH, 31); |
| | | xlsReportService.createWeekReport(cal2.getTime()); |
| | | xlsReportService.createWeekReport(cal2.getTime());*/ |
| | | |
| | | /*Calendar cal3 = Calendar.getInstance(); |
| | | cal3.set(Calendar.MONTH, 7); |