From ccf75464534965c47866449b2b4e457a6dadede9 Mon Sep 17 00:00:00 2001 From: liriming <1343021927@qq.com> Date: 星期一, 14 十月 2024 14:13:00 +0800 Subject: [PATCH] 定时任务权限修改 --- shasteel-biz/src/main/resources/mapper/job/ScheduleJobDao.xml | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/shasteel-biz/src/main/resources/mapper/job/ScheduleJobDao.xml b/shasteel-biz/src/main/resources/mapper/job/ScheduleJobDao.xml new file mode 100644 index 0000000..03761c4 --- /dev/null +++ b/shasteel-biz/src/main/resources/mapper/job/ScheduleJobDao.xml @@ -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.iailab.module.shasteel.job.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> \ No newline at end of file -- Gitblit v1.9.3