Commit 804078c4 by levphon

指定授权bug修复

1 parent bdf842ae
...@@ -1984,8 +1984,9 @@ public class VehicleService { ...@@ -1984,8 +1984,9 @@ public class VehicleService {
vp.setCreatedBy(ShieldContextHolder.getUserId()); vp.setCreatedBy(ShieldContextHolder.getUserId());
list.add(vp); list.add(vp);
}); });
log.info("本次插入{}", list.size()); if (CollectionUtils.isNotEmpty(list)) {
vehiclePermitMapper.insertIgnoreExistedPermit(list); vehiclePermitMapper.insertIgnoreExistedPermit(list);
}
} }
return notImportList; return notImportList;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!