From 8d34f95caad7abf954123a0439c83a6194badbc2 Mon Sep 17 00:00:00 2001 From: lihao Date: Wed, 5 Nov 2025 08:43:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=90=E8=A1=A8def4?= =?UTF-8?q?=E5=8F=AA=E6=9C=89=E7=AC=AC=E4=B8=80=E6=9D=A1=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=9C=89=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nc/api/arap/resource/GatheringbillRestResource.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arap/src/public/nc/api/arap/resource/GatheringbillRestResource.java b/arap/src/public/nc/api/arap/resource/GatheringbillRestResource.java index c255a8d4..d4fa0db2 100644 --- a/arap/src/public/nc/api/arap/resource/GatheringbillRestResource.java +++ b/arap/src/public/nc/api/arap/resource/GatheringbillRestResource.java @@ -347,6 +347,12 @@ public class GatheringbillRestResource extends ArapBaseRestResource { headvo.setLocal_money(money.multiply(headvo.getRate()).setScale(2, UFDouble.ROUND_HALF_UP)); AggGatheringBillVO bill = new AggGatheringBillVO(); bill.setParentVO(headvo); + for (int i = 0; i < itemvos.size(); i++) { + // 跳过第一个元素(索引为0),从第二个元素开始置空 + if (i > 0) { + itemvos.get(i).setDef4(null); + } + } bill.setChildrenVO((CircularlyAccessibleValueObject[]) itemvos.toArray(new GatheringBillItemVO[0])); try { Map returnMap = ((IGatheringbillOpenService) NCLocator.getInstance()