Commit 0b2c7830 authored by jiaorz's avatar jiaorz

Merge branch 'master-vehicle-bg' into base-modify

parents dff317bc f136bfb7
...@@ -26,11 +26,13 @@ public class BranchCompanyVehicleCountBiz extends BaseBiz<BranchCompanyVehicleCo ...@@ -26,11 +26,13 @@ public class BranchCompanyVehicleCountBiz extends BaseBiz<BranchCompanyVehicleCo
Iterator<BranchCompanyVehicleCount> iterator = branchCompanyVehicleCounts.iterator(); Iterator<BranchCompanyVehicleCount> iterator = branchCompanyVehicleCounts.iterator();
while (iterator.hasNext()) { while (iterator.hasNext()) {
BranchCompanyVehicleCount newValue = iterator.next(); BranchCompanyVehicleCount newValue = iterator.next();
if(newValue != null) {
BranchCompanyVehicleCount oldValue = selectOne(newValue); BranchCompanyVehicleCount oldValue = selectOne(newValue);
if (oldValue != null) { if (oldValue != null) {
iterator.remove(); iterator.remove();
} }
} }
}
insertMultiSelective(branchCompanyVehicleCounts); insertMultiSelective(branchCompanyVehicleCounts);
return ObjectRestResponse.succ(); return ObjectRestResponse.succ();
} }
......
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