Revert "手机号在同一企业内唯一"

This reverts commit b38c52c2c2.
dev_xiangguanfang
zhaokai 2025-12-30 14:44:36 +08:00
parent b38c52c2c2
commit c1f71de612
2 changed files with 0 additions and 4 deletions

View File

@ -201,7 +201,6 @@ public class UserRepositoryImpl extends BaseRepositoryImpl<UserMapper, UserDO> i
Map<String, Object> verifyParam = new HashMap<>();
verifyParam.put("phone", params.get("phone"));
verifyParam.put("id", params.get("id"));
verifyParam.put("corpinfoId", AuthContext.getTenantId());
Integer count = userMapper.countUser(verifyParam);
if (count > 0) {
return Response.buildFailure("手机号已经存在,请联系管理员");

View File

@ -273,9 +273,6 @@
<if test="params.phone != null">
and phone = #{params.phone}
</if>
<if test="params.corpinfoId != null">
and corpinfo_id = #{params.corpinfoId}
</if>
</where>
</select>