Skip to content

Commit 082a12a

Browse files
committed
Update RM
1 parent 87070a5 commit 082a12a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

xxl-mq-admin2/src/main/resources/mapper/InstanceMapper.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
</sql>
2323

2424
<insert id="insert" parameterType="java.util.Map" >
25-
INSERT INTO instance (
25+
INSERT INTO xxl_mq_instance (
2626
`appname`,
2727
`uuid`,
2828
`register_heartbeat`,
@@ -39,15 +39,15 @@
3939
</insert>
4040

4141
<delete id="delete" parameterType="java.util.Map" >
42-
DELETE FROM instance
42+
DELETE FROM xxl_mq_instance
4343
WHERE `id` in
4444
<foreach collection="ids" item="item" open="(" close=")" separator="," >
4545
#{item}
4646
</foreach>
4747
</delete>
4848

4949
<update id="update" parameterType="java.util.Map" >
50-
UPDATE instance
50+
UPDATE xxl_mq_instance
5151
SET
5252
`appname` = #{instance.appname},
5353
`uuid` = #{instance.uuid},
@@ -58,19 +58,19 @@
5858

5959
<select id="load" parameterType="java.util.Map" resultMap="Instance">
6060
SELECT <include refid="Base_Column_List" />
61-
FROM instance AS t
61+
FROM xxl_mq_instance AS t
6262
WHERE t.`id` = #{id}
6363
</select>
6464

6565
<select id="pageList" parameterType="java.util.Map" resultMap="Instance">
6666
SELECT <include refid="Base_Column_List" />
67-
FROM instance AS t
67+
FROM xxl_mq_instance AS t
6868
LIMIT #{offset}, #{pagesize}
6969
</select>
7070

7171
<select id="pageListCount" parameterType="java.util.Map" resultType="int">
7272
SELECT count(1)
73-
FROM instance AS t
73+
FROM xxl_mq_instance AS t
7474
</select>
7575

7676
</mapper>

0 commit comments

Comments
 (0)