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.EmergencyContacts;
|
import com.yeshi.location.app.service.inter.sos.EmergencyContactsService;
|
import com.yeshi.location.app.service.query.sos.EmergencyContactsQuery;
|
|
|
public interface EmergencyContactsService {
|
|
/**
|
* 获取列表
|
*
|
* @param emergencyContactsQuery
|
* @param page
|
* @param pageSize
|
* @return
|
*/
|
public List<EmergencyContacts> list(EmergencyContactsQuery emergencyContactsQuery, int page, int pageSize);
|
|
|
/**
|
*
|
*/
|
public long count(EmergencyContactsQuery emergencyContactsQuery);
|
|
/**
|
*
|
*/
|
public EmergencyContacts get(String id);
|
|
/**
|
*
|
*/
|
public void add(EmergencyContacts emergencyContacts) throws Exception;
|
|
/**
|
*
|
*/
|
public void update(EmergencyContacts emergencyContacts);
|
|
/**
|
*
|
*/
|
public void delete(List<String> idList);
|
|
|
|
}
|