【定时任务】HANA获取物料的采购属性信息

This commit is contained in:
10001392 2025-01-03 09:44:26 +08:00
parent 20d0367ffb
commit 33853a1098
1 changed files with 5 additions and 5 deletions

View File

@ -167,9 +167,9 @@ public class SaticScheduleTask {
* 只针对物料状态material_state为1:激活 2:禁止采购 3:售后专用
* * 流程状态15已审核 100: 历史正式物料(已审核)
*/
// @Scheduled(cron = "0 0 7 * * ?")
//// @Scheduled(cron = "0 0/2 * * * ? ") // 测试使用每2分钟
// public void syncMaterialPurchasePropInfo() throws Exception {
// materialMainService.syncMaterialPurchasePropInfo();
// }
@Scheduled(cron = "0 0 7 * * ?")
// @Scheduled(cron = "0 0/2 * * * ? ") // 测试使用每2分钟
public void syncMaterialPurchasePropInfo() throws Exception {
materialMainService.syncMaterialPurchasePropInfo();
}
}