|
@@ -13,11 +13,10 @@
|
|
<result property="createTime" column="create_time" />
|
|
<result property="createTime" column="create_time" />
|
|
<result property="updateBy" column="update_by" />
|
|
<result property="updateBy" column="update_by" />
|
|
<result property="updateTime" column="update_time" />
|
|
<result property="updateTime" column="update_time" />
|
|
- <result property="image" column="image"/>
|
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectPostNoticeVo">
|
|
<sql id="selectPostNoticeVo">
|
|
- select notice_id, notice_title, notice_time, cast(notice_content as char) as notice_content, create_by, create_time, update_by, update_time ,image from post_notice
|
|
|
|
|
|
+ select notice_id, notice_title, notice_time, cast(notice_content as char) as notice_content, create_by, create_time, update_by, update_time from post_notice
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectPostNoticeList" parameterType="PostNotice" resultMap="PostNoticeResult">
|
|
<select id="selectPostNoticeList" parameterType="PostNotice" resultMap="PostNoticeResult">
|
|
@@ -58,7 +57,6 @@
|
|
<if test="createTime != null">create_time,</if>
|
|
<if test="createTime != null">create_time,</if>
|
|
<if test="updateBy != null">update_by,</if>
|
|
<if test="updateBy != null">update_by,</if>
|
|
<if test="updateTime != null">update_time,</if>
|
|
<if test="updateTime != null">update_time,</if>
|
|
- <if test="image != null">image,</if>
|
|
|
|
|
|
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
@@ -69,7 +67,6 @@
|
|
<if test="createTime != null">#{createTime},</if>
|
|
<if test="createTime != null">#{createTime},</if>
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
- <if test="image != null">#{image},</if>
|
|
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
@@ -83,7 +80,6 @@
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
- <if test="image != null">image = #{image},</if>
|
|
|
|
</trim>
|
|
</trim>
|
|
where notice_id = #{noticeId}
|
|
where notice_id = #{noticeId}
|
|
</update>
|
|
</update>
|