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