|
@@ -61,7 +61,7 @@
|
|
|
left join sys_user b on a.user_id = b.id
|
|
|
</select>
|
|
|
<select id="findById" resultType="org.jeecg.modules.app.vo.coach.AppCoachDetailsVO">
|
|
|
- select a.user_id as id,b.realname,a.training_programs,a.good_rate,a.teaching_philosophy,a.excel_msg,b.avatar,
|
|
|
+ select a.user_id as id,b.realname,a.training_programs,a.good_rate,a.teaching_philosophy,a.excel_msg,b.avatar,a.background_img,
|
|
|
b.certificate_innocence,b.healthy,b.honor from nm_instructor a left join sys_user b on a.user_id = b.id where a.user_id = #{id}
|
|
|
|
|
|
</select>
|
|
@@ -93,7 +93,7 @@
|
|
|
</if>
|
|
|
</select>
|
|
|
<select id="findByStaffId" resultType="org.jeecg.modules.system.app.vo.staff.StaffVO">
|
|
|
- select a.id as staffId,b.id as instructorId,a.username,b.realname,a.status,a.password,b.training_programs,b.teaching_philosophy,b.excel_msg,a.certificate_innocence,a.healthy,a.honor from from sys_user a
|
|
|
+ select a.id as staffId,b.id as instructorId,a.username,b.realname,a.status,a.password,b.training_programs,b.teaching_philosophy,b.excel_msg,a.certificate_innocence,a.healthy,a.honor,b.background_img from from sys_user a
|
|
|
left join nm_instructor b on a.id =b.user_id and b.del_flag=0
|
|
|
where a.id=#{id} and a.del_flag=0
|
|
|
</select>
|