浏览代码

发行方sql头像与邮箱优化

tangzetong 2 年之前
父节点
当前提交
9a86aa2a94
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ruoyi-system/src/main/resources/mapper/system/PoIssuerMapper.xml

+ 2 - 2
ruoyi-system/src/main/resources/mapper/system/PoIssuerMapper.xml

@@ -84,8 +84,8 @@
             <if test="updateBy != null">update_by = #{updateBy},</if>
             <if test="remark != null">remark = #{remark},</if>
             <if test="delFlag != null">del_flag = #{delFlag},</if>
-            <if test="email != null">#{email},</if>
-            <if test="headPortrait != null">#{head_portrait},</if>
+            <if test="email != null">#email = {email},</if>
+            <if test="headPortrait != null">#head_portrait = {headPortrait},</if>
         </trim>
         where issuer_id = #{issuerId}
     </update>