Commit 4dfedad0 authored by hezhen's avatar hezhen

123

parent 362799e0
...@@ -30,6 +30,7 @@ public class VehicleBrandBiz extends BaseBiz<VehicleBrandMapper, VehicleBrand> { ...@@ -30,6 +30,7 @@ public class VehicleBrandBiz extends BaseBiz<VehicleBrandMapper, VehicleBrand> {
if (list.size() == 0){ if (list.size() == 0){
VehicleBrand vehicleBrand = new VehicleBrand(); VehicleBrand vehicleBrand = new VehicleBrand();
vehicleBrand.setCnName(vehicleCategory.getBrandName()); vehicleBrand.setCnName(vehicleCategory.getBrandName());
vehicleBrand.setGoodsType(vehicleCategory.getGoodsType());
insertSelective(vehicleBrand); insertSelective(vehicleBrand);
id = vehicleBrand.getId(); id = vehicleBrand.getId();
}else { }else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment