删除末尾多余;不兼容oracle

This commit is contained in:
JEECG 2026-08-20 18:18:07 +08:00
parent c63277eaf1
commit 6f90858bcb
6 changed files with 12 additions and 12 deletions

View File

@ -36,7 +36,7 @@
<insert id="save" parameterType="com.xxl.job.admin.business.model.XxlJobGroup" useGeneratedKeys="true" keyProperty="id" >
INSERT INTO xxl_job_group ( `app_name`, `title`, `address_type`, `address_list`, `update_time`)
values ( #{appname}, #{title}, #{addressType}, #{addressList}, #{updateTime} );
values ( #{appname}, #{title}, #{addressType}, #{addressList}, #{updateTime} )
</insert>
<update id="update" parameterType="com.xxl.job.admin.business.model.XxlJobGroup" >
@ -88,4 +88,4 @@
</trim>
</select>
</mapper>
</mapper>

View File

@ -160,7 +160,7 @@
#{triggerStatus},
#{triggerLastTime},
#{triggerNextTime}
);
)
<!--<selectKey resultType="java.lang.Integer" order="AFTER" keyProperty="id">
SELECT LAST_INSERT_ID()
/*SELECT @@IDENTITY AS id*/

View File

@ -38,7 +38,7 @@
#{glueRemark},
#{addTime},
#{updateTime}
);
)
<!--<selectKey resultType="java.lang.Integer" order="AFTER" keyProperty="id">
SELECT LAST_INSERT_ID()
</selectKey>-->
@ -68,4 +68,4 @@
WHERE `job_id` = #{jobId}
</delete>
</mapper>
</mapper>

View File

@ -130,7 +130,7 @@
#{triggerTime},
#{triggerCode},
#{handleCode}
);
)
<!--<selectKey resultType="java.lang.Integer" order="AFTER" keyProperty="id">
SELECT LAST_INSERT_ID()
</selectKey>-->
@ -256,7 +256,7 @@
t.trigger_code = 200
AND t.handle_code = 0
AND t.trigger_time <![CDATA[ <= ]]> #{losedTime}
AND t2.id IS NULL;
AND t2.id IS NULL
</select>
<!--
SELECT t.id
@ -270,4 +270,4 @@
)
-->
</mapper>
</mapper>

View File

@ -32,7 +32,7 @@
#{runningCount},
#{sucCount},
#{failCount}
);
)
&lt;!&ndash;<selectKey resultType="java.lang.Integer" order="AFTER" keyProperty="id">
SELECT LAST_INSERT_ID()
</selectKey>&ndash;&gt;
@ -82,4 +82,4 @@
FROM xxl_job_log_report AS t
</select>
</mapper>
</mapper>

View File

@ -72,7 +72,7 @@
#{password},
#{role},
#{permission}
);
)
</insert>
<update id="update" parameterType="com.xxl.job.admin.framework.model.XxlJobUser" >
@ -98,4 +98,4 @@
WHERE id = #{id}
</update>
</mapper>
</mapper>