package com.aps.core.service.impl;
|
|
import java.util.List;
|
import com.aps.common.core.utils.DateUtils;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
import com.aps.core.mapper.ApsProfessionalFixedCycleManagementMapper;
|
import com.aps.core.domain.ApsProfessionalFixedCycleManagement;
|
import com.aps.core.service.IApsProfessionalFixedCycleManagementService;
|
|
/**
|
* 专业固定周期管理Service业务层处理
|
*
|
* @author ruoyi
|
* @date 2025-04-21
|
*/
|
@Service
|
public class ApsProfessionalFixedCycleManagementServiceImpl implements IApsProfessionalFixedCycleManagementService
|
{
|
@Autowired
|
private ApsProfessionalFixedCycleManagementMapper apsProfessionalFixedCycleManagementMapper;
|
|
/**
|
* 查询专业固定周期管理
|
*
|
* @param id 专业固定周期管理主键
|
* @return 专业固定周期管理
|
*/
|
@Override
|
public ApsProfessionalFixedCycleManagement selectApsProfessionalFixedCycleManagementById(String id)
|
{
|
return apsProfessionalFixedCycleManagementMapper.selectApsProfessionalFixedCycleManagementById(id);
|
}
|
|
/**
|
* 查询专业固定周期管理列表
|
*
|
* @param apsProfessionalFixedCycleManagement 专业固定周期管理
|
* @return 专业固定周期管理
|
*/
|
@Override
|
public List<ApsProfessionalFixedCycleManagement> selectApsProfessionalFixedCycleManagementList(ApsProfessionalFixedCycleManagement apsProfessionalFixedCycleManagement)
|
{
|
return apsProfessionalFixedCycleManagementMapper.selectApsProfessionalFixedCycleManagementList(apsProfessionalFixedCycleManagement);
|
}
|
|
/**
|
* 新增专业固定周期管理
|
*
|
* @param apsProfessionalFixedCycleManagement 专业固定周期管理
|
* @return 结果
|
*/
|
@Override
|
public int insertApsProfessionalFixedCycleManagement(ApsProfessionalFixedCycleManagement apsProfessionalFixedCycleManagement)
|
{
|
apsProfessionalFixedCycleManagement.setCreateTime(DateUtils.getNowDate());
|
return apsProfessionalFixedCycleManagementMapper.insertApsProfessionalFixedCycleManagement(apsProfessionalFixedCycleManagement);
|
}
|
|
/**
|
* 修改专业固定周期管理
|
*
|
* @param apsProfessionalFixedCycleManagement 专业固定周期管理
|
* @return 结果
|
*/
|
@Override
|
public int updateApsProfessionalFixedCycleManagement(ApsProfessionalFixedCycleManagement apsProfessionalFixedCycleManagement)
|
{
|
apsProfessionalFixedCycleManagement.setUpdateTime(DateUtils.getNowDate());
|
return apsProfessionalFixedCycleManagementMapper.updateApsProfessionalFixedCycleManagement(apsProfessionalFixedCycleManagement);
|
}
|
|
/**
|
* 批量删除专业固定周期管理
|
*
|
* @param ids 需要删除的专业固定周期管理主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteApsProfessionalFixedCycleManagementByIds(String[] ids)
|
{
|
return apsProfessionalFixedCycleManagementMapper.deleteApsProfessionalFixedCycleManagementByIds(ids);
|
}
|
|
/**
|
* 删除专业固定周期管理信息
|
*
|
* @param id 专业固定周期管理主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteApsProfessionalFixedCycleManagementById(String id)
|
{
|
return apsProfessionalFixedCycleManagementMapper.deleteApsProfessionalFixedCycleManagementById(id);
|
}
|
}
|