Browse Source

完善公告删除接口

zhangyang 2 years ago
parent
commit
b9b6e52579
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ruoyi-system/src/main/resources/mapper/system/PoNoticeMapper.xml

+ 1 - 1
ruoyi-system/src/main/resources/mapper/system/PoNoticeMapper.xml

@@ -121,7 +121,7 @@
     </update>
 
     <update id="deletePoNoticeByIds" parameterType="Long">
-        update po_notice SET del_flag = #{1} where notice_id in
+        update po_notice SET del_flag = 1 where notice_id in
         <foreach item="noticeId" collection="array" open="(" separator="," close=")">
             #{noticeId}
         </foreach>