Commit 117419f8 authored by 耿迪迪's avatar 耿迪迪

任务查询和巡检分组修改

parent d998034a
......@@ -66,7 +66,7 @@ public interface TTaskMapper
* @param param 参数
* @return
*/
TTask selectCurrentTaskByType(Map<String,Object> param);
List<TTask> selectCurrentTaskByType(Map<String,Object> param);
/**
* tTask
......
......@@ -66,7 +66,7 @@ public interface ITTaskService
* @param param 参数
* @return
*/
TTask selectCurrentTaskByType(Map<String,Object> param);
List<TTask> selectCurrentTaskByType(Map<String,Object> param);
/**
* 任务列表
......
......@@ -147,7 +147,7 @@ public class TTaskServiceImpl implements ITTaskService
* @return
*/
@Override
public TTask selectCurrentTaskByType(Map<String,Object> param){
public List<TTask> selectCurrentTaskByType(Map<String,Object> param){
return tTaskMapper.selectCurrentTaskByType(param);
}
......
......@@ -109,12 +109,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN t_group_member_info member ON member.user_id = su.user_id
LEFT JOIN sys_dept dept ON dept.dept_id = su.dept_id
<where>
<if test="groupId != null">
<!--<if test="groupId != null">
(member.group_id is null or member.group_id = #{groupId})
</if>
<if test="groupId == null">
member.group_id is null
</if>
</if>-->
<if test="nickName != null and nickName != ''">
and su.nick_name = #{nickName}
</if>
......
......@@ -167,7 +167,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</where>
GROUP BY task.id
ORDER BY create_time DESC
LIMIT 1
</select>
<select id="selecttasknums" parameterType="TTask" resultMap="TTaskResult">
SELECT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment