| | |
| | | <select id="selectServiceSubtaskAnswerList" parameterType="com.smartor.domain.ServiceSubtaskAnswer" |
| | | resultMap="ServiceSubtaskAnswerResult"> |
| | | <include refid="selectServiceSubtaskAnswerVo"/> |
| | | <where> |
| | | where 1=1 |
| | | <if test="taskid != null ">and taskid = #{taskid}</if> |
| | | <if test="patId != null ">and pat_id = #{patId}</if> |
| | | <if test="orgid != null ">and orgid = #{orgid}</if> |
| | |
| | | <if test="pid != null and pid != ''">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="answerps != null and answerps != ''">and answerps = #{answerps}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectServiceSubtaskAnswerById" parameterType="Long" resultMap="ServiceSubtaskAnswerResult"> |