|
@@ -68,7 +68,7 @@ public class CljbxxJob {
|
|
|
/**
|
|
|
* 执行任务
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 30 23 * * ?")
|
|
|
+ @Scheduled(cron = "0 56 23 * * ?")
|
|
|
public void runJob() {
|
|
|
// 数据目录
|
|
|
Path dir = Paths.get(jobConfig.getCljbxxSourcePath());
|
|
@@ -167,7 +167,7 @@ public class CljbxxJob {
|
|
|
case NUMERIC:
|
|
|
if (DateUtil.isCellDateFormatted(cell)) {
|
|
|
cellValue = DateUtil.getLocalDateTime(cell.getNumericCellValue())
|
|
|
- .format(DateTimeFormatter.ofPattern("yyyy-MM-dd hh:mm:ss"));
|
|
|
+ .format(DateTimeFormatter.ofPattern("yyyy-MM-dd"));
|
|
|
break;
|
|
|
}
|
|
|
cellValue = String.valueOf(cell.getNumericCellValue());
|
|
@@ -269,6 +269,9 @@ public class CljbxxJob {
|
|
|
}
|
|
|
}
|
|
|
map.put("che_ling", cheLing);
|
|
|
+ String cheLiangLeiXing = map.get("che_liang_lei_xing");
|
|
|
+ cheLiangLeiXing = carService.getCheLiangLeiXing(cheLiangLeiXing);
|
|
|
+ map.put("che_liang_lei_xing", cheLiangLeiXing);
|
|
|
map.put("source", path.getFileName().toString());
|
|
|
}
|
|
|
// 去重
|