feat: 增加定时定任务功能的xml文件
Dieser Commit ist enthalten in:
Ursprung
26fee6ac1c
Commit
58c998afb0
14
ym-schedule-task/src/main/resources/mapper/ScheduleJobDao.xml
Normale Datei
14
ym-schedule-task/src/main/resources/mapper/ScheduleJobDao.xml
Normale Datei
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.cnbm.scheduletask.dao.ScheduleJobDao">
|
||||
|
||||
<!-- 批量更新状态 -->
|
||||
<update id="updateBatch">
|
||||
update schedule_job set status = #{status} where id in
|
||||
<foreach item="id" collection="ids" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</update>
|
||||
|
||||
</mapper>
|
7
ym-schedule-task/src/main/resources/mapper/ScheduleJobLogDao.xml
Normale Datei
7
ym-schedule-task/src/main/resources/mapper/ScheduleJobLogDao.xml
Normale Datei
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<mapper namespace="com.cnbm.scheduletask.dao.ScheduleJobLogDao">
|
||||
|
||||
|
||||
</mapper>
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren