package com.gkhy.assess.system.mapper;
|
|
import com.gkhy.assess.system.domain.SysRegion;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
/**
|
* <p>
|
* 系统地区表 Mapper 接口
|
* </p>
|
*
|
* @author kzy
|
* @since 2023-11-24 13:45:45
|
*/
|
@Mapper
|
public interface SysRegionMapper extends BaseMapper<SysRegion> {
|
/**
|
* 校验同级名称是否唯一
|
* @param name
|
* @return
|
*/
|
SysRegion checkRegionUnique(@Param("name") String name, @Param("parentId")Long parentId);
|
}
|