| | |
| | | <result property="name" column="name"/> |
| | | <result property="remark" column="remark"/> |
| | | <result property="open" column="open"/> |
| | | <result property="print" column="print"/> |
| | | <result property="url" column="url"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectTjReportTemplateVo"> |
| | |
| | | flag, |
| | | name, |
| | | remark, |
| | | open |
| | | open,print,url |
| | | from tj_report_template |
| | | </sql> |
| | | |
| | |
| | | <if test="name != null">name,</if> |
| | | <if test="remark != null">remark,</if> |
| | | <if test="open != null">open,</if> |
| | | <if test="print != null">print,</if> |
| | | <if test="url != null">url,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="reportTemId != null">#{reportTemId},</if> |
| | |
| | | <if test="name != null">#{name},</if> |
| | | <if test="remark != null">#{remark},</if> |
| | | <if test="open != null">#{open},</if> |
| | | <if test="print != null">#{print},</if> |
| | | <if test="url != null">#{url},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="name != null">name = #{name},</if> |
| | | <if test="remark != null">remark = #{remark},</if> |
| | | <if test="open != null">open = #{open},</if> |
| | | <if test="print != null">print = #{print},</if> |
| | | <if test="url != null">url = #{url},</if> |
| | | </trim> |
| | | where report_tem_id = #{reportTemId} |
| | | </update> |