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()