@ -4,7 +4,7 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace= "com.hxhq.business.mapper.StudyFormFillMapper" >
<mapper namespace= "com.hxhq.business.mapper.StudyFormFillMapper" >
<select id= "queryList" resultType= "com.hxhq.business.dto.study.StudyFormFillListDto" >
<select id= "queryList" resultType= "com.hxhq.business.dto.study.StudyFormFillListDto" >
select t.id,t.bdbh,t.bdmc,t.create_time,t.user_mc,t.user_id,t.bdzt,t.bdzt,t.tjsj,tm.name as templateMc,tm.sn as templateSn,tm.dept_id as templateDeptId
select t.id,t.bdbh,t.bdmc,t.create_time,t.user_mc,t.user_id,t.bdzt,t.bdzt,t.tjsj,tm.name as templateMc,tm.sn as templateSn
,ss.leader as subjectLeader,t.sfbl,tm.show_gc,tm.show_blxjsh,t.blxjshzt
,ss.leader as subjectLeader,t.sfbl,tm.show_gc,tm.show_blxjsh,t.blxjshzt
FROM `t_study_form_fill` t
FROM `t_study_form_fill` t
join t_template tm on tm.id=t.template_id
join t_template tm on tm.id=t.template_id
@ -17,7 +17,7 @@
</select>
</select>
<select id= "queryInfo" resultType= "com.hxhq.business.domain.StudyFormFill" >
<select id= "queryInfo" resultType= "com.hxhq.business.domain.StudyFormFill" >
select t.*,tm.name as templateMc,tm.name_en as templateMcEn,tm.sn as templateSn,tm.show_sn as templateShowSn,tm.dept_id as templateDeptId
select t.*,tm.name as templateMc,tm.name_en as templateMcEn,tm.sn as templateSn,tm.show_sn as templateShowSn
,ts.sn as studySn,ts.name as studyMc,tm.export_class as templateExportClass,tm.export_method as templateExportMethod,tm.product,
,ts.sn as studySn,ts.name as studyMc,tm.export_class as templateExportClass,tm.export_method as templateExportMethod,tm.product,
tm.pdf_size as templatePdfSize,tm.show_yjcc as templateShowYjcc,ts.type as studyType,tm.show_blxjsh
tm.pdf_size as templatePdfSize,tm.show_yjcc as templateShowYjcc,ts.type as studyType,tm.show_blxjsh
FROM `t_study_form_fill` t
FROM `t_study_form_fill` t