| | |
| | | public class InformationServiceImpl extends ServiceImpl<InformationMapper, Information> implements IInformationService { |
| | | |
| | | @Override |
| | | public IPage<Information> selectInformationPage(IPage<Information> page, Information information) { |
| | | public IPage<InformationVO> selectInformationPage(IPage<InformationVO> page, InformationVO information) { |
| | | return page.setRecords(baseMapper.selectInformationPage(page, information)); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<Map<Object, Object>> selectExtype(String deptid) { |
| | | return baseMapper.selectExtype(deptid); |
| | | public List<Map<Object, Object>> selectExtype(String deptid,String jurisdiction) { |
| | | return baseMapper.selectExtype(deptid,jurisdiction); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map<Object, Object>> selectHold(String deptid) { |
| | | return baseMapper.selectHold(deptid); |
| | | public List<Map<Object, Object>> selectHold(String deptid,String jurisdiction) { |
| | | return baseMapper.selectHold(deptid,jurisdiction); |
| | | } |
| | | |
| | | @Override |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<Map<Object, Object>> selectDisp(String deptid) { |
| | | return baseMapper.selectDisp(deptid); |
| | | public List<Map<Object, Object>> selectDisp(String deptid,String jurisdiction) { |
| | | return baseMapper.selectDisp(deptid,jurisdiction); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map<Object, Object>> selectSoil(String deptid) { |
| | | return baseMapper.selectSoil(deptid); |
| | | public List<Map<Object, Object>> selectSoil(String deptid,String jurisdiction) { |
| | | return baseMapper.selectSoil(deptid,jurisdiction); |
| | | } |
| | | |
| | | @Override |
| | | public List queryYearKh(String year, String jurisdiction, String deptid) { |
| | | return baseMapper.queryYearKh(year, jurisdiction, deptid); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询培训单位信息(可以报名) |
| | |
| | | return page.setRecords(baseMapper.securityPage(page, information)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 培训公司信息查询,下拉 |
| | | */ |
| | | @Override |
| | | public List<InformationVO> trainUnitTree(InformationVO information) { |
| | | return baseMapper.securityPage(null, information); |
| | | } |
| | | |
| | | @Override |
| | | public void importInfor(List<InforExcel> data, Boolean isCovered) { |
| | | data.forEach(InforExcel -> { |