소스 검색

完善公告删除接口

zhangyang 2 년 전
부모
커밋
b9b6e52579
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>