Commit 9e7308f5 by 墨竹

fix:新增活码增加判断

parent 55c84c68
......@@ -401,7 +401,7 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
}
}
HmQrcodeBO hmQrcodeBO = hmQrcodeService.queryByClerkId(clerkId, wxEnterpriseId);
if (hmQrcodeBO == null) {
if (hmQrcodeBO != null) {
logger.error("已经生成过活码,clerkId:{}",clerkId);
return null;
}
......
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