odoo切换批量更新

odoo切换查询方式
YXY 1 year ago
parent dcecb5329f
commit fa1f0cf13a

@ -72,10 +72,9 @@ public abstract class OdooAbstrackob {
public void execute(Integer warehouseId) { public void execute(Integer warehouseId) {
try { try {
//todo yxy if (Boolean.FALSE.equals(syncFlag)) {
// if (Boolean.FALSE.equals(syncFlag)) { return;
// return; }
// }
log.info("===================== {} strat ======================", this.getClassName()); log.info("===================== {} strat ======================", this.getClassName());
//初始化调用对象 //初始化调用对象
OdooContext context = initContext(warehouseId); OdooContext context = initContext(warehouseId);

Loading…
Cancel
Save