郑永安
2023-06-19 f65443d8abeaedc9d102324565e8368e7c9d90c8
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);
}