package com.gkhy.safePlatform.doublePrevention.service.baseService.impl;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.gkhy.safePlatform.doublePrevention.entity.PreventReportConfigLog;
|
import com.gkhy.safePlatform.doublePrevention.entity.dto.req.PreventReportConfigLogQueryReqDTO;
|
import com.gkhy.safePlatform.doublePrevention.repository.PreventReportConfigLogRepository;
|
import com.gkhy.safePlatform.doublePrevention.service.baseService.PreventReportConfigLogService;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
@Service("PreventReportConfigLogService")
|
public class PreventReportConfigLogServiceImpl extends ServiceImpl<PreventReportConfigLogRepository, PreventReportConfigLog> implements PreventReportConfigLogService {
|
|
@Autowired
|
private PreventReportConfigLogRepository preventReportConfigLogRepository;
|
|
@Override
|
public int insertOldReportConfig(PreventReportConfigLog preventReportConfigLog) {
|
return preventReportConfigLogRepository.insert(preventReportConfigLog);
|
}
|
|
/**
|
* 数据上报配置历史记录-查询
|
*/
|
@Override
|
public IPage<PreventReportConfigLog> getReportConfigLogPage(Page<Object> page, PreventReportConfigLogQueryReqDTO queryReqDTO) {
|
return preventReportConfigLogRepository.getReportConfigLogPage(page, queryReqDTO);
|
}
|
}
|