admin
2024-10-15 6d313a4a6f9f9d7ea65ec50ab0d4491e595edb97
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
99
100
101
102
package com.jcdm.main.bs.formulaChildInfoTemp.service.impl;
 
import java.util.List;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jcdm.common.utils.DateUtils;
import com.jcdm.main.bs.lineInfo.domain.BsLineInfo;
import com.jcdm.main.bs.lineInfo.mapper.BsLineInfoMapper;
import com.jcdm.main.bs.lineInfo.service.IBsLineInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.jcdm.main.bs.formulaChildInfoTemp.mapper.BsFormulaChildInfoTempMapper;
import com.jcdm.main.bs.formulaChildInfoTemp.domain.BsFormulaChildInfoTemp;
import com.jcdm.main.bs.formulaChildInfoTemp.service.IBsFormulaChildInfoTempService;
 
/**
 * 配方配置子信息-备份Service业务层处理
 * 
 * @author Yi
 * @date 2024-07-15
 */
@Service
public class BsFormulaChildInfoTempServiceImpl extends ServiceImpl<BsFormulaChildInfoTempMapper, BsFormulaChildInfoTemp> implements IBsFormulaChildInfoTempService
{
    @Autowired
    private BsFormulaChildInfoTempMapper bsFormulaChildInfoTempMapper;
 
    /**
     * 查询配方配置子信息-备份
     * 
     * @param id 配方配置子信息-备份主键
     * @return 配方配置子信息-备份
     */
    @Override
    public BsFormulaChildInfoTemp selectBsFormulaChildInfoTempById(Long id)
    {
        return bsFormulaChildInfoTempMapper.selectBsFormulaChildInfoTempById(id);
    }
 
    /**
     * 查询配方配置子信息-备份列表
     * 
     * @param bsFormulaChildInfoTemp 配方配置子信息-备份
     * @return 配方配置子信息-备份
     */
    @Override
    public List<BsFormulaChildInfoTemp> selectBsFormulaChildInfoTempList(BsFormulaChildInfoTemp bsFormulaChildInfoTemp)
    {
        return bsFormulaChildInfoTempMapper.selectBsFormulaChildInfoTempList(bsFormulaChildInfoTemp);
    }
 
    /**
     * 新增配方配置子信息-备份
     * 
     * @param bsFormulaChildInfoTemp 配方配置子信息-备份
     * @return 结果
     */
    @Override
    public int insertBsFormulaChildInfoTemp(BsFormulaChildInfoTemp bsFormulaChildInfoTemp)
    {
        bsFormulaChildInfoTemp.setCreateTime(DateUtils.getNowDate());
        return bsFormulaChildInfoTempMapper.insertBsFormulaChildInfoTemp(bsFormulaChildInfoTemp);
    }
 
    /**
     * 修改配方配置子信息-备份
     * 
     * @param bsFormulaChildInfoTemp 配方配置子信息-备份
     * @return 结果
     */
    @Override
    public int updateBsFormulaChildInfoTemp(BsFormulaChildInfoTemp bsFormulaChildInfoTemp)
    {
        bsFormulaChildInfoTemp.setUpdateTime(DateUtils.getNowDate());
        return bsFormulaChildInfoTempMapper.updateBsFormulaChildInfoTemp(bsFormulaChildInfoTemp);
    }
 
    /**
     * 批量删除配方配置子信息-备份
     * 
     * @param ids 需要删除的配方配置子信息-备份主键
     * @return 结果
     */
    @Override
    public int deleteBsFormulaChildInfoTempByIds(Long[] ids)
    {
        return bsFormulaChildInfoTempMapper.deleteBsFormulaChildInfoTempByIds(ids);
    }
 
    /**
     * 删除配方配置子信息-备份信息
     * 
     * @param id 配方配置子信息-备份主键
     * @return 结果
     */
    @Override
    public int deleteBsFormulaChildInfoTempById(Long id)
    {
        return bsFormulaChildInfoTempMapper.deleteBsFormulaChildInfoTempById(id);
    }
}