|
|
|
@ -313,9 +313,9 @@ public class ProdReadyTaskServiceImpl extends ServiceImpl<ProdReadyTaskMapper, P
|
|
|
|
|
public void doPrint(ProdReadyTask prodReadyTask) {
|
|
|
|
|
String site = CommonMethods.getSite();
|
|
|
|
|
String user = CommonMethods.getUser();
|
|
|
|
|
String dispatchNo = prodReadyTask.getDispatchNo();
|
|
|
|
|
String sfcDispatchBo = prodReadyTask.getSfcDispatchBo();
|
|
|
|
|
SfcDispatchDto sfcDispatchDto=new SfcDispatchDto();
|
|
|
|
|
sfcDispatchDto.setHandle(HandleEnum.SFC_DISPATCH.getHandle(site,dispatchNo));
|
|
|
|
|
sfcDispatchDto.setHandle(sfcDispatchBo);
|
|
|
|
|
sfcDispatchDto = sfcDispatchCommonService.findSfcDispatchBySfc(sfcDispatchDto);
|
|
|
|
|
List<PrintLog> printList=new ArrayList<>();
|
|
|
|
|
List<LabelPrintDto> labelPrintDtoList = new ArrayList<>();
|
|
|
|
@ -354,7 +354,6 @@ public class ProdReadyTaskServiceImpl extends ServiceImpl<ProdReadyTaskMapper, P
|
|
|
|
|
labelPrintDto.setOperation(sfcDispatchDto.getOperation());
|
|
|
|
|
labelPrintDtoList.add(labelPrintDto);
|
|
|
|
|
printData = JSON.toJSONString(labelPrintDtoList);
|
|
|
|
|
List<PrintLog> list = printLogService.list();
|
|
|
|
|
//打印记录
|
|
|
|
|
printTag.setHandle(UUID.randomUUID().toString());
|
|
|
|
|
printTag.setPrintName(printName);
|
|
|
|
|