|
|
|
|
@ -8,6 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<result property="id" column="id" />
|
|
|
|
|
<result property="title" column="title" />
|
|
|
|
|
<result property="content" column="content" />
|
|
|
|
|
<result property="fileUrl" column="file_url" />
|
|
|
|
|
<result property="filePath" column="file_path" />
|
|
|
|
|
<result property="fileSuffix" column="file_suffix" />
|
|
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
|
|
@ -17,7 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="selectSysFiringInfoVo">
|
|
|
|
|
select id, title,content, file_path, file_suffix, del_flag, type, create_time, create_by from sys_firing_info
|
|
|
|
|
select id, title,content,file_url, file_path, file_suffix, del_flag, type, create_time, create_by from sys_firing_info
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectSysFiringInfoList" parameterType="SysFiringInfo" resultMap="SysFiringInfoResult">
|
|
|
|
|
@ -40,6 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="title != null">title,</if>
|
|
|
|
|
<if test="content != null">content,</if>
|
|
|
|
|
<if test="filePath != null">file_path,</if>
|
|
|
|
|
<if test="fileUrl != null">file_url,</if>
|
|
|
|
|
<if test="fileSuffix != null">file_suffix,</if>
|
|
|
|
|
<if test="delFlag != null">del_flag,</if>
|
|
|
|
|
<if test="type != null">type,</if>
|
|
|
|
|
@ -48,6 +50,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
</trim>
|
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="filePath != null">#{filePath},</if>
|
|
|
|
|
<if test="fileUrl != null">#{fileUrl},</if>
|
|
|
|
|
<if test="title != null">#{title},</if>
|
|
|
|
|
<if test="content != null">#{content},</if>
|
|
|
|
|
<if test="fileSuffix != null">#{fileSuffix},</if>
|
|
|
|
|
@ -63,6 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
|
|
<if test="title != null">title = #{title},</if>
|
|
|
|
|
<if test="content != null">content = #{content},</if>
|
|
|
|
|
<if test="fileUrl != null">file_url = #{fileUrl},</if>
|
|
|
|
|
<if test="filePath != null">file_path = #{filePath},</if>
|
|
|
|
|
<if test="fileSuffix != null">file_suffix = #{fileSuffix},</if>
|
|
|
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
|
|
|
|