APP-自主移库接口修改

master
erzhongxmu 2022-09-09 18:42:27 +08:00
parent 58f17c057b
commit 7cea1eb711
2 changed files with 10 additions and 6 deletions

View File

@ -306,15 +306,15 @@ public class ApiController {
return mdGoodsController.update(mdGoodsstr, uriBuilder);
}
//PDA自主移储保存
//PDA自主移储保存 -未更新到接口文档
@RequestMapping(value = "/wvStockController/pdazysave", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody
public ResponseEntity<?> update11(@RequestParam(value = "id", required = false) String id ,
@RequestParam(value = "binto", required = false) String binto ,
@RequestParam(value = "tinto", required = false) String tinto ,
@RequestParam(value = "goodsqua", required = false) String goodsqua ,
UriComponentsBuilder uriBuilder) {
return wvStockController.doSttpda(id,binto,tinto, uriBuilder);
return wvStockController.doSttpda(id,binto,tinto, goodsqua,uriBuilder);
}
//商品下单
@RequestMapping(value = "/mdGoodsController/order", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)

View File

@ -568,7 +568,11 @@ public class WvStockController extends BaseController {
@RequestMapping(method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
@ResponseBody
public ResponseEntity<?> doSttpda(@RequestParam String id ,@RequestParam String binto ,@RequestParam String tinto , UriComponentsBuilder uriBuilder) {
public ResponseEntity<?> doSttpda(@RequestParam (value = "id", required = false) String id ,
@RequestParam(value = "binto", required = false) String binto ,
@RequestParam(value = "tinto", required = false) String tinto ,
@RequestParam(value = "goodsqua", required = false) String goodsqua,
UriComponentsBuilder uriBuilder) {
String message = null;
ResultDO D0 = new ResultDO();
message = "生成转移单成功";
@ -603,9 +607,9 @@ public class WvStockController extends BaseController {
wmtomove.setGoodsId(t.getGoodsId());
wmtomove.setGoodsName(t.getShpMingCheng());
wmtomove.setGoodsProData(t.getGoodsProData());
wmtomove.setGoodsQua(t.getGoodsQua().toString());
wmtomove.setGoodsQua(goodsqua);
wmtomove.setGoodsUnit(t.getGoodsUnit());
wmtomove.setBaseGoodscount(t.getGoodsQua().toString());
wmtomove.setBaseGoodscount(goodsqua);
wmtomove.setBaseUnit(t.getGoodsUnit());
wmtomove.setMoveSta("已完成");
wmtomove.setRunSta("计划中");