|
|
@@ -241,8 +241,8 @@ public class dispatch extends Controller {
|
|
|
for (Row row : rows) {
|
|
|
Long id = row.getLong("sa_dispatchid");
|
|
|
if (dispatchAmountRowsMap.get(id.toString()).isNotEmpty()) {
|
|
|
- row.put("sumamount", dispatchAmountRowsMap.get(id.toString()).get(0).getBigDecimal("sumamount").toPlainString());
|
|
|
- row.put("sumqty", dispatchAmountRowsMap.get(id.toString()).get(0).getBigDecimal("sumqty").toPlainString());
|
|
|
+ row.put("sumamount", dispatchAmountRowsMap.get(id.toString()).get(0).getBigDecimal("sumamount"));
|
|
|
+ row.put("sumqty", dispatchAmountRowsMap.get(id.toString()).get(0).getBigDecimal("sumqty"));
|
|
|
} else {
|
|
|
row.put("sumamount", 0);
|
|
|
row.put("sumqty", 0);
|