package cn.exrick.xboot.your.serviceimpl; import cn.exrick.xboot.your.mapper.AreaSectionMapper; import cn.exrick.xboot.your.entity.AreaSection; import cn.exrick.xboot.your.service.IAreaSectionService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.util.ArrayList; import java.util.List; /** * 片区段接口实现 * @author zhangzeli */ @Slf4j @Service @Transactional public class IAreaSectionServiceImpl extends ServiceImpl implements IAreaSectionService { @Autowired private AreaSectionMapper areaSectionMapper; @Override public List getListByParentId(String areaId) { return areaSectionMapper.getListByParentId(areaId); } }