洪城义警-正式版后台
zhongrj
2023-09-25 37d57abd8bc8aa69a2518f693a2c971de8a08859
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/*
 *      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<Taskqd> {
    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<Taskqd> selectList(Integer id);
    List<Map<String, Object>> queryReceiver(String serid);
    List<Map<String, Object>> taskCount(String id,String type);
    List<Map<String, Object>> allTask();
    List<TaskqdVO> getlist(String id,String type);
    /**
     * 任务查询
     * @param type 任务状态 0:未开始  1:正在进行 2:已完成
     * @param serid 用户id
     * @param jurisdiction 辖区id
     * @param workjurisdiction 工作辖区
     * @param tasktype 任务状态
     * @return
     */
    List<TaskqdVO> selectLi(Integer type, String serid,String jurisdiction,String workjurisdiction,String tasktype);
 
    List<Map<String, Object>> selectNum(String serid,String jurisdiction,String workjurisdiction);
    String querySerid(String rid);
 
    List<Taskqd> countTaskByJur(String jurisdiction, String startTime, String period);
 
    int getRealTime(String hdid);
 
    /**
     * 自定义分页查询
     * @param taskqd
     * @param page
     * @return
     */
    Object selectTaskQdPage(IPage<TaskqdVO> page, TaskqdVO taskqd);
 
    /**
     * 导出任务数据
     * @param task
     * @return
     */
    List<TaskExcel> exportTask(TaskqdVO task);
}