Commit 29ff8615 authored by hanfeng's avatar hanfeng

添加排序

parent 800314c3
......@@ -229,9 +229,11 @@ public class VehicleModelController extends BaseController<VehicleModelBiz, Vehi
// 删除车型对应的标签
vehicleCataBiz.delete(vcDelete);
ArrayList<VehicleCata> vcs = new ArrayList<>();
//从新插入车型对应的标签
// 获取cataid
if (vm.getConfig()!=null) {
ArrayList<VehicleCata> vcs = new ArrayList<>();
String[] config = vm.getConfig().split(",");
for (String con : config) {
VehicleCata vc = new VehicleCata();
......@@ -242,6 +244,8 @@ public class VehicleModelController extends BaseController<VehicleModelBiz, Vehi
}
vehicleCataBiz.inserts(vcs);
}
}
return ObjectRestResponse.succ();
} catch (NumberFormatException e) {
e.printStackTrace();
......
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