|
@ -116,8 +116,11 @@ |
|
|
<result column="fillType" jdbcType="TINYINT" property="fillType" /> |
|
|
<result column="fillType" jdbcType="TINYINT" property="fillType" /> |
|
|
<result column="qremark" jdbcType="VARCHAR" property="remark" /> |
|
|
<result column="qremark" jdbcType="VARCHAR" property="remark" /> |
|
|
<result column="recordId" jdbcType="VARCHAR" property="recordId" /> |
|
|
<result column="recordId" jdbcType="VARCHAR" property="recordId" /> |
|
|
<result column="answer" jdbcType="VARCHAR" property="answer" /> |
|
|
<!--<result column="answer" jdbcType="VARCHAR" property="answer" />--> |
|
|
<result column="explains" jdbcType="VARCHAR" property="explains" /> |
|
|
<result column="explains" jdbcType="VARCHAR" property="explains" /> |
|
|
|
|
|
<collection property="domList" ofType="String"> |
|
|
|
|
|
<result column="answer"/> |
|
|
|
|
|
</collection> |
|
|
<collection property="optionVos" ofType="com.ccsens.tcm.bean.vo.QuestionVo$PatientOption"> |
|
|
<collection property="optionVos" ofType="com.ccsens.tcm.bean.vo.QuestionVo$PatientOption"> |
|
|
<id column="oid" jdbcType="BIGINT" property="id" /> |
|
|
<id column="oid" jdbcType="BIGINT" property="id" /> |
|
|
<result column="osort" jdbcType="INTEGER" property="sort" /> |
|
|
<result column="osort" jdbcType="INTEGER" property="sort" /> |
|
@ -259,15 +262,15 @@ |
|
|
)a |
|
|
)a |
|
|
ORDER BY a.qsort,a.osort,a.choose DESC,-a.otherInformation DESC |
|
|
ORDER BY a.qsort,a.osort,a.choose DESC,-a.otherInformation DESC |
|
|
</select> |
|
|
</select> |
|
|
<resultMap id="queryQuestionMap" type="com.ccsens.tcm.bean.vo.QuestionVo$subjectLists"> |
|
|
<resultMap id="queryQuestionMap" type="com.ccsens.tcm.bean.vo.QuestionVo.SubjectLists"> |
|
|
<id column="id" property="id"/> |
|
|
<id column="id" property="id"/> |
|
|
<result column="code" property="code"/> |
|
|
<result column="code" property="code"/> |
|
|
<result column="name" property="name"/> |
|
|
<result column="name" property="name"/> |
|
|
<collection property="optionVos" ofType="com.ccsens.tcm.bean.vo.QuestionVo$subjectLists"> |
|
|
<collection property="optionVos" ofType="com.ccsens.tcm.bean.vo.QuestionVo.SubjectLists"> |
|
|
<id column="id1" property="id"/> |
|
|
<id column="id1" property="id"/> |
|
|
<result column="code1" property="code"/> |
|
|
<result column="code1" property="code"/> |
|
|
<result column="name1" property="name"/> |
|
|
<result column="name1" property="name"/> |
|
|
<collection property="optionVos" ofType="com.ccsens.tcm.bean.vo.QuestionVo$subjectLists"> |
|
|
<collection property="optionVos" ofType="com.ccsens.tcm.bean.vo.QuestionVo.SubjectLists"> |
|
|
<id property="id" column="id2"/> |
|
|
<id property="id" column="id2"/> |
|
|
<result property="name" column="question"/> |
|
|
<result property="name" column="question"/> |
|
|
</collection> |
|
|
</collection> |
|
@ -295,11 +298,11 @@ |
|
|
AND trc.rec_status =0 |
|
|
AND trc.rec_status =0 |
|
|
order by trc.sort,trc1.sort,tq.sort |
|
|
order by trc.sort,trc1.sort,tq.sort |
|
|
</select> |
|
|
</select> |
|
|
<resultMap id="queryQuestion1Map" type="com.ccsens.tcm.bean.vo.QuestionVo$subjectLists"> |
|
|
<resultMap id="queryQuestion1Map" type="com.ccsens.tcm.bean.vo.QuestionVo.SubjectLists"> |
|
|
<id column="id" property="id"/> |
|
|
<id column="id" property="id"/> |
|
|
<result column="code" property="code"/> |
|
|
<result column="code" property="code"/> |
|
|
<result column="name" property="name"/> |
|
|
<result column="name" property="name"/> |
|
|
<collection property="optionVos" ofType="com.ccsens.tcm.bean.vo.QuestionVo$subjectLists"> |
|
|
<collection property="optionVos" ofType="com.ccsens.tcm.bean.vo.QuestionVo.SubjectLists"> |
|
|
<id property="id" column="id2"/> |
|
|
<id property="id" column="id2"/> |
|
|
<result column="question" property="name"/> |
|
|
<result column="question" property="name"/> |
|
|
</collection> |
|
|
</collection> |
|
|