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.ApsPartPlanMapper;
|
import com.aps.core.domain.ApsPartPlan;
|
import com.aps.core.service.IApsPartPlanService;
|
|
/**
|
* 零件计划管理Service业务层处理
|
*
|
* @author wwj
|
* @date 2025-04-08
|
*/
|
@Service
|
public class ApsPartPlanServiceImpl implements IApsPartPlanService
|
{
|
@Autowired
|
private ApsPartPlanMapper apsPartPlanMapper;
|
|
/**
|
* 查询零件计划管理
|
*
|
* @param id 零件计划管理主键
|
* @return 零件计划管理
|
*/
|
@Override
|
public ApsPartPlan selectApsPartPlanById(String id)
|
{
|
return apsPartPlanMapper.selectApsPartPlanById(id);
|
}
|
|
/**
|
* 查询零件计划管理列表
|
*
|
* @param apsPartPlan 零件计划管理
|
* @return 零件计划管理
|
*/
|
@Override
|
public List<ApsPartPlan> selectApsPartPlanList(ApsPartPlan apsPartPlan)
|
{
|
return apsPartPlanMapper.selectApsPartPlanList(apsPartPlan);
|
}
|
|
/**
|
* 新增零件计划管理
|
*
|
* @param apsPartPlan 零件计划管理
|
* @return 结果
|
*/
|
@Override
|
public int insertApsPartPlan(ApsPartPlan apsPartPlan)
|
{
|
return apsPartPlanMapper.insertApsPartPlan(apsPartPlan);
|
}
|
|
/**
|
* 修改零件计划管理
|
*
|
* @param apsPartPlan 零件计划管理
|
* @return 结果
|
*/
|
@Override
|
public int updateApsPartPlan(ApsPartPlan apsPartPlan)
|
{
|
return apsPartPlanMapper.updateApsPartPlan(apsPartPlan);
|
}
|
|
/**
|
* 批量删除零件计划管理
|
*
|
* @param ids 需要删除的零件计划管理主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteApsPartPlanByIds(String[] ids)
|
{
|
return apsPartPlanMapper.deleteApsPartPlanByIds(ids);
|
}
|
|
/**
|
* 删除零件计划管理信息
|
*
|
* @param id 零件计划管理主键
|
* @return 结果
|
*/
|
@Override
|
public int deleteApsPartPlanById(String id)
|
{
|
return apsPartPlanMapper.deleteApsPartPlanById(id);
|
}
|
}
|