|
|
@@ -437,12 +437,12 @@ public class MeterBaseCarController extends BaseRESTfulController {
|
|
|
car.setCarNo(params.get("carNo").toString());
|
|
|
car.setCarTypeNo(params.get("carTypeNo").toString());
|
|
|
car.setCarTypeName(params.get("carTypeName").toString());
|
|
|
+ if (params.get("carSelfWeight") != null) {
|
|
|
+ car.setCarSelfWeight(new BigDecimal(params.get("carSelfWeight").toString()));
|
|
|
+ }
|
|
|
if (params.get("carCarrierWeight") != null) {
|
|
|
car.setCarCarrierWeight(new BigDecimal(params.get("carCarrierWeight").toString()));
|
|
|
}
|
|
|
- if (params.get("carSelfWeight") != null) {
|
|
|
- car.setCarSelfWeight(new BigDecimal(Long.parseLong(params.get("carSelfWeight").toString())));
|
|
|
- }
|
|
|
car.setMnemonicCode(params.get("mnemonicCode").toString());
|
|
|
car.setCustomerSupplierName(params.get("customerSupplierName").toString());
|
|
|
car.setMemo(params.get("memo").toString());
|