/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.regionWeight.service.impl; import com.baomidou.dynamic.datasource.annotation.DS; import org.springblade.core.tool.node.ForestNodeMerger; import org.springblade.modules.regionWeight.entity.RegionWeight; import org.springblade.modules.regionWeight.excel.regionExcel; import org.springblade.modules.regionWeight.vo.RegionWeightVO; import org.springblade.modules.regionWeight.mapper.RegionWeightMapper; import org.springblade.modules.regionWeight.service.IRegionWeightService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; import com.baomidou.mybatisplus.core.metadata.IPage; import java.util.List; import java.util.Map; /** * 服务实现类 * * @author BladeX * @since 2021-05-12 */ @Service @DS("slaves") public class RegionWeightServiceImpl extends ServiceImpl implements IRegionWeightService { @Override public IPage selectRegionWeightPage(IPage page, RegionWeightVO regionWeight,Long deptId) { return page.setRecords(baseMapper.selectRegionWeightPage(page, regionWeight,deptId)); } @Override public IPage selectRegionWeights(IPage page, RegionWeightVO regionWeight,Long deptId) { return page.setRecords(baseMapper.selectRegionWeights(page, regionWeight,deptId)); } @Override public List lazyTree(String code) { return ForestNodeMerger.merge(baseMapper.lazyTree(code)); } @Override public List> selectReM(String beginTime,String endTime) { return baseMapper.selectReM(beginTime,endTime); } @Override public List> selectReL(String beginTime, String endTime) { return baseMapper.selectReL(beginTime, endTime); } @Override public List> selectWeight() { return baseMapper.selectWeight(); } @Override public List> selectWeights() { return baseMapper.selectWeights(); } @Override public List> selectYjs(String beginTime,String endTime) { return baseMapper.selectYjs(beginTime,endTime); } @Override public List> selectAll() { return baseMapper.selectAll(); } @Override public List exportRegion(String beginTime, String endTime) { return baseMapper.exportRegion(beginTime, endTime); } @Override public List> selectLALL() { return baseMapper.selectLALL(); } @Override public List> selectLNam() { return baseMapper.selectLNam(); } @Override public List> selectppyj(String time, String dateBegin1, String dateBegin3, String dateBegin6, String times) { return baseMapper.selectppyj(time, dateBegin1, dateBegin3, dateBegin6, times); } @Override public String selectCode() { return baseMapper.selectCode(); } @Override public List> ss(String beginTime, String endTime, String code) { return baseMapper.ss(beginTime, endTime, code); } }