设备成本核算优化设备名称过滤逻辑

This commit is contained in:
xuhaihui 2025-12-04 17:54:11 +08:00
parent 0beb83167c
commit 4f7256b80f
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public class EcEqCostSplitBillPlugin extends AbstractBillPlugIn implements Befor
if (zcgj_headquarters != null) {
orgIds.add((Long) zcgj_headquarters.getPkValue());
orgIds.add((Long) org.getPkValue());
qFilter.add(new QFilter("org", QCP.equals, zcgj_headquarters.getPkValue()));
qFilter.add(new QFilter("org", QCP.in, orgIds));
qFilter.add(new QFilter("useorg", QCP.in, orgIds));
} else {
qFilter.add(new QFilter("useorg", QCP.equals, org.getPkValue()));