package cn.com.goldenwater.dcproj.dao; import cn.com.goldenwater.core.persistence.CrudDao; import cn.com.goldenwater.dcproj.dto.AdUpDto; import cn.com.goldenwater.dcproj.dto.AttCwsBaseDto; import cn.com.goldenwater.dcproj.dto.ProSourceProtectDto; import cn.com.goldenwater.dcproj.dto.SecsurveyVlgDto; import cn.com.goldenwater.dcproj.model.AttAdBase; import cn.com.goldenwater.dcproj.param.AttAdBaseParam; import cn.com.goldenwater.dcproj.param.PagePersObjParam; import cn.com.goldenwater.dcproj.param.PersObjParam; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; @Repository public interface AttAdBaseDao extends CrudDao { List getListByInspGroupIdObjType(PagePersObjParam pagePersObjParam); List getObjListNotInspGroupId(@Param("inspGroupId") String inspGroupId, @Param("objType") String objType, @Param("adName") String adName, @Param("adCode") String adCode, @Param("province") String province); List getObjByPersId(PersObjParam persObjParam); List getAdData(@Param("adCode") String adCode); AdUpDto fingAdUp(@Param("adCode") String adCode); List getPspByPersId(PersObjParam persObjParam); List getCwsByPersId(PersObjParam persObjParam); List getAdBaseByPersId(PersObjParam persObjParam); AttAdBase getByAdcode(@Param("code") String code); List getAllChildByCode(@Param("code") String code); List getAllChildren(String adCode); String getNameByAdCode(Map param); }