chenlu
2025-05-23 ec976e88774d138236c09273705cb948a6e7a25f
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
package com.example.erp.mapper.pp;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.erp.entity.pp.FlowCard;
import com.example.erp.entity.sd.OrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.sql.Date;
import java.util.List;
import java.util.Map;
 
/**
 * @author SNG-016
 */
@Mapper
public interface FlowCardMapper extends BaseMapper<FlowCard> {
    //流程卡管理查询
    List<FlowCard> selectFlowCard(Integer offset, Integer pageSize, String selectTime1, String selectTime2, FlowCard flowCard);
 
    //分页查询
    Map<String, Integer> getPageTotal(Integer offset, Integer pageSize, String selectTime1, String selectTime2, FlowCard flowCard);
 
    //分架数据查询
    List<FlowCard> selectFlowCardMp(Date selectTime1, Date selectTime2, FlowCard flowCard);
 
    //分架明细查询
    List<Map<String, String>> detailsSelectMp(String orderId, FlowCard flowCard);
 
    //删除流程卡
    Boolean deleteFlowCardMp(String orderId, String processId);
 
    //分架新增明细查询
    List<Map<String, String>> selectNoCardMp(String orderId, String productionId, FlowCard flowCard);
 
    //修改排版状态
    Boolean updateLayoutStatusMp(String processId,Integer state);
 
    Integer selectLayoutStatus(String processId);
 
    //查询报工表内是否存在对应流程卡的数据
    Integer reportingWorkCount(String processId);
 
    Integer reportingWorkCountByOrderId(String orderId);
 
    //插入Flow_card表
    Boolean addFlowCardMp(String processId, Integer orderNumber, Integer landingSequence, Integer quantity, String productionId, String userName, Integer layer);
 
    Boolean updateFlowState(String productionId, Integer orderNumber);
 
    Integer selectFlowCount(String orderId);
 
 
    Boolean updateProcessingCard(String productionId, int state);
 
    Boolean updateDeleteState(String orderId, String processId);
 
    List<FlowCard> selectOkSchedulingMp(String selectTime1, String selectTime2, String orderId, String processes, FlowCard flowCard);
 
    List<FlowCard> selectNoSchedulingMp(String selectTime1, String selectTime2, String orderId, String processes, FlowCard flowCard);
 
    List<Map<String, String>> selectLastSchedulingMp(String selectTime1, String selectTime2, FlowCard flowCard);
 
    Integer selectLayer(String productionId, Integer orderNumber);
 
 
    Integer selectFlowCardCount(String orderId);
 
    List<Map<String, String>> flowCardDetailMp(String processId, FlowCard flowCard);
 
    Boolean deleteReportingWork(String processId);
    Boolean deleteReportingWorkByOrderId(String orderId);
 
    List<Map<String, String>> selectPrintFlowCardMp(Date selectTime1, Date selectTime2, String orderId, String project, Integer state, FlowCard flowCard);
 
    List<Map<String, String>> selectPrintFlowCard(Date selectTime1, Date selectTime2);
 
    List<Map<String, String>> selectPrintMp(String orderId);
 
    List<Map<String, String>> getPrimaryList(String processId, String technologyNumber, String glassChild, String process, String orderId);
 
    List<Map<String, String>> getPrimaryLists(String processId, String technologyNumber, String glassChild, String process, String orderId,Integer quantity);
 
    List<Map<String, Object>> getDetailList(String processId, String technologyNumber, String process);
 
    List<Map<String, Object>> getDetailLists(String processId, String technologyNumber, String process,Integer orderNumber);
 
    List<Map<String, Object>> getProcessList(String processId, String technologyNumber);
 
    Boolean updateInventory(String processId, String orderNumber, String technologyNumber, Integer completedQuantity);
 
    Boolean updateComposing(String processId);
 
    Boolean updateProcessCardRack(String processId,String technologyNumber,String rack);
 
    List<Map<String, String>> getPrintLabel(String projectNo);
 
    List<Map<String, String>> getPrintLabel2(String projectNo);
 
    List<Map<String, String>> getPrintLabel1(String processId,String technologyNumber);
 
    List<Map<String, String>> getPrintLabelDetail(@Param("flowCard") FlowCard flowCard);
 
    List<Map<String, String>> printFlowCardDetailsMp(String processId, String technologyNumber, String process, FlowCard flowCard);
 
    Boolean printSortMp(String processId, Integer orderNumber, String technologyNumber, Integer sort);
 
    List<Map<String,String>> selectType();
 
    List<Map<String, Object>> getPrintTitle(String type);
 
    List<Map<String, Object>> getCustomLabelDetailMp(String name, String form, String id, FlowCard flowCard);
 
    List<Map<String, Object>>  getPrintCustomData(String processId, Integer orderNumber);
 
    List<Map<String, Object>>  getPrintCustomData2(String processId);
 
    Integer getPrintLabelCount(String processId, String technologyNumber);
 
    List<Map<String, String>> selectReplenishPrintMp(Date selectTime1, Date selectTime2, FlowCard flowCard);
 
    List<Map<String, Object>> getRepairPrintCustomData(String processId, String technologyNumber, String reportingWorkId, Integer orderNumber);
 
    List<Map<String, Object>> getGlassNumber(String technologyNumber, String processId);
 
    Boolean updatePrintStateMp(Integer printState, String processId, String technologyNumber);
 
    List<Map<String, String>> printFlowCardOrderSortMp(String orderId, FlowCard flowCard);
 
