MySQL 8.0.21 Support

MySQL 8.0.21 Support
This commit is contained in:
MaxKey
2020-07-18 12:42:57 +08:00
parent 2691e49957
commit 62d63ba77a
12 changed files with 21 additions and 35 deletions

View File

@@ -98,7 +98,7 @@
U.STATUS
FROM
USERINFO U,
GROUPS G,
`GROUPS` G,
GROUP_MEMBER GM
WHERE 1 = 1
<if test="groupId != null and groupId != ''">
@@ -158,7 +158,7 @@
WHERE
U.ID NOT IN(
SELECT GM.MEMBERID
FROM GROUPS G,GROUP_MEMBER GM
FROM `GROUPS` G,GROUP_MEMBER GM
WHERE 1 = 1
<if test="groupId != null and groupId != ''">
AND GM.GROUPID = #{groupId}
@@ -178,8 +178,8 @@
SELECT DISTINCT
IG.*
FROM
GROUPS IG,
GROUPS G,
`GROUPS` IG,
`GROUPS` G,
GROUP_MEMBER GM
WHERE
1 = 1

View File

@@ -17,7 +17,7 @@
SELECT
*
FROM
GROUPS
`GROUPS`
WHERE
(1=1)
<include refid="where_statement"/>
@@ -25,7 +25,7 @@
<update id="logisticDelete" parameterType="Groups" >
UPDATE GROUPS SET
UPDATE `GROUPS` SET
STATUS = '2'
WHERE 1 = 1
<if test="id != null">
@@ -38,7 +38,7 @@
<update id="logisticBatchDelete" parameterType="java.util.List">
UPDATE GROUPS SET STATUS='2' WHERE ID IN
UPDATE `GROUPS` SET STATUS='2' WHERE ID IN
<foreach item="item" collection="list" open="(" separator="," close=")">
#{item}
</foreach>