!68 fix: Mapper文件错误

Merge pull request !68 from okayliao/master
pull/68/MERGE
okayliao 2019-01-24 11:51:26 +08:00 committed by 若依
commit c6bd84818a
4 changed files with 15 additions and 6 deletions

View File

@ -1,8 +1,9 @@
package com.ruoyi.quartz.mapper;
import java.util.List;
import com.ruoyi.quartz.domain.SysJobLog;
import java.util.List;
/**
*
*
@ -18,6 +19,13 @@ public interface SysJobLogMapper
*/
public List<SysJobLog> selectJobLogList(SysJobLog jobLog);
/**
*
*
* @return
*/
public List<SysJobLog> selectJobLogAll();
/**
* ID
*

View File

@ -1,8 +1,9 @@
package com.ruoyi.quartz.mapper;
import java.util.List;
import com.ruoyi.quartz.domain.SysJob;
import java.util.List;
/**
*
*
@ -47,7 +48,7 @@ public interface SysJobMapper
* @param ids ID
* @return
*/
public int deleteJobLogByIds(Long[] ids);
public int deleteJobByIds(Long[] ids);
/**
*

View File

@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</where>
</select>
<select id="selectJobAll" resultMap="SysJobLogResult">
<select id="selectJobLogAll" resultMap="SysJobLogResult">
<include refid="selectJobLogVo"/>
</select>

View File

@ -6,7 +6,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<resultMap type="SysRoleDept" id="SysRoleDeptResult">
<result property="roleId" column="role_id" />
<result property="detpId" column="dept_id" />
<result property="deptId" column="dept_id" />
</resultMap>
<delete id="deleteRoleDeptByRoleId" parameterType="Long">
@ -14,7 +14,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</delete>
<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>
<delete id="deleteRoleDept" parameterType="Long">