| | |
| | | <result property="report" column="report"/> |
| | | <result property="tjNumber" column="tj_number"/> |
| | | <result property="path" column="path"/> |
| | | <result property="print" column="print"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectTjReportVo"> |
| | |
| | | <if test="report != null">report,</if> |
| | | <if test="tjNumber != null">tj_number,</if> |
| | | <if test="path != null">path,</if> |
| | | <if test="print != null">print,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="report != null">#{report},</if> |
| | | <if test="tjNumber != null">#{tjNumber},</if> |
| | | <if test="path != null">#{path},</if> |
| | | <if test="print != null">#{print},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="report != null">report = #{report},</if> |
| | | <if test="tjNumber != null">tj_number = #{tjNumber},</if> |
| | | <if test="path != null">path = #{path},</if> |
| | | <if test="print != null">print = #{print},</if> |
| | | </trim> |
| | | where re_id = #{reId} |
| | | </update> |
| | |
| | | #{reId} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
| | | </mapper> |