package com.goafanti.common.dao; import com.goafanti.ambSystem.bo.AmbAll; import com.goafanti.ambSystem.bo.OutAmbDtails; import com.goafanti.common.model.AmbSystem; import org.apache.ibatis.annotations.Param; import java.util.List; public interface AmbSystemMapper { int deleteByPrimaryKey(Long id); int insert(AmbSystem record); int insertSelective(AmbSystem record); AmbSystem selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(AmbSystem record); int updateByPrimaryKey(AmbSystem record); List getAncestorsList(List list); List selectByParentId(Long id); int selectByName(String name); OutAmbDtails selectDtailsAmb(Long id); int updateAncestorsNames(@Param(value = "id") Long id, @Param(value = "name")String name, @Param(value = "useName")String useName); }