From 59e91a4e9ddaf23cebb12993c774aa899ab22d16 Mon Sep 17 00:00:00 2001 From: 郑永安 <zyazyz250@sina.com> Date: 星期一, 19 六月 2023 14:22:45 +0800 Subject: [PATCH] 描述 --- src/main/java/com/gk/firework/Mapper/DistrictInfoMapper.java | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/gk/firework/Mapper/DistrictInfoMapper.java b/src/main/java/com/gk/firework/Mapper/DistrictInfoMapper.java new file mode 100644 index 0000000..729f883 --- /dev/null +++ b/src/main/java/com/gk/firework/Mapper/DistrictInfoMapper.java @@ -0,0 +1,23 @@ +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); +} -- Gitblit v1.9.2