|
|
|
@ -551,7 +551,16 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService {
|
|
|
|
|
ProOrderWorkorder proOrderWorkorder= wmsOdsWhiteEmbryoInMapper.selectProOrderWorkorder(wmsOdsWhiteEmbryoIns);
|
|
|
|
|
if (proOrderWorkorder!=null){
|
|
|
|
|
List<ProOrderWorkorderBatch> proOrderWorkorderBatchList= wmsOdsWhiteEmbryoInMapper.selectProOrderWorkorderBatch(proOrderWorkorder);
|
|
|
|
|
for(ProOrderWorkorderBatch proOrderWorkorderBatch:proOrderWorkorderBatchList){
|
|
|
|
|
String realityNumber= wmsOdsWhiteEmbryoInMapper.selectByOrderAndBc(proOrderWorkorderBatch,proOrderWorkorder.getOrderCode());
|
|
|
|
|
if (realityNumber!=null){
|
|
|
|
|
proOrderWorkorderBatch.setRealityNumber(realityNumber);
|
|
|
|
|
}else {
|
|
|
|
|
proOrderWorkorderBatch.setRealityNumber("0");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
proOrderWorkorder.setProOrderWorkorderBatchList(proOrderWorkorderBatchList);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
return proOrderWorkorder;
|
|
|
|
|
}
|
|
|
|
|