Commit 2ccb8ee9 authored by 赵啸非's avatar 赵啸非

添加业务修改通知php

parent a2814d74
......@@ -209,7 +209,6 @@ public class BusinessServiceImpl extends AbstractCRUDCacheServiceImpl<BusinessDa
siteBusinessService.remove(ids, context);
}
BusinessQuery businessQuery = new BusinessQuery();
businessQuery.setIdList(businessIdList);
this.find(businessQuery).stream()
......@@ -228,8 +227,6 @@ public class BusinessServiceImpl extends AbstractCRUDCacheServiceImpl<BusinessDa
private void updateOrSave(BusinessEntity item, Long siteId, Context context) {
SiteBusinessEntity siteBusinessEntity = new SiteBusinessEntity();
// BeanUtils.copyProperties(item, siteBusinessEntity, BeanUtil.getNullPropertyNames(item));
SiteEntity siteEntity = siteService.get(siteId);
if (ObjectUtils.isEmpty(siteEntity)) {
......@@ -241,7 +238,7 @@ public class BusinessServiceImpl extends AbstractCRUDCacheServiceImpl<BusinessDa
siteBusinessEntity.setBusinessName(item.getName());
siteBusinessEntity.setAncestors(item.getAncestors());
siteBusinessEntity.setIsBusiness(item.getIsBusiness());
siteBusinessEntity.setParentId(0L);
siteBusinessEntity.setParentId(item.getParentId());
siteBusinessEntity.setStatus(item.getStatus());
siteBusinessEntity.setRemark(item.getRemark());
siteBusinessEntity.setCanorder(item.getCanorder());
......
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