活动信息视频管理功能开发
This commit is contained in:
parent
f2e1212c52
commit
264d6f94dc
|
|
@ -0,0 +1,62 @@
|
|||
package com.dkl.large.service;
|
||||
|
||||
import com.dkl.large.domain.DklSupervise;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 督办信息Service接口
|
||||
*
|
||||
* @author Dkl
|
||||
* @date 2025-11-03
|
||||
*/
|
||||
public interface IDklSuperviseService
|
||||
{
|
||||
/**
|
||||
* 查询督办信息
|
||||
*
|
||||
* @param id 督办信息主键
|
||||
* @return 督办信息
|
||||
*/
|
||||
public DklSupervise selectDklSuperviseById(Long id);
|
||||
|
||||
/**
|
||||
* 查询督办信息列表
|
||||
*
|
||||
* @param dklSupervise 督办信息
|
||||
* @return 督办信息集合
|
||||
*/
|
||||
public List<DklSupervise> selectDklSuperviseList(DklSupervise dklSupervise);
|
||||
|
||||
/**
|
||||
* 新增督办信息
|
||||
*
|
||||
* @param dklSupervise 督办信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDklSupervise(DklSupervise dklSupervise);
|
||||
|
||||
/**
|
||||
* 修改督办信息
|
||||
*
|
||||
* @param dklSupervise 督办信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDklSupervise(DklSupervise dklSupervise);
|
||||
|
||||
/**
|
||||
* 批量删除督办信息
|
||||
*
|
||||
* @param ids 需要删除的督办信息主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDklSuperviseByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除督办信息信息
|
||||
*
|
||||
* @param id 督办信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDklSuperviseById(Long id);
|
||||
}
|
||||
|
|
@ -0,0 +1,97 @@
|
|||
package com.dkl.large.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.dkl.common.utils.DateUtils;
|
||||
import com.dkl.large.domain.DklSupervise;
|
||||
import com.dkl.large.mapper.DklSuperviseMapper;
|
||||
import com.dkl.large.service.IDklSuperviseService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
||||
/**
|
||||
* 督办信息Service业务层处理
|
||||
*
|
||||
* @author Dkl
|
||||
* @date 2025-11-03
|
||||
*/
|
||||
@Service
|
||||
public class DklSuperviseServiceImpl implements IDklSuperviseService
|
||||
{
|
||||
@Autowired
|
||||
private DklSuperviseMapper dklSuperviseMapper;
|
||||
|
||||
/**
|
||||
* 查询督办信息
|
||||
*
|
||||
* @param id 督办信息主键
|
||||
* @return 督办信息
|
||||
*/
|
||||
@Override
|
||||
public DklSupervise selectDklSuperviseById(Long id)
|
||||
{
|
||||
return dklSuperviseMapper.selectDklSuperviseById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询督办信息列表
|
||||
*
|
||||
* @param dklSupervise 督办信息
|
||||
* @return 督办信息
|
||||
*/
|
||||
@Override
|
||||
public List<DklSupervise> selectDklSuperviseList(DklSupervise dklSupervise)
|
||||
{
|
||||
return dklSuperviseMapper.selectDklSuperviseList(dklSupervise);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增督办信息
|
||||
*
|
||||
* @param dklSupervise 督办信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertDklSupervise(DklSupervise dklSupervise)
|
||||
{
|
||||
dklSupervise.setCreateTime(DateUtils.getNowDate());
|
||||
return dklSuperviseMapper.insertDklSupervise(dklSupervise);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改督办信息
|
||||
*
|
||||
* @param dklSupervise 督办信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateDklSupervise(DklSupervise dklSupervise)
|
||||
{
|
||||
dklSupervise.setUpdateTime(DateUtils.getNowDate());
|
||||
return dklSuperviseMapper.updateDklSupervise(dklSupervise);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除督办信息
|
||||
*
|
||||
* @param ids 需要删除的督办信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDklSuperviseByIds(Long[] ids)
|
||||
{
|
||||
return dklSuperviseMapper.deleteDklSuperviseByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除督办信息信息
|
||||
*
|
||||
* @param id 督办信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteDklSuperviseById(Long id)
|
||||
{
|
||||
return dklSuperviseMapper.deleteDklSuperviseById(id);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue