|
@@ -267,7 +267,12 @@
|
|
select id_ `key`,phone_ `value` FROM sys_user s WHERE FIND_IN_SET(id_,#{userIds}) AND s.phone_ IS NOT NULL
|
|
select id_ `key`,phone_ `value` FROM sys_user s WHERE FIND_IN_SET(id_,#{userIds}) AND s.phone_ IS NOT NULL
|
|
</select>
|
|
</select>
|
|
|
|
|
|
- <select id="findTeachers" resultMap="Teacher">
|
|
|
|
|
|
+ <resultMap id="TeacherBasicDto" type="com.ym.mec.biz.dal.dto.TeacherBasicDto">
|
|
|
|
+ <result property="id" column="id_"/>
|
|
|
|
+ <result property="username" column="username_"/>
|
|
|
|
+ <result property="realName" column="real_name_"/>
|
|
|
|
+ </resultMap>
|
|
|
|
+ <select id="findTeachers" resultMap="TeacherBasicDto">
|
|
SELECT su.id_,su.username_,su.real_name_ FROM sys_user su
|
|
SELECT su.id_,su.username_,su.real_name_ FROM sys_user su
|
|
<where>
|
|
<where>
|
|
<if test="userIds != null">
|
|
<if test="userIds != null">
|