|
|
|
@ -3930,6 +3930,7 @@ public class ScheduleServiceImpl implements ScheduleService { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Transactional |
|
|
|
public void otherCreateSplitSfdcRoll(SearchScheduleData inData) { |
|
|
|
List<Object> params = new ArrayList<>(); |
|
|
|
params.add(inData.getSite()); |
|
|
|
@ -4479,7 +4480,8 @@ public class ScheduleServiceImpl implements ScheduleService { |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public void workbenchCreateslittingrollRepackAction(SearchScheduleData scheduleData) { |
|
|
|
@Transactional |
|
|
|
public List<Map<String, Object>> workbenchCreateslittingrollRepackAction(SearchScheduleData scheduleData) { |
|
|
|
List<Object> params = new ArrayList<>(); |
|
|
|
params.add(scheduleData.getSite()); |
|
|
|
params.add(scheduleData.getOrderNo()); |
|
|
|
@ -4489,7 +4491,26 @@ public class ScheduleServiceImpl implements ScheduleService { |
|
|
|
params.add(scheduleData.getRollNo()); |
|
|
|
params.add(scheduleData.getRollCount()); |
|
|
|
params.add(scheduleData.getOperatorId()); |
|
|
|
workbenchCreateslittingrollFqcCheck("workbench_createslittingroll_Repack_action",params); |
|
|
|
Map<String, Object> resultMap = workbenchCreateslittingrollFqcCheck("workbench_createslittingroll_Repack_action",params); |
|
|
|
//获取卷号的信息 |
|
|
|
String rollNos = String.valueOf(resultMap.get("rollNos")); |
|
|
|
String[] rollNoArr = rollNos.split(";"); |
|
|
|
//打印信息的数据 |
|
|
|
List<Map<String, Object>> printList = new ArrayList<>(); |
|
|
|
//循环获取打印的数据 |
|
|
|
for (int i = 0; i < rollNoArr.length; i++){ |
|
|
|
SearchScheduleData tempData = new SearchScheduleData(); |
|
|
|
//设置查询的参数 |
|
|
|
tempData.setSite(scheduleData.getSite()); |
|
|
|
tempData.setOrderNo(scheduleData.getOrderNo()); |
|
|
|
tempData.setRollNo(rollNoArr[i]); |
|
|
|
//查询当前的打印的数据 |
|
|
|
Map<String, Object> printMap = schedulingMapper.getSfdcFlowLabelData(tempData); |
|
|
|
//添加打印的数据 |
|
|
|
printList.add(printMap); |
|
|
|
} |
|
|
|
//返回打印的数据 2022-05-09 |
|
|
|
return printList; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
|