zhanghl
2025-05-06 a51811707c31393a32fa65d973297f4e302fbd66
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
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.ApsPlateStandardRequireMapper;
import com.aps.core.domain.ApsPlateStandardRequire;
import com.aps.core.service.IApsPlateStandardRequireService;
 
/**
 * 钣金工单标准需求Service业务层处理
 * 
 * @author zhl
 * @date 2025-05-06
 */
@Service
public class ApsPlateStandardRequireServiceImpl implements IApsPlateStandardRequireService 
{
    @Autowired
    private ApsPlateStandardRequireMapper apsPlateStandardRequireMapper;
 
    /**
     * 查询钣金工单标准需求
     * 
     * @param id 钣金工单标准需求主键
     * @return 钣金工单标准需求
     */
    @Override
    public ApsPlateStandardRequire selectApsPlateStandardRequireById(Long id)
    {
        return apsPlateStandardRequireMapper.selectApsPlateStandardRequireById(id);
    }
 
    /**
     * 查询钣金工单标准需求列表
     * 
     * @param apsPlateStandardRequire 钣金工单标准需求
     * @return 钣金工单标准需求
     */
    @Override
    public List<ApsPlateStandardRequire> selectApsPlateStandardRequireList(ApsPlateStandardRequire apsPlateStandardRequire)
    {
        return apsPlateStandardRequireMapper.selectApsPlateStandardRequireList(apsPlateStandardRequire);
    }
 
    /**
     * 新增钣金工单标准需求
     * 
     * @param apsPlateStandardRequire 钣金工单标准需求
     * @return 结果
     */
    @Override
    public int insertApsPlateStandardRequire(ApsPlateStandardRequire apsPlateStandardRequire)
    {
        apsPlateStandardRequire.setCreateTime(DateUtils.getNowDate());
        return apsPlateStandardRequireMapper.insertApsPlateStandardRequire(apsPlateStandardRequire);
    }
 
    /**
     * 修改钣金工单标准需求
     * 
     * @param apsPlateStandardRequire 钣金工单标准需求
     * @return 结果
     */
    @Override
    public int updateApsPlateStandardRequire(ApsPlateStandardRequire apsPlateStandardRequire)
    {
        apsPlateStandardRequire.setUpdateTime(DateUtils.getNowDate());
        return apsPlateStandardRequireMapper.updateApsPlateStandardRequire(apsPlateStandardRequire);
    }
 
    /**
     * 批量删除钣金工单标准需求
     * 
     * @param ids 需要删除的钣金工单标准需求主键
     * @return 结果
     */
    @Override
    public int deleteApsPlateStandardRequireByIds(Long[] ids)
    {
        return apsPlateStandardRequireMapper.deleteApsPlateStandardRequireByIds(ids);
    }
 
    /**
     * 删除钣金工单标准需求信息
     * 
     * @param id 钣金工单标准需求主键
     * @return 结果
     */
    @Override
    public int deleteApsPlateStandardRequireById(Long id)
    {
        return apsPlateStandardRequireMapper.deleteApsPlateStandardRequireById(id);
    }
}