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
package com.gx.obe.server.management.boq.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gx.obe.server.management.boq.entity.ObeConstructProject;
import com.gx.obe.server.management.vo.AnalyzeDataSource;
import java.util.List;
/**
* @Description:
* @author mazc
*/
public interface ObeConstructProjectService extends IService<ObeConstructProject> {
/**
* @Description: 批量更新
* @author mazc
* @param ObeConstructProjectList
*/
Integer updateByBatch(List<ObeConstructProject> ObeConstructProjectList);
/**
* @Description: 批量插入
* @author mazc
* @param ObeConstructProjectList
*/
Integer insertByBatch(List<ObeConstructProject> ObeConstructProjectList);
/**
* @Description: 指定字段修改
* @author chenxw
* @param ObeConstructProject
* @param attributes
*/
boolean updateAssignProperty(ObeConstructProject ObeConstructProject, String[] attributes);
/**
* @Description: 批量指定字段修改
* @author chenxw
* @param ObeConstructProjectList
* @param attributes
*/
Integer batchUpdateProperty(List<ObeConstructProject> ObeConstructProjectList, String[] attributes);
/**
* @Description: 批量添加或跟新
* @author chenxw
* @param ObeConstructProjectList
* @param attributes
* @return
*/
Integer batchSaveOrUpdate(List<ObeConstructProject> ObeConstructProjectList, String[] attributes);
/**
* @Description: 删除所有清单内容
* @param tenderId
* @return
*/
Integer deleteAllConstructProjectDetail(String tenderId);
/**
* @Description: 保存工程项目及明细
* @author mazc
* @param analyzeDataSource
* @return
*/
boolean saveConstructProjectDetail(AnalyzeDataSource analyzeDataSource);
/**
* @param tenderId
* @param supplierId
* @return
* @Description: 根据项目Id和供应商Id,获得工程信息(包括单项和单位工程)。
* @author guoyr
*/
ObeConstructProject getAllConstructProject(String tenderId, String supplierId);
}