提交 | 用户 | 时间
|
c9c156
|
1 |
package com.jcdm.main.da.paramCollectionTemp.service.impl; |
A |
2 |
|
|
3 |
import java.util.List; |
|
4 |
|
|
5 |
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
6 |
import com.jcdm.common.utils.DateUtils; |
|
7 |
import com.jcdm.main.da.paramCollection.domain.DaParamCollection; |
|
8 |
import com.jcdm.main.da.paramCollection.mapper.DaParamCollectionMapper; |
|
9 |
import com.jcdm.main.da.paramCollection.service.IDaParamCollectionService; |
|
10 |
import org.springframework.beans.factory.annotation.Autowired; |
|
11 |
import org.springframework.stereotype.Service; |
|
12 |
import com.jcdm.main.da.paramCollectionTemp.mapper.DaParamCollectionTempMapper; |
|
13 |
import com.jcdm.main.da.paramCollectionTemp.domain.DaParamCollectionTemp; |
|
14 |
import com.jcdm.main.da.paramCollectionTemp.service.IDaParamCollectionTempService; |
|
15 |
|
|
16 |
/** |
|
17 |
* 设备产品过程参数采集临时表Service业务层处理 |
|
18 |
* |
|
19 |
* @author Yi |
|
20 |
* @date 2024-06-13 |
|
21 |
*/ |
|
22 |
@Service |
|
23 |
public class DaParamCollectionTempServiceImpl extends ServiceImpl<DaParamCollectionTempMapper, DaParamCollectionTemp> implements IDaParamCollectionTempService |
|
24 |
{ |
|
25 |
@Autowired |
|
26 |
private DaParamCollectionTempMapper daParamCollectionTempMapper; |
|
27 |
|
|
28 |
/** |
|
29 |
* 查询设备产品过程参数采集临时表 |
|
30 |
* |
|
31 |
* @param id 设备产品过程参数采集临时表主键 |
|
32 |
* @return 设备产品过程参数采集临时表 |
|
33 |
*/ |
|
34 |
@Override |
|
35 |
public DaParamCollectionTemp selectDaParamCollectionTempById(Long id) |
|
36 |
{ |
|
37 |
return daParamCollectionTempMapper.selectDaParamCollectionTempById(id); |
|
38 |
} |
|
39 |
|
|
40 |
/** |
|
41 |
* 查询设备产品过程参数采集临时表列表 |
|
42 |
* |
|
43 |
* @param daParamCollectionTemp 设备产品过程参数采集临时表 |
|
44 |
* @return 设备产品过程参数采集临时表 |
|
45 |
*/ |
|
46 |
@Override |
|
47 |
public List<DaParamCollectionTemp> selectDaParamCollectionTempList(DaParamCollectionTemp daParamCollectionTemp) |
|
48 |
{ |
|
49 |
return daParamCollectionTempMapper.selectDaParamCollectionTempList(daParamCollectionTemp); |
|
50 |
} |
|
51 |
|
|
52 |
/** |
|
53 |
* 新增设备产品过程参数采集临时表 |
|
54 |
* |
|
55 |
* @param daParamCollectionTemp 设备产品过程参数采集临时表 |
|
56 |
* @return 结果 |
|
57 |
*/ |
|
58 |
@Override |
|
59 |
public int insertDaParamCollectionTemp(DaParamCollectionTemp daParamCollectionTemp) |
|
60 |
{ |
|
61 |
daParamCollectionTemp.setCreateTime(DateUtils.getNowDate()); |
|
62 |
return daParamCollectionTempMapper.insertDaParamCollectionTemp(daParamCollectionTemp); |
|
63 |
} |
|
64 |
|
|
65 |
/** |
|
66 |
* 修改设备产品过程参数采集临时表 |
|
67 |
* |
|
68 |
* @param daParamCollectionTemp 设备产品过程参数采集临时表 |
|
69 |
* @return 结果 |
|
70 |
*/ |
|
71 |
@Override |
|
72 |
public int updateDaParamCollectionTemp(DaParamCollectionTemp daParamCollectionTemp) |
|
73 |
{ |
|
74 |
daParamCollectionTemp.setUpdateTime(DateUtils.getNowDate()); |
|
75 |
return daParamCollectionTempMapper.updateDaParamCollectionTemp(daParamCollectionTemp); |
|
76 |
} |
|
77 |
|
|
78 |
/** |
|
79 |
* 批量删除设备产品过程参数采集临时表 |
|
80 |
* |
|
81 |
* @param ids 需要删除的设备产品过程参数采集临时表主键 |
|
82 |
* @return 结果 |
|
83 |
*/ |
|
84 |
@Override |
|
85 |
public int deleteDaParamCollectionTempByIds(Long[] ids) |
|
86 |
{ |
|
87 |
return daParamCollectionTempMapper.deleteDaParamCollectionTempByIds(ids); |
|
88 |
} |
|
89 |
|
2fbce7
|
90 |
@Override |
A |
91 |
public int deleteDaParamCollectionTempBySfcCodeAndLocationCode(DaParamCollectionTemp daParamCollectionTemp) { |
|
92 |
return daParamCollectionTempMapper.deleteDaParamCollectionTempBySfcCodeAndLocationCode(daParamCollectionTemp); |
|
93 |
} |
|
94 |
|
c9c156
|
95 |
/** |
A |
96 |
* 删除设备产品过程参数采集临时表信息 |
|
97 |
* |
|
98 |
* @param id 设备产品过程参数采集临时表主键 |
|
99 |
* @return 结果 |
|
100 |
*/ |
|
101 |
@Override |
|
102 |
public int deleteDaParamCollectionTempById(Long id) |
|
103 |
{ |
|
104 |
return daParamCollectionTempMapper.deleteDaParamCollectionTempById(id); |
|
105 |
} |
|
106 |
} |