package com.gk.firework.Mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.gk.firework.Domain.DistrictInfo; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface DistrictInfoMapper extends BaseMapper { int deleteByPrimaryKey(Long id); DistrictInfo selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(DistrictInfo record); int updateByPrimaryKey(DistrictInfo record); List selectDistrictInfo(@Param("type") String type,@Param("parentcode") String parentcode); List selectDistrictByName(@Param("type") String type,@Param("parentname") String parentname,@Param("parenttype") String parenttype); }