admin
2021-11-27 4f015b8c624484e0c3b2d88b944163ce43a48d1f
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
package com.yeshi.location.app.service.inter.sos;
 
import java.lang.Exception;
import javax.annotation.Resource;
import java.util.Date;
import org.yeshi.utils.bean.BeanUtil;
import java.util.List;
import com.yeshi.location.app.entity.sos.SOSRecord;
import com.yeshi.location.app.service.inter.sos.SOSRecordService;
import com.yeshi.location.app.service.query.sos.SOSRecordQuery;
 
 
public interface SOSRecordService {
 
    /**
     * 获取列表
     * @param sOSRecordQuery
     * @param page
     * @param pageSize
     * @return
     */
    public List<SOSRecord> list(SOSRecordQuery sOSRecordQuery, int page, int pageSize) ;
 
    /**
     * 
     */
    public long count(SOSRecordQuery sOSRecordQuery) ;
 
    /**
     * 
     */
    public SOSRecord get(String id) ;
 
    /**
     * 
     */
    public void add(SOSRecord sOSRecord)  throws Exception;
 
    /**
     * 
     */
    public void update(SOSRecord sOSRecord) ;
 
    /**
     * 
     */
    public void delete(List<String> idList) ;
 
 
    public void deleteAll(Long uid);
 
    public List<SOSRecord> listByIds(List<String> ids);
 
    /**
     * 查询详情(包含求助对象)
     */
    public List<SOSRecord> listDetail(List<String> ids);
 
 
}