package com.aps.core.service.impl; import java.util.List; import com.aps.common.core.utils.DateUtils; import com.aps.common.core.utils.uuid.IdUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.aps.core.mapper.ApsGasPipingPlanTempMapper; import com.aps.core.domain.ApsGasPipingPlanTemp; import com.aps.core.service.IApsGasPipingPlanTempService; /** * 气体管路计划管理-临时Service业务层处理 * * @author wwj * @date 2025-04-09 */ @Service public class ApsGasPipingPlanTempServiceImpl implements IApsGasPipingPlanTempService { @Autowired private ApsGasPipingPlanTempMapper apsGasPipingPlanTempMapper; /** * 查询气体管路计划管理-临时 * * @param id 气体管路计划管理-临时主键 * @return 气体管路计划管理-临时 */ @Override public ApsGasPipingPlanTemp selectApsGasPipingPlanTempById(String id) { return apsGasPipingPlanTempMapper.selectApsGasPipingPlanTempById(id); } /** * 查询气体管路计划管理-临时列表 * * @param apsGasPipingPlanTemp 气体管路计划管理-临时 * @return 气体管路计划管理-临时 */ @Override public List selectApsGasPipingPlanTempList(ApsGasPipingPlanTemp apsGasPipingPlanTemp) { return apsGasPipingPlanTempMapper.selectApsGasPipingPlanTempList(apsGasPipingPlanTemp); } /** * 新增气体管路计划管理-临时 * * @param apsGasPipingPlanTemp 气体管路计划管理-临时 * @return 结果 */ @Override public int insertApsGasPipingPlanTemp(ApsGasPipingPlanTemp apsGasPipingPlanTemp) { apsGasPipingPlanTemp.setId(IdUtils.fastUUID()); apsGasPipingPlanTemp.setCreateTime(DateUtils.getNowDate()); return apsGasPipingPlanTempMapper.insertApsGasPipingPlanTemp(apsGasPipingPlanTemp); } /** * 修改气体管路计划管理-临时 * * @param apsGasPipingPlanTemp 气体管路计划管理-临时 * @return 结果 */ @Override public int updateApsGasPipingPlanTemp(ApsGasPipingPlanTemp apsGasPipingPlanTemp) { return apsGasPipingPlanTempMapper.updateApsGasPipingPlanTemp(apsGasPipingPlanTemp); } /** * 批量删除气体管路计划管理-临时 * * @param ids 需要删除的气体管路计划管理-临时主键 * @return 结果 */ @Override public int deleteApsGasPipingPlanTempByIds(String[] ids) { return apsGasPipingPlanTempMapper.deleteApsGasPipingPlanTempByIds(ids); } /** * 删除气体管路计划管理-临时信息 * * @param id 气体管路计划管理-临时主键 * @return 结果 */ @Override public int deleteApsGasPipingPlanTempById(String id) { return apsGasPipingPlanTempMapper.deleteApsGasPipingPlanTempById(id); } }