道路线索应急巡查系统服务后台
feiyu02
2025-09-30 84569abda51ecf6c5549dec4cadee8d043422379
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
package com.flightfeather.grid.service
 
import com.flightfeather.grid.constant.ConstantHttp
import com.flightfeather.grid.domain.ds1.entity.Clue
import com.flightfeather.grid.domain.ds1.entity.ClueInternal
import com.flightfeather.grid.utils.net.HttpMethod
import com.flightfeather.grid.vo.BaseResponse
import com.flightfeather.grid.vo.DataHead
 
interface ClueService {
 
    /**
     * 根据时间段获取线索
     * @param sTime 起始时间
     * @param eTime 结束时间
     * @param pageNum 页码
     * @param pageSize 单页数据量
     */
    fun getClue(
        sTime: String?,
        eTime: String?,
        pageNum: Int? = ConstantHttp.DEFAULT_PAGE_NUM,
        pageSize: Int? = ConstantHttp.DEFAULT_PAGE_SIZE,
    ): Pair<DataHead, List<Clue?>>
 
    fun searchClue(clue: Clue): List<Clue?>
 
    /**
     * 从远程数据源拉取下发线索
     * @param updateTime 下发时间(每次查询大于此时间的数据)
     */
    fun fetchRemoteClue(updateTime: String): List<Clue?>
 
    fun getClueFile(clueId: String): Pair<String, HttpMethod.MyResponse>
 
    fun pushClue(clueId: String): Boolean
}