|
|
@ -16,8 +16,10 @@ |
|
|
|
|
|
|
|
|
<select id="queryInfo" resultType="com.hxhq.business.domain.StudyFormApply"> |
|
|
<select id="queryInfo" resultType="com.hxhq.business.domain.StudyFormApply"> |
|
|
select t.*,tm.name as templateMc,tm.sn as templateSn,tm.dept_id as templateDeptId |
|
|
select t.*,tm.name as templateMc,tm.sn as templateSn,tm.dept_id as templateDeptId |
|
|
|
|
|
,ts.sn as studySn,ts.name as studyMc |
|
|
FROM `t_study_form_apply` t |
|
|
FROM `t_study_form_apply` t |
|
|
left join t_template tm on tm.id=t.template_id |
|
|
|
|
|
|
|
|
left join t_template tm on tm.id=t.template_id |
|
|
|
|
|
left join t_study ts on ts.id=t.study_id |
|
|
where t.id=#{id} |
|
|
where t.id=#{id} |
|
|
</select> |
|
|
</select> |
|
|
</mapper> |
|
|
</mapper> |