package com.aps.core.service.impl;
|
|
import java.util.List;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
import com.aps.core.mapper.ApsPlatePlanMapper;
|
import com.aps.core.domain.ApsPlatePlan;
|
import com.aps.core.service.IApsPlatePlanService;
|
|
/**
|
* 钣金计划管理Service业务层处理
|
*
|
* @author ruoyi
|
* @date 2025-04-08
|
*/
|
@Service
|
public class ApsPlatePlanServiceImpl implements IApsPlatePlanService
|
{
|
@Autowired
|
private ApsPlatePlanMapper apsPlatePlanMapper;
|
|
/**
|
* 查询钣金计划管理
|
*
|
* @param id 钣金计划管理主键
|
* @return 钣金计划管理
|
*/
|
@Override
|
public ApsPlatePlan selectApsPlatePlanById(String id)
|
{
|
return apsPlatePlanMapper.selectApsPlatePlanById(id);
|
}
|
|
/**
|
* 查询钣金计划管理列表
|
*
|
* @param apsPlatePlan 钣金计划管理
|
* @return 钣金计划管理
|
*/
|
@Override
|
public List<ApsPlatePlan> selectApsPlatePlanList(ApsPlatePlan apsPlatePlan)
|
{
|
return apsPlatePlanMapper.selectApsPlatePlanList(apsPlatePlan);
|
}
|
|
/**
|
* 新增钣金计划管理
|
*
|
* @param apsPlatePlan 钣金计划管理
|
* @return 结果
|
*/
|
@Override
|
public int insertApsPlatePlan(ApsPlatePlan apsPlatePlan)
|
{
|
return apsPlatePlanMapper.insertApsPlatePlan(apsPlatePlan);
|
}
|
|
/**
|
* 修改钣金计划管理
|
*
|
* @param apsPlatePlan 钣金计划管理
|
* @return 结果
|
*/
|
@Override
|
public int updateApsPlatePlan(ApsPlatePlan apsPlatePlan)
|
{
|
return apsPlatePlanMapper.updateApsPlatePlan(apsPlatePlan);
|
}
|
|
/**
|
* 批量删除钣金计划管理
|
*
|
* @param ids 需要删除的钣金计划管理主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteApsPlatePlanByIds(String[] ids)
|
{
|
return apsPlatePlanMapper.deleteApsPlatePlanByIds(ids);
|
}
|
|
/**
|
* 删除钣金计划管理信息
|
*
|
* @param id 钣金计划管理主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteApsPlatePlanById(String id)
|
{
|
return apsPlatePlanMapper.deleteApsPlatePlanById(id);
|
}
|
}
|