|
@@ -21,6 +21,7 @@ public class NCTask {
|
|
|
*/
|
|
|
@Scheduled(cron = "0 0 4 * * ?")
|
|
|
void productCosts() {
|
|
|
+ log.info("开始跑批更新NC生产成本");
|
|
|
ncService.getNcInfo();
|
|
|
}
|
|
|
|
|
@@ -29,6 +30,7 @@ public class NCTask {
|
|
|
*/
|
|
|
@Scheduled(cron = "0 30 4 * * ?")
|
|
|
void materialCost() {
|
|
|
+ log.info("开始跑批更新NC生产成本");
|
|
|
ncService.getNcCgInfo();
|
|
|
}
|
|
|
/**
|
|
@@ -36,6 +38,7 @@ public class NCTask {
|
|
|
*/
|
|
|
@Scheduled(cron = "0 0 5 * * ?")
|
|
|
void bigProductCosts() {
|
|
|
+ log.info("开始跑批更新NC大业主生产成本");
|
|
|
ncService.getNcCost();
|
|
|
}
|
|
|
/**
|
|
@@ -43,6 +46,7 @@ public class NCTask {
|
|
|
*/
|
|
|
@Scheduled(cron = "0 30 5 * * ?")
|
|
|
void departmentCost() {
|
|
|
+ log.info("开始跑批更新NC-部门费用达成明细");
|
|
|
ncService.getNcCollection();
|
|
|
}
|
|
|
/**
|
|
@@ -50,6 +54,7 @@ public class NCTask {
|
|
|
*/
|
|
|
@Scheduled(cron = "0 0 6 * * ?")
|
|
|
void supplierPay() {
|
|
|
+ log.info("开始跑批更新NC供应商付款");
|
|
|
ncService.getSupplierPay();
|
|
|
}
|
|
|
/**
|