Browse Source

【内容管理】 修改失败,问题解决

master
zhangyongzhangyong 4 years ago
parent
commit
a6ef392b2a
  1. 9
      epdc-cloud-news/src/main/resources/mapper/NoticeDao.xml

9
epdc-cloud-news/src/main/resources/mapper/NoticeDao.xml

@ -52,6 +52,15 @@
updated_by = #{updatedBy},
updated_time = #{updatedTime},
dept_id=#{deptId},
<if test="imgUrl != null and imgUrl != ''">
IMG_URL=#{imgUrl},
</if>
<if test="typeId != null and typeId != ''">
TYPE_ID=#{typeId},
</if>
<if test="allTypeId != null and allTypeId != ''">
ALL_TYPE_ID=#{allTypeId},
</if>
dept_name=#{deptName}
WHERE id = #{id} AND del_flag = '0'
</update>

Loading…
Cancel
Save