| | |
| | | <result property="libtemplateid" column="libtemplateid"/> |
| | | <result property="libtemplatename" column="libtemplatename"/> |
| | | <result property="recallcount" column="recallcount"/> |
| | | <result property="instruction" column="instruction"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrTaskTemplateVo"> |
| | | select ID, |
| | | taskid, |
| | | recallcount, |
| | | instruction, |
| | | libtemplateid, |
| | | libtemplatename, |
| | | taskname, |
| | |
| | | <if test="recallcount != null">recallcount,</if> |
| | | <if test="libtemplateid != null ">libtemplateid,</if> |
| | | <if test="libtemplatename != null ">libtemplatename,</if> |
| | | <if test="instruction != null ">instruction,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="taskid != null">#{taskid},</if> |
| | |
| | | <if test="recallcount != null">#{recallcount},</if> |
| | | <if test="libtemplateid != null ">#{libtemplateid},</if> |
| | | <if test="libtemplatename != null ">#{libtemplatename},</if> |
| | | <if test="instruction != null ">#{instruction},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="recallcount != null">recallcount = #{recallcount},</if> |
| | | <if test="libtemplateid != null ">libtemplateid = #{libtemplateid},</if> |
| | | <if test="libtemplatename != null ">libtemplatename = #{libtemplatename},</if> |
| | | <if test="instruction != null ">instruction = #{instruction},</if> |
| | | </trim> |
| | | where ID = #{ID} |
| | | </update> |