zhanghl
2025-05-08 2ea0bf5d81f21edc01d9580e3535981f43211b37
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
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<ApsGasPipingPlanTemp> 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);
    }
}