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);
|
|
}
|