Commit 9b165909 by 徐高华

企微托管导购授权-批量导入

parent 62041d6c
......@@ -341,7 +341,8 @@ public class OpenStaffApiServiceImpl implements OpenStaffApiService {
WechatWorkServiceSetting bo = JSONObject.parseObject(json, WechatWorkServiceSetting.class);
int total = bo.getAccountNumber() ;
int useNum = this.openStaffMapper.getNum(wxEnterpriseId, enterpriseId, 0);
return total<useNum ;
log.info("总数={},使用{},{},{}",total,useNum,wxEnterpriseId,enterpriseId);
return total>useNum ;
}
}
return false;
......
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