1.收款单认领合同过滤非贷记单

(cherry picked from commit 09db507910)
This commit is contained in:
ljw 2024-11-21 14:40:01 +08:00
parent 00f6d27a37
commit 5050ae8fb9

View File

@ -340,6 +340,7 @@ public class GatheringClaimFormPlugin extends AbstractFormPlugin implements RowC
ListFilterParameter listFilterParameter = new ListFilterParameter(); ListFilterParameter listFilterParameter = new ListFilterParameter();
DynamicObject comegoman = parentModelDataEntity.getDynamicObject("yem_comegoman"); DynamicObject comegoman = parentModelDataEntity.getDynamicObject("yem_comegoman");
QFilter qFilter = new QFilter("billstatus", QCP.equals, "C"); QFilter qFilter = new QFilter("billstatus", QCP.equals, "C");
qFilter.and("yem_reccondition.name",QCP.not_equals,"贷记单");
if (comegoman != null) { if (comegoman != null) {
Long id = comegoman.getLong("id"); Long id = comegoman.getLong("id");
qFilter.and("yem_customer.id", QCP.equals, id); qFilter.and("yem_customer.id", QCP.equals, id);