Commit 915797f7 by Java - 段鹏举

通过电话号码查询用户信息

parent 688972f2
...@@ -210,13 +210,15 @@ ...@@ -210,13 +210,15 @@
ON o.id = a.office_id ON o.id = a.office_id
LEFT JOIN sys_user_profiles p LEFT JOIN sys_user_profiles p
ON a.id = p.user_id ON a.id = p.user_id
WHERE (a.phone = #{phoneNumer} AND a.huawei_unicall = 1) WHERE a.phone = #{phoneNumer}
OR a.huawei_num = #{phoneNumer} OR a.huawei_num = #{phoneNumer}
OR a.mobile = #{phoneNumer} OR a.mobile = #{phoneNumer}
OR a.mobile_nubmer = #{phoneNumer} OR a.mobile_nubmer = #{phoneNumer}
OR a.mobile_nubmer = #{mobileNubmer0} OR a.mobile_nubmer = #{mobileNubmer0}
OR a.mobile_nubmer = #{mobileNubmer00} OR a.mobile_nubmer = #{mobileNubmer00}
OR (a.phone_number = #{phoneNumer} AND a.huawei_unicall = 1) OR a.phone_number = #{phoneNumer}
OR a.phone_number = #{mobileNubmer0}
OR a.phone_number = #{mobileNubmer00}
ORDER BY a.login_date DESC ORDER BY a.login_date DESC
</select> </select>
<!-- 通过通话的电话号查询席位信息 --> <!-- 通过通话的电话号查询席位信息 -->
......
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