|
|
|
@ -32,6 +32,8 @@ public class WmsToWCSmissionController {
|
|
|
|
|
private IBaseWarehouseService baseWarehouseService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private IOdsWhiteEmbryoService iOdsWhiteEmbryoService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private IOdsProductEmbryoInventoryService odsProductEmbryoInventoryService;
|
|
|
|
|
/**
|
|
|
|
|
* 包材请求入库---
|
|
|
|
|
*
|
|
|
|
@ -453,4 +455,88 @@ public class WmsToWCSmissionController {
|
|
|
|
|
String result= iOdsWhiteEmbryoService.WhiteBilletReturnConfir(wmsOdsEmStorageNewsSn);
|
|
|
|
|
return success(result);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询成品盘点单
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
* 盘点后,如果盘点总数量=盘点单总数量,则状态更新为已完成,如果不等于,则状态更新为待调整;
|
|
|
|
|
* @param odsProductEmbryoInventory
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping("/selectOdsProductEmbryoInventory")
|
|
|
|
|
public AjaxResult selectOdsProductEmbryoInventory(@RequestBody OdsProductEmbryoInventory odsProductEmbryoInventory) {
|
|
|
|
|
return success(odsProductEmbryoInventoryService.selectOdsProductEmbryoInventory(odsProductEmbryoInventory));
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 成品盘点的托盘扫码
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @param odsProductEmbryoInventory
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping("/selectScanningTray")
|
|
|
|
|
public AjaxResult selectScanningTray(@RequestBody OdsProductEmbryoInventory odsProductEmbryoInventory) {
|
|
|
|
|
OdsProductEmbryoInventoryCorrelation odsProductEmbryoInventoryCorrelation= odsProductEmbryoInventoryService.selectScanningTray(odsProductEmbryoInventory);
|
|
|
|
|
if (odsProductEmbryoInventoryCorrelation==null){
|
|
|
|
|
return success("托盘扫码错误");
|
|
|
|
|
}
|
|
|
|
|
return success(odsProductEmbryoInventoryCorrelation);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 成品盘点-关联信息确认盘点
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @param odsProductEmbryoInventory
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping("/confirmInventory")
|
|
|
|
|
public AjaxResult confirmInventory(@RequestBody OdsProductEmbryoInventory odsProductEmbryoInventory) {
|
|
|
|
|
String result= odsProductEmbryoInventoryService.confirmInventory(odsProductEmbryoInventory);
|
|
|
|
|
return success(result);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 成品盘点-关联信息确--取消盘点
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @param odsProductEmbryoInventory
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping("/cancelInventory")
|
|
|
|
|
public AjaxResult cancelInventory(@RequestBody OdsProductEmbryoInventory odsProductEmbryoInventory) {
|
|
|
|
|
String result= odsProductEmbryoInventoryService.cancelInventory(odsProductEmbryoInventory);
|
|
|
|
|
return success(result);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 成品盘点---盘点完成确认按钮
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
*盘点后,如果盘点总数量=盘点单总数量,则状态更新为已完成,如果不等于,则状态更新为待调整;
|
|
|
|
|
* @param odsProductEmbryoInventory
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping("/confirmCompletion")
|
|
|
|
|
public AjaxResult confirmCompletion(@RequestBody OdsProductEmbryoInventory odsProductEmbryoInventory) {
|
|
|
|
|
String result= odsProductEmbryoInventoryService.confirmCompletion(odsProductEmbryoInventory);
|
|
|
|
|
return success(result);
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取已经盘点的盘点单的关联信息
|
|
|
|
|
* @param odsProductEmbryoInventory
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping("/selectOdsProductEmbryoInventoryCorrelation")
|
|
|
|
|
public AjaxResult selectOdsProductEmbryoInventoryCorrelation(@RequestBody OdsProductEmbryoInventory odsProductEmbryoInventory) {
|
|
|
|
|
List<OdsProductEmbryoInventoryCorrelation> odsProductEmbryoInventoryCorrelationList= odsProductEmbryoInventoryService.selectOdsProductEmbryoInventoryCorrelation(odsProductEmbryoInventory);
|
|
|
|
|
return success(odsProductEmbryoInventoryCorrelationList);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|