mirror of https://gitee.com/y_project/RuoYi.git
commit
c6bd84818a
|
@ -1,8 +1,9 @@
|
||||||
package com.ruoyi.quartz.mapper;
|
package com.ruoyi.quartz.mapper;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
import com.ruoyi.quartz.domain.SysJobLog;
|
import com.ruoyi.quartz.domain.SysJobLog;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 调度任务日志信息 数据层
|
* 调度任务日志信息 数据层
|
||||||
*
|
*
|
||||||
|
@ -18,6 +19,13 @@ public interface SysJobLogMapper
|
||||||
*/
|
*/
|
||||||
public List<SysJobLog> selectJobLogList(SysJobLog jobLog);
|
public List<SysJobLog> selectJobLogList(SysJobLog jobLog);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询所有调度任务日志
|
||||||
|
*
|
||||||
|
* @return 调度任务日志列表
|
||||||
|
*/
|
||||||
|
public List<SysJobLog> selectJobLogAll();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过调度任务日志ID查询调度信息
|
* 通过调度任务日志ID查询调度信息
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
package com.ruoyi.quartz.mapper;
|
package com.ruoyi.quartz.mapper;
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
import com.ruoyi.quartz.domain.SysJob;
|
import com.ruoyi.quartz.domain.SysJob;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 调度任务信息 数据层
|
* 调度任务信息 数据层
|
||||||
*
|
*
|
||||||
|
@ -47,7 +48,7 @@ public interface SysJobMapper
|
||||||
* @param ids 需要删除的数据ID
|
* @param ids 需要删除的数据ID
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
public int deleteJobLogByIds(Long[] ids);
|
public int deleteJobByIds(Long[] ids);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改调度任务信息
|
* 修改调度任务信息
|
||||||
|
|
|
@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectJobAll" resultMap="SysJobLogResult">
|
<select id="selectJobLogAll" resultMap="SysJobLogResult">
|
||||||
<include refid="selectJobLogVo"/>
|
<include refid="selectJobLogVo"/>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
|
||||||
<resultMap type="SysRoleDept" id="SysRoleDeptResult">
|
<resultMap type="SysRoleDept" id="SysRoleDeptResult">
|
||||||
<result property="roleId" column="role_id" />
|
<result property="roleId" column="role_id" />
|
||||||
<result property="detpId" column="dept_id" />
|
<result property="deptId" column="dept_id" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<delete id="deleteRoleDeptByRoleId" parameterType="Long">
|
<delete id="deleteRoleDeptByRoleId" parameterType="Long">
|
||||||
|
@ -14,7 +14,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<select id="selectCountRoleDeptByDeptId" resultType="Integer">
|
<select id="selectCountRoleDeptByDeptId" resultType="Integer">
|
||||||
select count(1) from sys_role_dept where dept_id=#{detpId}
|
select count(1) from sys_role_dept where dept_id=#{deptId}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<delete id="deleteRoleDept" parameterType="Long">
|
<delete id="deleteRoleDept" parameterType="Long">
|
||||||
|
|
Loading…
Reference in New Issue