|
@@ -441,7 +441,7 @@ public class MeterBaseCarController extends BaseRESTfulController {
|
|
|
car.setCarCarrierWeight(new BigDecimal(params.get("carCarrierWeight").toString()));
|
|
car.setCarCarrierWeight(new BigDecimal(params.get("carCarrierWeight").toString()));
|
|
|
}
|
|
}
|
|
|
if (params.get("carSelfWeight") != null) {
|
|
if (params.get("carSelfWeight") != null) {
|
|
|
- car.setCarSelfWeight(new BigDecimal(String.valueOf(params.get("carSelfWeight"))));
|
|
|
|
|
|
|
+ car.setCarSelfWeight(new BigDecimal(Long.parseLong(params.get("carSelfWeight").toString())));
|
|
|
}
|
|
}
|
|
|
car.setMnemonicCode(params.get("mnemonicCode").toString());
|
|
car.setMnemonicCode(params.get("mnemonicCode").toString());
|
|
|
car.setCustomerSupplierName(params.get("customerSupplierName").toString());
|
|
car.setCustomerSupplierName(params.get("customerSupplierName").toString());
|