Compare commits
2 Commits
8dbb7d1113
...
da1813e65a
| Author | SHA1 | Date | |
|---|---|---|---|
| da1813e65a | |||
| ae77c529ae |
@@ -404,6 +404,8 @@ public class WmsMaterialCoilServiceImpl implements IWmsMaterialCoilService {
|
||||
if (stats != null) {
|
||||
Object grossWeight = stats.get("total_gross_weight");
|
||||
Object netWeight = stats.get("total_net_weight");
|
||||
Object count = stats.get("total_count");
|
||||
result.put("total_count", count != null ? new BigDecimal(count.toString()) : BigDecimal.ZERO);
|
||||
result.put("total_gross_weight", grossWeight != null ? new BigDecimal(grossWeight.toString()) : BigDecimal.ZERO);
|
||||
result.put("total_net_weight", netWeight != null ? new BigDecimal(netWeight.toString()) : BigDecimal.ZERO);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user