Commit 7917fc03 by jinxin

待转移状态的许可激活码不需要处理

parent 57f69c8f
......@@ -1191,7 +1191,7 @@ public class StaffApiServiceImpl implements StaffApiService {
}else {
//需要区分激活码,待转移状态的激活码不需要处理
Integer num = staffMapper.getNumByActiveCode(wxEnterprise.getWxEnterpriseId(), activeCode);
if (num>0){
if (num==0){
//已使用的加1,已激活的加1,未激活的减1
Integer used = activeDataDTO.getUsed();
Integer inactive = activeDataDTO.getInactive();
......
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