| | |
| | | <result property="id" column="id"/> |
| | | <result property="tagcategoryid" column="tagcategoryid"/> |
| | | <result property="tagid" column="tagid"/> |
| | | <result property="tagname" column="tagname"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="updateBy" column="update_by"/> |
| | |
| | | upload_time, |
| | | targetid, |
| | | pid, |
| | | tagname, |
| | | guid |
| | | from ivr_liba_target_tag |
| | | </sql> |
| | |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="targetid != null ">and targetid = #{targetid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="tagname != null ">and tagname = #{tagname}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | </where> |
| | | </select> |
| | |
| | | <if test="targetid != null">targetid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="tagname != null">tagname,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="tagcategoryid != null">#{tagcategoryid},</if> |
| | |
| | | <if test="targetid != null">#{targetid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="tagname != null">#{tagname},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="targetid != null">targetid = #{targetid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="tagname != null">tagname = #{tagname},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
| | | </mapper> |