郑永安
2023-09-19 69185134fcfaf913ea45f1255677225a2cc311a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.gk.hotwork.Mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gk.hotwork.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);
}