Blame view

cloud/autho/src/main/resources/mapper/UserMapper.xml 883 Bytes
e5d1fbed   陈杰   认证中心 登录接口
1
2
3
4
5
6
7
8
9
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.sincere.autho.mapper.UserMapper">


    <select id="loginTeacher" parameterType="com.sincere.autho.dto.req.LoginReqDto" resultType="java.lang.String">
        select user_id from SZ_User where mobile = #{account} and pass = #{password}
    </select>

e92e5a92   陶汉栋   增加网关负载
10
    <select id="loginStudent" parameterType="com.sincere.autho.dto.req.LoginReqDto" resultType="java.lang.String">
cd21c841   陈杰   用户信息接口
11
        select user_id from SZ_User where name = #{account} and pass = #{password}
e5d1fbed   陈杰   认证中心 登录接口
12
13
    </select>

e92e5a92   陶汉栋   增加网关负载
14
15
    <select id="loginStudentOthName" parameterType="com.sincere.autho.dto.req.LoginReqDto"
            resultType="java.lang.String">
4716fae1   陶汉栋   1、增加网关负载lb指向
16
17
18
        select user_id from SZ_User where othername = #{account} and pass = #{password}
    </select>

e5d1fbed   陈杰   认证中心 登录接口
19
</mapper>