Commit ef30c691 by 墨竹

refactor:设置主门店bug修复

parent b37417bb
......@@ -82,6 +82,7 @@ public class ClerkMainStoreRelatedServiceImpl implements ClerkMainStoreRelatedSe
if (null != mainStoreRelated) {
StaffClerkRelationDTO staffClerkRelationDTO = staffClerkRelationService.getOneBindByStoreId(staffId, mainStoreRelated.getStoreId());
if (staffClerkRelationDTO == null) {
logger.info("该主门店无绑定关系,重新绑定,staffId:{}", staffId);
return setStaffMainStore(staffId, wxEnterpriseId);
}
return mainStoreRelated;
......
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