瀏覽代碼

修复插入变量错误

Signed-off-by: hamjin <335908093@qq.com>
hamjin 2 年之前
父節點
當前提交
2469cfbcab
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      ruoyi-system/src/main/resources/mapper/system/PoNoticeMapper.xml

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

@@ -86,9 +86,9 @@
         <if test="status != null and status != ''">#{status},</if>
         <if test="remark != null and remark != ''">#{remark},</if>
         <if test="createBy != null and createBy != ''">#{createBy},</if>
-        <if test="publisherId != null and publisherId != ''">#{publisher_id},</if>
-        <if test="userId != null and userId != ''">#{user_id},</if>
-        <if test="readUserId != null and readUserId != ''">#{read_userid},</if>
+        <if test="publisherId != null and publisherId != ''">#{publisherId},</if>
+        <if test="userId != null and userId != ''">#{userId},</if>
+        <if test="readUserId != null and readUserId != ''">#{readUserId},</if>
         0,
         sysdate()
         )