From df12cbce7c4a20f5dbed957b0a3e6cbd0b7a4222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=AD=A3=40=E7=94=A8=E5=8F=8B?= Date: Fri, 16 May 2025 18:07:20 +0800 Subject: [PATCH] =?UTF-8?q?arap=5F=E8=AE=A2=E5=8D=95=E6=94=B6=E6=AC=BE?= =?UTF-8?q?=E8=BF=87=E6=BB=A4=E5=88=A0=E9=99=A4=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../public/nc/api/arap/resource/GatheringbillRestResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arap/src/public/nc/api/arap/resource/GatheringbillRestResource.java b/arap/src/public/nc/api/arap/resource/GatheringbillRestResource.java index 28fd1ff..ffbb5bd 100644 --- a/arap/src/public/nc/api/arap/resource/GatheringbillRestResource.java +++ b/arap/src/public/nc/api/arap/resource/GatheringbillRestResource.java @@ -270,7 +270,7 @@ public class GatheringbillRestResource extends ArapBaseRestResource { HYSuperDMO dmo = new HYSuperDMO(); SaleOrderHVO[] hvo = (SaleOrderHVO[]) dmo.queryByWhereClause(SaleOrderHVO.class, - "vbillcode='" + def2 + "'"); + "vbillcode='" + def2 + "' and dr=0"); SaleOrderBVO[] bvos = (SaleOrderBVO[]) dmo.queryByWhereClause(SaleOrderBVO.class, "csaleorderid='" + hvo[0].getPrimaryKey() + "'"); if (bvos != null) {