|
|
|
@ -56,6 +56,9 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService {
|
|
|
|
|
private WmsOdsEmStorageNewsSnMapper wmsOdsEmStorageNewsSnMapper;
|
|
|
|
|
@Autowired
|
|
|
|
|
private WmsOdsEmStorageNewsMapper wmsOdsEmStorageNewsMapper;
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private WmsProductPutTrayCodeMapper wmsProductPutTrayCodeMapper;
|
|
|
|
|
/**
|
|
|
|
|
* 查询成品生产入库
|
|
|
|
|
*
|
|
|
|
@ -639,4 +642,23 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService {
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public List<WmsProductPutTrayCode> selectSnCorrelationBarcode(WmsProductPutTrayCode wmsProductPutTrayCode) {
|
|
|
|
|
DynamicDataSourceContextHolder.push("ds_" + wmsProductPutTrayCode.getSiteCode());
|
|
|
|
|
wmsProductPutTrayCode.setRelatStatus("1");
|
|
|
|
|
List<WmsProductPutTrayCode> wmsProductPutTrayCodeList= wmsProductPutTrayCodeMapper.selectWmsProductPutTrayCodeList(wmsProductPutTrayCode);
|
|
|
|
|
return wmsProductPutTrayCodeList;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String addSnCorrelationBarcode(WmsProductPutTrayCode wmsProductPutTrayCode) {
|
|
|
|
|
String result="关联成功";
|
|
|
|
|
DynamicDataSourceContextHolder.push("ds_" + wmsProductPutTrayCode.getSiteCode());
|
|
|
|
|
wmsProductPutTrayCode.setRelatStatus("1");
|
|
|
|
|
wmsProductPutTrayCode.setStorageId(IdUtils.fastSimpleUUID());
|
|
|
|
|
wmsProductPutTrayCode.setNumber(1);
|
|
|
|
|
wmsProductPutTrayCodeMapper.insertWmsProductPutTrayCode(wmsProductPutTrayCode);
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|