parent
71f1f68bf1
commit
c15359f70f
@ -1,96 +1,104 @@
|
||||
package com.ruoyi.tcZz.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.tcZz.mapper.TcBzhanMapper;
|
||||
import com.ruoyi.tcZz.domain.TcBzhan;
|
||||
import com.ruoyi.tcZz.mapper.TcBzhanMapper;
|
||||
import com.ruoyi.tcZz.service.ITcBzhanService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* B站、小红书Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-13
|
||||
*/
|
||||
@Service
|
||||
public class TcBzhanServiceImpl implements ITcBzhanService
|
||||
{
|
||||
public class TcBzhanServiceImpl implements ITcBzhanService {
|
||||
@Autowired
|
||||
private TcBzhanMapper tcBzhanMapper;
|
||||
|
||||
/**
|
||||
* 查询B站、小红书
|
||||
*
|
||||
*
|
||||
* @param id B站、小红书主键
|
||||
* @return B站、小红书
|
||||
*/
|
||||
@Override
|
||||
public TcBzhan selectTcBzhanById(Long id)
|
||||
{
|
||||
public TcBzhan selectTcBzhanById(Long id) {
|
||||
return tcBzhanMapper.selectTcBzhanById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询B站、小红书列表
|
||||
*
|
||||
*
|
||||
* @param tcBzhan B站、小红书
|
||||
* @return B站、小红书
|
||||
*/
|
||||
@Override
|
||||
public List<TcBzhan> selectTcBzhanList(TcBzhan tcBzhan)
|
||||
{
|
||||
public List<TcBzhan> selectTcBzhanList(TcBzhan tcBzhan) {
|
||||
return tcBzhanMapper.selectTcBzhanList(tcBzhan);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增B站、小红书
|
||||
*
|
||||
*
|
||||
* @param tcBzhan B站、小红书
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcBzhan(TcBzhan tcBzhan)
|
||||
{
|
||||
public int insertTcBzhan(TcBzhan tcBzhan) {
|
||||
tcBzhan.setCreateTime(DateUtils.getNowDate());
|
||||
return tcBzhanMapper.insertTcBzhan(tcBzhan);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改B站、小红书
|
||||
*
|
||||
*
|
||||
* @param tcBzhan B站、小红书
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcBzhan(TcBzhan tcBzhan)
|
||||
{
|
||||
public int updateTcBzhan(TcBzhan tcBzhan) {
|
||||
tcBzhan.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcBzhanMapper.updateTcBzhan(tcBzhan);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除B站、小红书
|
||||
*
|
||||
*
|
||||
* @param ids 需要删除的B站、小红书主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcBzhanByIds(Long[] ids)
|
||||
{
|
||||
public int deleteTcBzhanByIds(Long[] ids) {
|
||||
return tcBzhanMapper.deleteTcBzhanByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除B站、小红书信息
|
||||
*
|
||||
*
|
||||
* @param id B站、小红书主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcBzhanById(Long id)
|
||||
{
|
||||
public int deleteTcBzhanById(Long id) {
|
||||
return tcBzhanMapper.deleteTcBzhanById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String importUser(List<TcBzhan> tcBzhanList) {
|
||||
|
||||
StringBuilder successMsg = new StringBuilder();
|
||||
if (!tcBzhanList.isEmpty()) {
|
||||
for (TcBzhan tcBzhan : tcBzhanList) {
|
||||
tcBzhanMapper.insertTcBzhan(tcBzhan);
|
||||
}
|
||||
successMsg.append("导入成功");
|
||||
}
|
||||
|
||||
return successMsg.toString();
|
||||
}
|
||||
}
|
||||
|
@ -1,96 +1,104 @@
|
||||
package com.ruoyi.tcZz.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.tcZz.mapper.TcJbsjndfltjMapper;
|
||||
import com.ruoyi.tcZz.domain.TcJbsjndfltj;
|
||||
import com.ruoyi.tcZz.mapper.TcJbsjndfltjMapper;
|
||||
import com.ruoyi.tcZz.service.ITcJbsjndfltjService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 举报事件年度分类统计Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-13
|
||||
*/
|
||||
@Service
|
||||
public class TcJbsjndfltjServiceImpl implements ITcJbsjndfltjService
|
||||
{
|
||||
public class TcJbsjndfltjServiceImpl implements ITcJbsjndfltjService {
|
||||
@Autowired
|
||||
private TcJbsjndfltjMapper tcJbsjndfltjMapper;
|
||||
|
||||
/**
|
||||
* 查询举报事件年度分类统计
|
||||
*
|
||||
*
|
||||
* @param id 举报事件年度分类统计主键
|
||||
* @return 举报事件年度分类统计
|
||||
*/
|
||||
@Override
|
||||
public TcJbsjndfltj selectTcJbsjndfltjById(Long id)
|
||||
{
|
||||
public TcJbsjndfltj selectTcJbsjndfltjById(Long id) {
|
||||
return tcJbsjndfltjMapper.selectTcJbsjndfltjById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询举报事件年度分类统计列表
|
||||
*
|
||||
*
|
||||
* @param tcJbsjndfltj 举报事件年度分类统计
|
||||
* @return 举报事件年度分类统计
|
||||
*/
|
||||
@Override
|
||||
public List<TcJbsjndfltj> selectTcJbsjndfltjList(TcJbsjndfltj tcJbsjndfltj)
|
||||
{
|
||||
public List<TcJbsjndfltj> selectTcJbsjndfltjList(TcJbsjndfltj tcJbsjndfltj) {
|
||||
return tcJbsjndfltjMapper.selectTcJbsjndfltjList(tcJbsjndfltj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增举报事件年度分类统计
|
||||
*
|
||||
*
|
||||
* @param tcJbsjndfltj 举报事件年度分类统计
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcJbsjndfltj(TcJbsjndfltj tcJbsjndfltj)
|
||||
{
|
||||
public int insertTcJbsjndfltj(TcJbsjndfltj tcJbsjndfltj) {
|
||||
tcJbsjndfltj.setCreateTime(DateUtils.getNowDate());
|
||||
return tcJbsjndfltjMapper.insertTcJbsjndfltj(tcJbsjndfltj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改举报事件年度分类统计
|
||||
*
|
||||
*
|
||||
* @param tcJbsjndfltj 举报事件年度分类统计
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcJbsjndfltj(TcJbsjndfltj tcJbsjndfltj)
|
||||
{
|
||||
public int updateTcJbsjndfltj(TcJbsjndfltj tcJbsjndfltj) {
|
||||
tcJbsjndfltj.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcJbsjndfltjMapper.updateTcJbsjndfltj(tcJbsjndfltj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除举报事件年度分类统计
|
||||
*
|
||||
*
|
||||
* @param ids 需要删除的举报事件年度分类统计主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcJbsjndfltjByIds(Long[] ids)
|
||||
{
|
||||
public int deleteTcJbsjndfltjByIds(Long[] ids) {
|
||||
return tcJbsjndfltjMapper.deleteTcJbsjndfltjByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除举报事件年度分类统计信息
|
||||
*
|
||||
*
|
||||
* @param id 举报事件年度分类统计主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcJbsjndfltjById(Long id)
|
||||
{
|
||||
public int deleteTcJbsjndfltjById(Long id) {
|
||||
return tcJbsjndfltjMapper.deleteTcJbsjndfltjById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String importUser(List<TcJbsjndfltj> tcJbsjndfltjList) {
|
||||
StringBuilder successMsg = new StringBuilder();
|
||||
if (!tcJbsjndfltjList.isEmpty()) {
|
||||
for (TcJbsjndfltj tcJbsjndfltj : tcJbsjndfltjList) {
|
||||
tcJbsjndfltjMapper.insertTcJbsjndfltj(tcJbsjndfltj);
|
||||
}
|
||||
successMsg.append("导入成功");
|
||||
}
|
||||
|
||||
return successMsg.toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,96 +1,104 @@
|
||||
package com.ruoyi.tcZz.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.tcZz.mapper.TcQlzxxddtMapper;
|
||||
import com.ruoyi.tcZz.domain.TcQlzxxddt;
|
||||
import com.ruoyi.tcZz.mapper.TcQlzxxddtMapper;
|
||||
import com.ruoyi.tcZz.service.ITcQlzxxddtService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 清朗专项行动动态Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-13
|
||||
*/
|
||||
@Service
|
||||
public class TcQlzxxddtServiceImpl implements ITcQlzxxddtService
|
||||
{
|
||||
public class TcQlzxxddtServiceImpl implements ITcQlzxxddtService {
|
||||
@Autowired
|
||||
private TcQlzxxddtMapper tcQlzxxddtMapper;
|
||||
|
||||
/**
|
||||
* 查询清朗专项行动动态
|
||||
*
|
||||
*
|
||||
* @param id 清朗专项行动动态主键
|
||||
* @return 清朗专项行动动态
|
||||
*/
|
||||
@Override
|
||||
public TcQlzxxddt selectTcQlzxxddtById(Long id)
|
||||
{
|
||||
public TcQlzxxddt selectTcQlzxxddtById(Long id) {
|
||||
return tcQlzxxddtMapper.selectTcQlzxxddtById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询清朗专项行动动态列表
|
||||
*
|
||||
*
|
||||
* @param tcQlzxxddt 清朗专项行动动态
|
||||
* @return 清朗专项行动动态
|
||||
*/
|
||||
@Override
|
||||
public List<TcQlzxxddt> selectTcQlzxxddtList(TcQlzxxddt tcQlzxxddt)
|
||||
{
|
||||
public List<TcQlzxxddt> selectTcQlzxxddtList(TcQlzxxddt tcQlzxxddt) {
|
||||
return tcQlzxxddtMapper.selectTcQlzxxddtList(tcQlzxxddt);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增清朗专项行动动态
|
||||
*
|
||||
*
|
||||
* @param tcQlzxxddt 清朗专项行动动态
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcQlzxxddt(TcQlzxxddt tcQlzxxddt)
|
||||
{
|
||||
public int insertTcQlzxxddt(TcQlzxxddt tcQlzxxddt) {
|
||||
tcQlzxxddt.setCreateTime(DateUtils.getNowDate());
|
||||
return tcQlzxxddtMapper.insertTcQlzxxddt(tcQlzxxddt);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改清朗专项行动动态
|
||||
*
|
||||
*
|
||||
* @param tcQlzxxddt 清朗专项行动动态
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcQlzxxddt(TcQlzxxddt tcQlzxxddt)
|
||||
{
|
||||
public int updateTcQlzxxddt(TcQlzxxddt tcQlzxxddt) {
|
||||
tcQlzxxddt.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcQlzxxddtMapper.updateTcQlzxxddt(tcQlzxxddt);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除清朗专项行动动态
|
||||
*
|
||||
*
|
||||
* @param ids 需要删除的清朗专项行动动态主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcQlzxxddtByIds(Long[] ids)
|
||||
{
|
||||
public int deleteTcQlzxxddtByIds(Long[] ids) {
|
||||
return tcQlzxxddtMapper.deleteTcQlzxxddtByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除清朗专项行动动态信息
|
||||
*
|
||||
*
|
||||
* @param id 清朗专项行动动态主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcQlzxxddtById(Long id)
|
||||
{
|
||||
public int deleteTcQlzxxddtById(Long id) {
|
||||
return tcQlzxxddtMapper.deleteTcQlzxxddtById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String importUser(List<TcQlzxxddt> tTcQlzxxddtList) {
|
||||
|
||||
StringBuilder successMsg = new StringBuilder();
|
||||
if (!tTcQlzxxddtList.isEmpty()) {
|
||||
for (TcQlzxxddt tcQlzxxddt : tTcQlzxxddtList) {
|
||||
tcQlzxxddtMapper.insertTcQlzxxddt(tcQlzxxddt);
|
||||
}
|
||||
successMsg.append("导入成功");
|
||||
}
|
||||
|
||||
return successMsg.toString();
|
||||
}
|
||||
}
|
||||
|
@ -1,96 +1,102 @@
|
||||
package com.ruoyi.tcZz.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.tcZz.mapper.TcSjlyMapper;
|
||||
import com.ruoyi.tcZz.domain.TcSjly;
|
||||
import com.ruoyi.tcZz.mapper.TcSjlyMapper;
|
||||
import com.ruoyi.tcZz.service.ITcSjlyService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 硬探针、软探针Service业务层处理
|
||||
*
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-13
|
||||
*/
|
||||
@Service
|
||||
public class TcSjlyServiceImpl implements ITcSjlyService
|
||||
{
|
||||
public class TcSjlyServiceImpl implements ITcSjlyService {
|
||||
@Autowired
|
||||
private TcSjlyMapper tcSjlyMapper;
|
||||
|
||||
/**
|
||||
* 查询硬探针、软探针
|
||||
*
|
||||
*
|
||||
* @param id 硬探针、软探针主键
|
||||
* @return 硬探针、软探针
|
||||
*/
|
||||
@Override
|
||||
public TcSjly selectTcSjlyById(Long id)
|
||||
{
|
||||
public TcSjly selectTcSjlyById(Long id) {
|
||||
return tcSjlyMapper.selectTcSjlyById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询硬探针、软探针列表
|
||||
*
|
||||
*
|
||||
* @param tcSjly 硬探针、软探针
|
||||
* @return 硬探针、软探针
|
||||
*/
|
||||
@Override
|
||||
public List<TcSjly> selectTcSjlyList(TcSjly tcSjly)
|
||||
{
|
||||
public List<TcSjly> selectTcSjlyList(TcSjly tcSjly) {
|
||||
return tcSjlyMapper.selectTcSjlyList(tcSjly);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增硬探针、软探针
|
||||
*
|
||||
*
|
||||
* @param tcSjly 硬探针、软探针
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcSjly(TcSjly tcSjly)
|
||||
{
|
||||
public int insertTcSjly(TcSjly tcSjly) {
|
||||
tcSjly.setCreateTime(DateUtils.getNowDate());
|
||||
return tcSjlyMapper.insertTcSjly(tcSjly);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改硬探针、软探针
|
||||
*
|
||||
*
|
||||
* @param tcSjly 硬探针、软探针
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcSjly(TcSjly tcSjly)
|
||||
{
|
||||
public int updateTcSjly(TcSjly tcSjly) {
|
||||
tcSjly.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcSjlyMapper.updateTcSjly(tcSjly);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除硬探针、软探针
|
||||
*
|
||||
*
|
||||
* @param ids 需要删除的硬探针、软探针主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcSjlyByIds(Long[] ids)
|
||||
{
|
||||
public int deleteTcSjlyByIds(Long[] ids) {
|
||||
return tcSjlyMapper.deleteTcSjlyByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除硬探针、软探针信息
|
||||
*
|
||||
*
|
||||
* @param id 硬探针、软探针主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcSjlyById(Long id)
|
||||
{
|
||||
public int deleteTcSjlyById(Long id) {
|
||||
return tcSjlyMapper.deleteTcSjlyById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String importUser(List<TcSjly> tcSjlyList) {
|
||||
StringBuilder successMsg = new StringBuilder();
|
||||
if (!tcSjlyList.isEmpty()) {
|
||||
for (TcSjly tcSjly : tcSjlyList) {
|
||||
tcSjlyMapper.insertTcSjly(tcSjly);
|
||||
}
|
||||
successMsg.append("导入成功");
|
||||
}
|
||||
return successMsg.toString();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue