|  |  | 
 |  |  |         <result property="patid" column="patid"/> | 
 |  |  |         <result property="guid" column="guid"/> | 
 |  |  |         <result property="extemplateText" column="extemplate_text"/> | 
 |  |  |         <result property="answerps" column="answerps"/> | 
 |  |  |     </resultMap> | 
 |  |  |     <resultMap type="com.smartor.domain.ServiceSubtaskDetailTarget" id="ServiceSubtaskDetailTargetResult"> | 
 |  |  |         <result property="targetid" column="targetid"/> | 
 |  |  | 
 |  |  |                update_by, | 
 |  |  |                update_time, | 
 |  |  |                value_type, | 
 |  |  |                create_by, | 
 |  |  |                answerps | 
 |  |  |                create_by | 
 |  |  |         from service_subtask_detail | 
 |  |  |     </sql> | 
 |  |  |  | 
 |  |  | 
 |  |  |         where id = #{id} | 
 |  |  |     </select> | 
 |  |  |  | 
 |  |  |     <insert id="insertServiceSubtaskDetail" parameterType="com.smartor.domain.ServiceSubtaskDetail"> | 
 |  |  |     <insert id="insertServiceSubtaskDetail" parameterType="com.smartor.domain.ServiceSubtaskDetail" | 
 |  |  |             useGeneratedKeys="true" | 
 |  |  |             keyProperty="id"> | 
 |  |  |         insert into service_subtask_detail | 
 |  |  |         <trim prefix="(" suffix=")" suffixOverrides=","> | 
 |  |  |             <if test="id != null">id,</if> |