liulingling.177216
2024-08-26 349f1cfc5fa77fbc636d542df0d8050fddec48c2
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.dingzhuo.energy.project.reportForm.service.impl;
 
import java.util.List;
import com.dingzhuo.energy.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.dingzhuo.energy.project.reportForm.mapper.consolidatedStatementsMapper;
import com.dingzhuo.energy.project.reportForm.domain.consolidatedStatements;
import com.dingzhuo.energy.project.reportForm.service.IconsolidatedStatementsService;
 
/**
 * 焦化工序综合报表Service业务层处理
 * 
 * @author sys
 * @date 2021-01-15
 */
@Service
public class consolidatedStatementsServiceImpl implements IconsolidatedStatementsService 
{
    @Autowired
    private consolidatedStatementsMapper consolidatedStatementsMapper;
 
    /**
     * 查询焦化工序综合报表
     * 
     * @param id 焦化工序综合报表ID
     * @return 焦化工序综合报表
     */
    @Override
    public consolidatedStatements selectconsolidatedStatementsById(String id)
    {
        return consolidatedStatementsMapper.selectconsolidatedStatementsById(id);
    }
 
    /**
     * 查询焦化工序综合报表列表
     * 
     * @param consolidatedStatements 焦化工序综合报表
     * @return 焦化工序综合报表
     */
    @Override
    public List<consolidatedStatements> selectconsolidatedStatementsList(consolidatedStatements consolidatedStatements)
    {
        return consolidatedStatementsMapper.selectconsolidatedStatementsList(consolidatedStatements);
    }
 
    /**
     * 新增焦化工序综合报表
     * 
     * @param consolidatedStatements 焦化工序综合报表
     * @return 结果
     */
    @Override
    public int insertconsolidatedStatements(consolidatedStatements consolidatedStatements)
    {
        consolidatedStatements.setCreateTime(DateUtils.getNowDate());
        return consolidatedStatementsMapper.insertconsolidatedStatements(consolidatedStatements);
    }
 
    /**
     * 修改焦化工序综合报表
     * 
     * @param consolidatedStatements 焦化工序综合报表
     * @return 结果
     */
    @Override
    public int updateconsolidatedStatements(consolidatedStatements consolidatedStatements)
    {
        consolidatedStatements.setUpdateTime(DateUtils.getNowDate());
        return consolidatedStatementsMapper.updateconsolidatedStatements(consolidatedStatements);
    }
 
    /**
     * 批量删除焦化工序综合报表
     * 
     * @param ids 需要删除的焦化工序综合报表ID
     * @return 结果
     */
    @Override
    public int deleteconsolidatedStatementsByIds(String[] ids)
    {
        return consolidatedStatementsMapper.deleteconsolidatedStatementsByIds(ids);
    }
 
    /**
     * 删除焦化工序综合报表信息
     * 
     * @param id 焦化工序综合报表ID
     * @return 结果
     */
    @Override
    public int deleteconsolidatedStatementsById(String id)
    {
        return consolidatedStatementsMapper.deleteconsolidatedStatementsById(id);
    }
}