|
|
@@ -441,7 +441,7 @@ public class MeterBaseCarController extends BaseRESTfulController {
|
|
|
car.setCarCarrierWeight(new BigDecimal(params.get("carCarrierWeight").toString()));
|
|
|
}
|
|
|
if (params.get("carSelfWeight") != null) {
|
|
|
- car.setCarSelfWeight(new BigDecimal(params.get("carSelfWeight").toString()));
|
|
|
+ car.setCarSelfWeight(new BigDecimal(String.valueOf(params.get("carSelfWeight")));
|
|
|
}
|
|
|
car.setMnemonicCode(params.get("mnemonicCode").toString());
|
|
|
car.setCustomerSupplierName(params.get("customerSupplierName").toString());
|
|
|
@@ -515,7 +515,7 @@ public class MeterBaseCarController extends BaseRESTfulController {
|
|
|
}
|
|
|
return success();
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
|
|
|
@ApiOperation(value = "批量删除", notes = "根据url的id来指定删除对象")
|
|
|
@ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "String")
|