| | |
| | | package com.ruoyi.doublePrevention.service.baseService.impl;
|
| | |
|
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
| | | import com.ruoyi.doublePrevention.entity.CJReport.PreventCJReportConfig;
|
| | | import com.ruoyi.doublePrevention.repository.PreventCJReportConfigRepository;
|
| | | import com.ruoyi.doublePrevention.repository.param.PreventReportConfigUpdateParams;
|
| | | import com.ruoyi.doublePrevention.service.baseService.PreventCJReportConfigService;
|
| | | import org.springframework.beans.factory.annotation.Autowired;
|
| | | import org.springframework.stereotype.Service;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | @Service("PreventCJReportConfigService")
|
| | | public class PreventCJReportConfigServiceImpl extends ServiceImpl<PreventCJReportConfigRepository, PreventCJReportConfig> implements PreventCJReportConfigService {
|
| | |
|
| | | @Autowired
|
| | | private PreventCJReportConfigRepository preventCJReportConfigRepository;
|
| | |
|
| | | // /**
|
| | | // * 数据上报配置-查询
|
| | | // */
|
| | | // @Override
|
| | | // public List<PreventCJReportConfig> ListReportConfigs() {
|
| | | // return preventCJReportConfigRepository.ListReportConfigs();
|
| | | // }
|
| | |
|
| | | /**
|
| | | * 数据上报配置-修改
|
| | | */
|
| | | @Override
|
| | | public int updateReportConfig(PreventReportConfigUpdateParams updateParams) {
|
| | | return preventCJReportConfigRepository.updateReportConfig(updateParams);
|
| | | }
|
| | |
|
| | | /**
|
| | | * 数据上报配置-按照id查询
|
| | | */
|
| | | @Override
|
| | | public PreventCJReportConfig getReportConfigById(int Id) {
|
| | | return preventCJReportConfigRepository.selectById(Id);
|
| | | }
|
| | |
|
| | | }
|
| | | package com.ruoyi.doublePrevention.service.baseService.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.doublePrevention.entity.CJReport.PreventCJReportConfig; |
| | | import com.ruoyi.doublePrevention.repository.PreventCJReportConfigRepository; |
| | | import com.ruoyi.doublePrevention.repository.param.PreventReportConfigUpdateParams; |
| | | import com.ruoyi.doublePrevention.service.baseService.PreventCJReportConfigService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | @Service("PreventCJReportConfigService") |
| | | public class PreventCJReportConfigServiceImpl extends ServiceImpl<PreventCJReportConfigRepository, PreventCJReportConfig> implements PreventCJReportConfigService { |
| | | |
| | | @Autowired |
| | | private PreventCJReportConfigRepository preventCJReportConfigRepository; |
| | | |
| | | // /** |
| | | // * 数据上报配置-查询 |
| | | // */ |
| | | // @Override |
| | | // public List<PreventCJReportConfig> ListReportConfigs() { |
| | | // return preventCJReportConfigRepository.ListReportConfigs(); |
| | | // } |
| | | |
| | | /** |
| | | * 数据上报配置-修改 |
| | | */ |
| | | @Override |
| | | public int updateReportConfig(PreventReportConfigUpdateParams updateParams) { |
| | | return preventCJReportConfigRepository.updateReportConfig(updateParams); |
| | | } |
| | | |
| | | /** |
| | | * 数据上报配置-按照id查询 |
| | | */ |
| | | @Override |
| | | public PreventCJReportConfig getReportConfigById(int Id) { |
| | | return preventCJReportConfigRepository.selectById(Id); |
| | | } |
| | | |
| | | } |