修改子表def4只有第一条数据有值
This commit is contained in:
parent
91da40edf2
commit
8d34f95caa
|
|
@ -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<String, String> returnMap = ((IGatheringbillOpenService) NCLocator.getInstance()
|
||||
|
|
|
|||
Loading…
Reference in New Issue