| New file |
| | |
| | | package cn.gistack.sm.sjztmd.service.impl; |
| | | |
| | | import cn.gistack.sm.sjztmd.entity.TbProject; |
| | | import cn.gistack.sm.sjztmd.mapper.TbResAndDykeAllMapper; |
| | | import cn.gistack.sm.sjztmd.service.ITbResAndDykeAllService; |
| | | |
| | | import cn.gistack.sm.sjztmd.vo.ResAndDykeAll; |
| | | import com.baomidou.dynamic.datasource.annotation.DS; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.List; |
| | | |
| | | @Service |
| | | @DS("zt") |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public class TbResAndDykeAllServiceImpl extends ServiceImpl<TbResAndDykeAllMapper,TbProject> implements ITbResAndDykeAllService { |
| | | |
| | | @Autowired |
| | | private TbResAndDykeAllMapper tbResAndDykeAllMapper; |
| | | |
| | | @Override |
| | | public List<ResAndDykeAll> getStatisticsTable(String code,String year) { |
| | | return tbResAndDykeAllMapper.getStatisticsTable(code,year) ; |
| | | } |
| | | } |