master
parent
aacaaae389
commit
e09291e85c
|
|
@ -162,6 +162,8 @@ public class InvoiceUseService {
|
||||||
out.set("invoice_type_2_cnt", 0);
|
out.set("invoice_type_2_cnt", 0);
|
||||||
|
|
||||||
for (Record record : list) {
|
for (Record record : list) {
|
||||||
|
record.set("rowkey", StrKit.getRandomUUID());
|
||||||
|
|
||||||
if (record.get("weight") != null) {
|
if (record.get("weight") != null) {
|
||||||
out.set("total_weight", out.getBigDecimal("total_weight").add(record.getBigDecimal("weight")));
|
out.set("total_weight", out.getBigDecimal("total_weight").add(record.getBigDecimal("weight")));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue