Commit 804078c4 by levphon

指定授权bug修复

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