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
61
62
63
64
65
66
67
68
package com.yeshi.location.app.service.inter.location;
 
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.location.LocationUsers;
import com.yeshi.location.app.service.inter.location.LocationUsersService;
import com.yeshi.location.app.service.query.location.LocationUsersQuery;
 
 
public interface LocationUsersService {
 
    /**
     * 获取列表
     *
     * @param locationUsersQuery
     * @param page
     * @param pageSize
     * @return
     */
    public List<LocationUsers> list(LocationUsersQuery locationUsersQuery, int page, int pageSize);
 
    /**
     *
     */
    public long count(LocationUsersQuery locationUsersQuery);
 
    /**
     *
     */
    public LocationUsers get(String id);
 
    /**
     *
     */
    public void add(LocationUsers locationUsers) throws Exception;
 
    /**
     *
     */
    public void update(LocationUsers locationUsers);
 
    /**
     *
     */
    public void delete(List<String> idList);
 
 
    public List<LocationUsers> listMyLocationUser(Long uid,Long targetUid, LocationUsers.LocationInviteStatus status, int page, int pageSize);
 
    public long countMyLocationUser(Long uid,LocationUsers.LocationInviteStatus status);
 
 
    /**
     * 是否在我的通讯录中
     *
     * @param uid
     * @param targetUid
     * @return
     */
    public LocationUsers selectByUidAndTargetUid(Long uid, Long targetUid);
 
}