|
|
@ -112,7 +112,7 @@ public class PrintLogServiceImpl extends ServiceImpl<PrintLogMapper, PrintLog> i
|
|
|
|
String site = CommonMethods.getSite();
|
|
|
|
String site = CommonMethods.getSite();
|
|
|
|
List<LabelPrintDto> sfcPrintInfoBySfc = printLogMapper.findSfcPrintInfoBySfc(sfc, site);
|
|
|
|
List<LabelPrintDto> sfcPrintInfoBySfc = printLogMapper.findSfcPrintInfoBySfc(sfc, site);
|
|
|
|
if (sfcPrintInfoBySfc.size() < 1){
|
|
|
|
if (sfcPrintInfoBySfc.size() < 1){
|
|
|
|
throw BusinessException.build("未找到数据【未生成库存】!");
|
|
|
|
throw BusinessException.build("未找到生产的库存数据!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return sfcPrintInfoBySfc.get(0);
|
|
|
|
return sfcPrintInfoBySfc.get(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|