AmbSystemMapper.java 856 B

12345678910111213141516171819202122232425262728293031323334
  1. package com.goafanti.common.dao;
  2. import com.goafanti.ambSystem.bo.AmbAll;
  3. import com.goafanti.ambSystem.bo.OutAmbDtails;
  4. import com.goafanti.common.model.AmbSystem;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.List;
  7. public interface AmbSystemMapper {
  8. int deleteByPrimaryKey(Long id);
  9. int insert(AmbSystem record);
  10. int insertSelective(AmbSystem record);
  11. AmbSystem selectByPrimaryKey(Long id);
  12. int updateByPrimaryKeySelective(AmbSystem record);
  13. int updateByPrimaryKey(AmbSystem record);
  14. List<AmbAll> getAncestorsList(List<String> list);
  15. List<AmbSystem> selectByParentId(Long id);
  16. int selectByName(String name);
  17. OutAmbDtails selectDtailsAmb(Long id);
  18. int updateAncestorsNames(@Param(value = "id") Long id, @Param(value = "name")String name, @Param(value = "useName")String useName);
  19. }