nickchange
2023-10-31 986989a2b7a49353598fda317e3bdaed59f09abc
1
2
3
4
5
6
7
8
9
10
<?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.dsh.course.mapper.TOperatorUserMapper">
 
    <select id="listAll" resultType="java.util.Map">
        select t1.name as name ,t2.name as userName,t2.phone as phone  from t_operator t1
        left join sys_user t2 t1.id = t1.objectId and t2.objectType = 2
 
    </select>
</mapper>