Commit 6e150ce5 authored by 赵啸非's avatar 赵啸非

修改构建api文档

parent 9344eee4
...@@ -113,10 +113,10 @@ public class BusinessServiceImpl extends AbstractCRUDServiceImpl<BusinessDao, Bu ...@@ -113,10 +113,10 @@ public class BusinessServiceImpl extends AbstractCRUDServiceImpl<BusinessDao, Bu
BusinessQuery businessQuery = new BusinessQuery(); BusinessQuery businessQuery = new BusinessQuery();
businessQuery.setIdList(businessIdList); businessQuery.setIdList(businessIdList);
this.find(businessQuery).stream() this.find(businessQuery).stream()
.peek(item -> { .forEach(item -> {
//更新或新增 //更新或新增
updateOrSave(item, siteId, context); updateOrSave(item, siteId, context);
}).count(); });
} }
private void updateOrSave(BusinessEntity item, Long siteId, Context context) { private void updateOrSave(BusinessEntity item, Long siteId, Context context) {
......
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