Selaa lähdekoodia

fix: Mapper 文件错误

okayliao 6 vuotta sitten
vanhempi
commit
262ee4eb5c

+ 9 - 1
ruoyi-quartz/src/main/java/com/ruoyi/quartz/mapper/SysJobLogMapper.java

@@ -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查询调度信息
      * 

+ 3 - 2
ruoyi-quartz/src/main/java/com/ruoyi/quartz/mapper/SysJobMapper.java

@@ -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);
 
     /**
      * 修改调度任务信息

+ 1 - 1
ruoyi-quartz/src/main/resources/mapper/quartz/SysJobLogMapper.xml

@@ -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>
 	

+ 2 - 2
ruoyi-system/src/main/resources/mapper/system/SysRoleDeptMapper.xml

@@ -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">