From 4687aeea24f8b232b453ea6cb101c9d45d80a279 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Fri, 28 Apr 2023 11:52:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E9=AA=8C=E6=94=B6=E6=8C=89=E8=B4=A7?= =?UTF-8?q?=E4=BD=8D=E9=80=80=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mybatis/mapper/auth/InvBusUserDao.xml | 77 +++++++++---------- 1 file changed, 38 insertions(+), 39 deletions(-) diff --git a/src/main/resources/mybatis/mapper/auth/InvBusUserDao.xml b/src/main/resources/mybatis/mapper/auth/InvBusUserDao.xml index 078a8cd87..56e9d9414 100644 --- a/src/main/resources/mybatis/mapper/auth/InvBusUserDao.xml +++ b/src/main/resources/mybatis/mapper/auth/InvBusUserDao.xml @@ -2,7 +2,6 @@ - replace - INTO auth_user_bustype - (userId, `subInvCode`, scAction, remark,updateTime) - values ( - #{userId}, - #{subInvCode}, - #{scAction}, - #{remark},now() - ) + INTO auth_user_bustype + (userId, `subInvCode`, scAction, remark, updateTime) + values (#{userId}, + #{subInvCode}, + #{scAction}, + #{remark}, now()) @@ -103,28 +95,35 @@ DELETE FROM auth_user_bustype - - - AND subInvCode = #{subInvCode} - - - and scAction in - - #{item} - - - + + + AND subInvCode = #{subInvCode} + + + and scAction in + + #{item} + + + UPDATE auth_user_bustype + + userId=#{userId}, + + + subInvCode=#{subInvCode}, + + + scAction=#{scAction}, + + + remark=#{remark}, + updateTime=now() - userId=#{userId}, - subInvCode=#{subInvCode}, - scAction=#{scAction}, - remark=#{remark}, WHERE id = #{id} -