package cn.com.goldenwater.dcproj.service; import cn.com.goldenwater.core.service.CrudService; import cn.com.goldenwater.dcproj.dto.AttAdXTownDto; import cn.com.goldenwater.dcproj.dto.BisNewDcuserRelVillDto; import cn.com.goldenwater.dcproj.model.AttAdXBase; import cn.com.goldenwater.dcproj.model.AttAdXBaseNode; import cn.com.goldenwater.dcproj.param.AttAdXBaseParam; import cn.com.goldenwater.dcproj.param.AttCwsBaseListParam; import cn.com.goldenwater.dcproj.param.AttCwsBaseListParamNew; import cn.com.goldenwater.dcproj.param.QueryTCListParam; import com.github.pagehelper.PageInfo; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.Collection; import java.util.List; /** * @author zhengdafei * @date 2019-2-22 */ public interface AttAdXBaseService extends CrudService { // ------------------------- 自定方法 ------------------------- public AttAdXBase add(AttAdXBase p) throws Exception; public int modify(AttAdXBase p) throws Exception; public PageInfo queryListByPage(AttAdXBaseParam p) throws Exception; public List queryList(AttAdXBaseParam p) throws Exception; public PageInfo queryTCList(AttCwsBaseListParam param) throws Exception; public List queryTCListLast(QueryTCListParam param) throws Exception; public PageInfo queryTCList(AttCwsBaseListParamNew param) throws Exception; /** * 获取行政区划数据列表 * * @param attAdXBaseParam * @return */ List getTableList(AttAdXBaseParam attAdXBaseParam) throws Exception; /** * 获取行政区划数据列表(分页) * * @param attAdXBaseParam * @return */ PageInfo getTableListByPage(AttAdXBaseParam attAdXBaseParam) throws Exception; List getTargetAdByNodeId(String nodeIds,String persGuid,String province); AttAdXBaseNode getAdTreeByAdCd(String adCd, String level); void exportAdXBase(AttAdXBaseParam attAdXBaseParam, HttpServletResponse response); List findZhenList(String code, String rgstrId,String type); List getAdData(String adCode); List getAdDataXj(String adCode); List getAdDataByAdCode(String adCodes); List getAdTreeByAdCdS(String adCdS, String level); void updateLgtdLttd(String adCode) throws IOException; }