2026.4.29 午 14:16
平库出库子单单据库存校验 等待最后测试,以及单据仓库区分字段
This commit is contained in:
@@ -18,6 +18,7 @@ import com.ruoyi.pda.domain.TrayCodeMsg;
|
||||
import com.ruoyi.pda.service.PdaService;
|
||||
import com.ruoyi.stock.stock.domain.BasStock;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.pdfbox.contentstream.operator.graphics.BeginInlineImage;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
@@ -39,7 +40,6 @@ public class PdaController extends BaseController {
|
||||
private IInStockinDetailService iInStockinDetailService;
|
||||
@Autowired
|
||||
private OutStockoutServiceImpl outStockoutService;
|
||||
|
||||
@Autowired
|
||||
private OutStockoutDetailServiceImpl outStockoutDetailService;
|
||||
|
||||
@@ -273,8 +273,8 @@ public class PdaController extends BaseController {
|
||||
@ResponseBody
|
||||
|
||||
public List<OutStockout> OutFillPk(@RequestBody OutStockout outStockout) {
|
||||
outStockoutService.selectOutStockoutList(outStockout);
|
||||
return null;
|
||||
|
||||
return outStockoutService.selectOutStockoutList(outStockout);
|
||||
}
|
||||
|
||||
|
||||
@@ -288,8 +288,8 @@ public class PdaController extends BaseController {
|
||||
@ResponseBody
|
||||
public List<OutStockoutDetail> OutFillPkDetail(@RequestBody OutStockout outStockout) {
|
||||
List<OutStockout> outStockouts = outStockoutService.selectOutStockoutList(outStockout);
|
||||
outStockoutDetailService.selectOutStockoutDetailByStockoutGuid(outStockouts.get(0).getStockoutId());
|
||||
return null;
|
||||
|
||||
return outStockoutDetailService.selectOutStockoutDetailByStockoutGuid(outStockouts.get(0).getStockoutId());
|
||||
}
|
||||
|
||||
|
||||
@@ -304,8 +304,19 @@ public class PdaController extends BaseController {
|
||||
@RequestMapping("/queryBasStockHc")
|
||||
@ResponseBody
|
||||
public AjaxResult queryBasStockHc(@RequestBody TrayCodeMsg trayCodeMsg) {
|
||||
String trayCode = trayCodeMsg.getTrayCode();
|
||||
String stockinDetailId = trayCodeMsg.getStockinDetailId();
|
||||
OutStockoutDetail outStockoutDetail = outStockoutDetailService.selectOutStockoutDetailByStockoutDetailId(stockinDetailId);
|
||||
String productId = outStockoutDetail.getProductId();
|
||||
Integer integer=pdaService.selectBasStockHcCount(trayCode,productId);
|
||||
if (integer>0)
|
||||
{
|
||||
return AjaxResult.success();
|
||||
}else {
|
||||
return AjaxResult.error("无该物料");
|
||||
}
|
||||
|
||||
|
||||
return AjaxResult.success();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user