    Boolean printOrderSortMp(String processId, Integer orderNumber, String technologyNumber, Integer sort);
 
    List<Map<String, String>> getPrimaryListMerge(String processId, String technologyNumber, String orderId);
 
    List<Map<String, String>> selectorderOtherMoney();
 
    List<Map<String, String>> selectReworkPrintMp(Date selectTime1, Date selectTime2, FlowCard flowCard);
 
    List<Map<String, Object>> getDetailListLike(String processId, String technologyNumber, String process);
 
    List<Map<String, Object>> getDetailListMerge(String processId, String process);
 
    List<Map<String, Object>> getDetailListLikes(String processId, String technologyNumber, String process,String printProject,Integer quantity);
 
    List<Map<String, String>> getPrimaryListMergeRefund(String processId, String technologyNumber, Integer orderNumber, String orderId);
 
    List<Map<String, Object>> getDetailListRefund(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId, String patchReason);
 
    List<Map<String, String>> getPrimaryListRefund(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId, String mergeTechnologyNumber, String patchReason, String orderId);
 
    List<Map<String, Object>> getDetailListLikeRefund(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId);
 
    List<Map<String, Object>> getPrimaryListRework(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId, String orderId);
 
    List<Map<String, Object>> getDetailListRework(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId);
 
    List<Map<String, Object>> getPrimaryListMergeRework(String processId, String printMerge, Integer orderNumber, String orderId);
 
    List<Map<String, Object>> getDetailListLikeRework(String processId, String printMerge, Integer orderNumber, String reportingWorkId);
 
    List<Map<String, Object>> getPrintCustomDataSemi(String processId, String technologyNumber, String process);
 
    List<Map<String, String>> selectPrintNotMp(String orderId);
 
    List<Map<String, String>> selectPrintNotMergeMp(String orderId);
 
    List<Map<String, String>> getRepairPrintCustomDataSemi(String processId, String technologyNumber, String reportingWorkId, Integer orderNumber);
 
    List<Map<String, String>> selectPrintAllMp(String orderId);
 
    Boolean printAddSortMp(String processId, Integer orderNumber, String technologyNumber, Integer sort, String process);
 
    Integer printAddSortCountMp(String processId, Integer orderNumber, String technologyNumber, Integer sort, String process);
 
    Boolean printUpdateSortMp(String processId, Integer orderNumber, String technologyNumber, Integer sort, String process);
 
    List<Map<String, String>> getPrimaryListLimt(String processId, String technologyNumber, String glassChild, String process, String orderId);
 
    List<Map<String, String>> selectPrintDetailsMp(String orderId);
 
    List<Map<String, String>> selectPrintDetailsMp1(String orderId);
 
    List<Map<String, Object>> getPrintCustomDataDetails(String processId, Integer orderNumber, Integer printQuantity);
 
    List<Map<String, Object>> getPrintCustomDataProjectNo(String projectNo);
 
    String selectUserMp(String userId);
 
    List<Map<String, Object>> selectSortTableMp(String orderId);
 
    String countFlowCard(String orderId);
 
    List<Map<String, Object>> remakList(String processId);
 
    List<Map<String, Object>> selectMaxFlowCard(String orderId, String productionId);
 
    List<Map<String, Object>> selectFlowCardMerge(String processId);
 
    Boolean updateFlowCardMerge(String processId,List<Integer> technologyNumbers,Integer index);
 
    Boolean deleteflowCardSort(String orderId, String processId);
    Boolean deleteflowCardSortByOrderId(String orderId);
 
    List<Map<String, Object>> getPrintProjectDetailsMp(String projectNo);
 
    List<Map<String, Object>> getPrintCustomDataProjectDetail(String projectNo, String stockId);
 
    List<Map<String, Object>> getPrintCustomDataProject(String projectNo);
 
    List<Map<String, String>> getPrintLabel3(String projectNo);
 
    Boolean updateProcessMp(String processId, String technologyNumber, String process, String number);
 
    Boolean deleteProcessMp(String processId, String technologyNumber);
 
    Boolean updateOrderProcessMp(String orderId, String number, String technologyNumber, String orderprocess);
 
    List<FlowCard> getFlowCardListPrintProject(String printProject);
 
    Integer updateProjectLabelPrintCount(String projectNo);
 
    Integer selectProjectLabelPrintCount(String projectNo);
 
    Integer updateProjectProcessPrintCount(String projectNo);
 
    Integer selectProjectProcessPrintCount(String projectNo);
 
    int flowCardToOptimizeCount(String orderId);
 
    List<Map<String, Object>> getFlowCardDetail(String processId);
 
    Map<String,Object> getGlassThicknessByProdutionId(String orderId,String productionId);
 
    List<OrderDetail>  getOrderDetailByProductionId(String orderId, String productionId, String type, Float inLenMax, Float inLenMin, Float inShortMax, Float inShortMin, Float glassThickness);
 
    Boolean revokeComposing(String processId);
 
    Integer selectProjectNo(String processId);
 
    List<Map<String, String>> selectPrintDetailsMp2(String orderId);
 
    List<Map<String, Object>> getPrintOrderDataDetails(String orderId, Integer orderNumber, Integer printQuantity);
 
    Boolean updatePrintNumberMp(String processId, Integer orderNumber);
 
    String getOrderIdByProcessId(String processId);
 
    Boolean updateFlowCardIsMerge(String processId);
 
    Integer flowCardDetailMergeMp(String processId);
 
    String getProcessName(String processSub);
 
    List<Map<String, Object>> getProcessNameList();
}