|
@@ -21,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectNoticeVo">
|
|
<sql id="selectNoticeVo">
|
|
- select notice_id,company_id,notice_title,notice_title_en,notice_outline,notice_outline_en, notice_type, notice_content,notice_content_en, status, create_by, fmz_file_url,fmz_file_url_en, create_time, update_by, update_time, remark
|
|
|
|
|
|
+ select notice_id,company_id,notice_title,notice_title_en,notice_outline,notice_outline_en, notice_type, notice_content,notice_content_en, status, create_by, fmz_file_url, create_time, update_by, update_time, remark
|
|
from sys_notice
|
|
from sys_notice
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
@@ -42,7 +42,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
sn.update_time,
|
|
sn.update_time,
|
|
sn.remark,
|
|
sn.remark,
|
|
sn.fmz_file_url,
|
|
sn.fmz_file_url,
|
|
- sn.fmz_file_url_en,
|
|
|
|
sn.create_time
|
|
sn.create_time
|
|
from sys_notice sn
|
|
from sys_notice sn
|
|
left join sys_user su on su.user_id = sn.create_by
|
|
left join sys_user su on su.user_id = sn.create_by
|
|
@@ -132,7 +131,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="remark != null and remark != ''">remark,</if>
|
|
<if test="remark != null and remark != ''">remark,</if>
|
|
<if test="createBy != null and createBy != ''">create_by,</if>
|
|
<if test="createBy != null and createBy != ''">create_by,</if>
|
|
<if test="fmzFileUrl != null and fmzFileUrl != ''">fmz_file_url,</if>
|
|
<if test="fmzFileUrl != null and fmzFileUrl != ''">fmz_file_url,</if>
|
|
- <if test="fmzFileUrlEn != null and fmzFileUrlEn != ''">fmz_file_url_en,</if>
|
|
|
|
create_time
|
|
create_time
|
|
)values(
|
|
)values(
|
|
<if test="companyId != null and companyId != 0">#{companyId},</if>
|
|
<if test="companyId != null and companyId != 0">#{companyId},</if>
|
|
@@ -147,7 +145,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="remark != null and remark != ''">#{remark},</if>
|
|
<if test="remark != null and remark != ''">#{remark},</if>
|
|
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
|
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
|
<if test="fmzFileUrl != null and fmzFileUrl != ''">#{fmzFileUrl},</if>
|
|
<if test="fmzFileUrl != null and fmzFileUrl != ''">#{fmzFileUrl},</if>
|
|
- <if test="fmzFileUrlEn != null and fmzFileUrlEn != ''">#{fmzFileUrlEn},</if>
|
|
|
|
sysdate()
|
|
sysdate()
|
|
)
|
|
)
|
|
</insert>
|
|
</insert>
|
|
@@ -164,7 +161,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="noticeContentEn != null">notice_content_en = #{noticeContentEn}, </if>
|
|
<if test="noticeContentEn != null">notice_content_en = #{noticeContentEn}, </if>
|
|
<if test="status != null and status != ''">status = #{status}, </if>
|
|
<if test="status != null and status != ''">status = #{status}, </if>
|
|
<if test="fmzFileUrl != null and fmzFileUrl != ''">fmz_file_url = #{fmzFileUrl}, </if>
|
|
<if test="fmzFileUrl != null and fmzFileUrl != ''">fmz_file_url = #{fmzFileUrl}, </if>
|
|
- <if test="fmzFileUrlEn != null and fmzFileUrlEn != ''">fmz_file_url_en = #{fmzFileUrlEn}, </if>
|
|
|
|
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
|
|
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
|
|
update_time = sysdate()
|
|
update_time = sysdate()
|
|
</set>
|
|
</set>
|