企业成本核算取数优化
This commit is contained in:
parent
4b23687d0b
commit
fde481979b
|
|
@ -382,6 +382,10 @@ public class EntCostSplitBillPlugin extends AbstractBillPlugIn implements Before
|
|||
// 按排序后的顺序添加数据
|
||||
for (int i = 0; i < sortedEntries.size(); i++) {
|
||||
DynamicObject entry = sortedEntries.get(i);
|
||||
BigDecimal costAmount = entry.getBigDecimal("costamount");//成本金额
|
||||
if (BigDecimal.ZERO.compareTo(costAmount) == 0) {
|
||||
continue;
|
||||
}
|
||||
entry.set("seq", i + 1);
|
||||
entryCollection.add(entry);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue