Commit 6f7b48d6 by fudahua

门店分组绑定校验

parent 776d0fda
......@@ -96,6 +96,10 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
@Override
public boolean delBindByStoreIds(String wxEnterpriseId, Set<String> storeIds, String optStaffId, int chanelCode) {
if (CollectionUtils.isEmpty(storeIds)) {
logger.info("没有需要解绑的");
return true;
}
List<TabHaobanStaffClerkRelation> needUnbind = mapper.listBindByStoreIds(wxEnterpriseId, storeIds);
needUnbind.forEach(tab -> {
tab.setStatusFlag(0);
......
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