/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.taskqd.service; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.IService; import org.springblade.modules.taskqd.entity.Taskqd; import org.springblade.modules.taskqd.excel.TaskExcel; import org.springblade.modules.taskqd.vo.TaskqdVO; import java.util.Date; import java.util.List; import java.util.Map; /** * 服务类 * * @author BladeX * @since 2020-08-06 */ public interface ITaskqdService extends IService { void updatet(Integer id, Integer num, String serid,String captain,String team); void updateRtype(String type,String rid); Boolean updateSerid(String type,String rid,String newteam,int newnum); List selectList(Integer id); List> queryReceiver(String serid); List> taskCount(String id,String type); List> allTask(); List getlist(String id,String type); /** * 任务查询 * @param type 任务状态 0:未开始 1:正在进行 2:已完成 * @param serid 用户id * @param jurisdiction 辖区id * @param workjurisdiction 工作辖区 * @param tasktype 任务状态 * @return */ List selectLi(Integer type, String serid,String jurisdiction,String workjurisdiction,String tasktype); List> selectNum(String serid,String jurisdiction,String workjurisdiction); String querySerid(String rid); List countTaskByJur(String jurisdiction, String startTime, String period); int getRealTime(String hdid); /** * 自定义分页查询 * @param taskqd * @param page * @return */ Object selectTaskQdPage(IPage page, TaskqdVO taskqd); /** * 导出任务数据 * @param task * @return */ List exportTask(TaskqdVO task); }