package com.xzx.gc.role.service;
|
|
import cn.hutool.core.collection.CollUtil;
|
import cn.hutool.core.util.StrUtil;
|
import com.xzx.gc.entity.AddressLevelInfo;
|
import com.xzx.gc.role.mapper.AddressLevelMapper;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
import org.springframework.transaction.annotation.Transactional;
|
import tk.mybatis.mapper.entity.Example;
|
|
import java.util.ArrayList;
|
import java.util.List;
|
import java.util.Map;
|
|
@Service
|
@Transactional
|
public class AddressLevelService {
|
|
@Autowired
|
private AddressLevelMapper addressLevelMapper;
|
|
public List<AddressLevelInfo> queryAddressList(List<String> level3Id){
|
Example example = new Example(AddressLevelInfo.class);
|
example.createCriteria().andIn("level3Id",level3Id);
|
return addressLevelMapper.selectByExample(example);
|
}
|
}
|