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<DistrictInfo> {
|
int deleteByPrimaryKey(Long id);
|
|
DistrictInfo selectByPrimaryKey(Long id);
|
|
int updateByPrimaryKeySelective(DistrictInfo record);
|
|
int updateByPrimaryKey(DistrictInfo record);
|
|
List<DistrictInfo> selectDistrictInfo(@Param("type") String type,@Param("parentcode") String parentcode);
|
|
List<DistrictInfo> selectDistrictByName(@Param("type") String type,@Param("parentname") String parentname,@Param("parenttype") String parenttype);
|
}
|