Commit 0b2c7830 authored by jiaorz's avatar jiaorz

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

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