收款单保存优化

This commit is contained in:
李贵强 2025-07-04 18:15:42 +08:00
parent b0af76d40e
commit e6d8e169d2
1 changed files with 4 additions and 4 deletions

View File

@ -232,7 +232,7 @@ public class RecBillSaveOperation extends AbstractOperationServicePlugIn impleme
if (null == shjhPc) {
bill.set("shjh_profitcenter", entry.getDynamicObject("shjh_e_pc"));
}
return;
break;
}
}
}
@ -599,8 +599,8 @@ public class RecBillSaveOperation extends AbstractOperationServicePlugIn impleme
*/
private void carryCustomerRule(DynamicObject entry,DynamicObject bill,String oppunit,Long companyId){
//1.先看取映射表按钮是否打开打开>取映射表中客户
boolean shjhEGetcustomer = entry.getBoolean("shjh_e_getcustomer"); //取规则得映射表客户标记
if (shjhEGetcustomer) {
// boolean shjhEGetcustomer = entry.getBoolean("shjh_e_getcustomer"); //取规则得映射表客户标记
// if (shjhEGetcustomer) {
QFilter qFilter = new QFilter("shjh_dfhm", QCP.equals, oppunit);
//新增收款入账中心-资金组织&&映射表组织过滤
qFilter.and(new QFilter("shjh_org.id", QCP.equals, companyId));
@ -659,6 +659,6 @@ public class RecBillSaveOperation extends AbstractOperationServicePlugIn impleme
}
}
bill.set("shjh_xdgzkh", true);//设置收款单标记位 从规则携带客户等信息 为true
}
// }
}
}