Commit 2366ea7c by 徐高华

Merge branch 'ferture/四月迭代需求' into 'developer'

绑定主门店后刷新好友

See merge request !1167
parents 03a6959d 52208592
......@@ -289,7 +289,11 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
//do nothing
} else {
logger.info("设置主门店并创建活码:manageFlag:{},staffId:{}", manageFlag, staffId);
clerkMainStoreRelatedService.getMainStoreByStaffId(staffId, wxEnterpriseId);
TabHaobanClerkMainStoreRelated mainStore = clerkMainStoreRelatedService.getMainStoreByStaffId(staffId, wxEnterpriseId);
// 判断是主门店
if(null != mainStore && mainStore.getStoreId().equals(dto.getStoreId())) {
this.clerkMainStoreRelatedService.reflushExternal(wxEnterpriseId, staffId);
}
//有活码权限的企业
boolean flag = rightService.hasRightForAdmin(enterpriseId, "hb_m0206");
if (flag) {
......
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