APP-自主移库接口修改
parent
58f17c057b
commit
7cea1eb711
|
@ -306,15 +306,15 @@ public class ApiController {
|
||||||
return mdGoodsController.update(mdGoodsstr, uriBuilder);
|
return mdGoodsController.update(mdGoodsstr, uriBuilder);
|
||||||
}
|
}
|
||||||
|
|
||||||
//PDA自主移储保存
|
//PDA自主移储保存 -未更新到接口文档
|
||||||
|
|
||||||
@RequestMapping(value = "/wvStockController/pdazysave", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
|
@RequestMapping(value = "/wvStockController/pdazysave", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public ResponseEntity<?> update11(@RequestParam(value = "id", required = false) String id ,
|
public ResponseEntity<?> update11(@RequestParam(value = "id", required = false) String id ,
|
||||||
@RequestParam(value = "binto", required = false) String binto ,
|
@RequestParam(value = "binto", required = false) String binto ,
|
||||||
@RequestParam(value = "tinto", required = false) String tinto ,
|
@RequestParam(value = "tinto", required = false) String tinto ,
|
||||||
|
@RequestParam(value = "goodsqua", required = false) String goodsqua ,
|
||||||
UriComponentsBuilder uriBuilder) {
|
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)
|
@RequestMapping(value = "/mdGoodsController/order", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||||
|
|
|
@ -568,7 +568,11 @@ public class WvStockController extends BaseController {
|
||||||
|
|
||||||
@RequestMapping(method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
|
@RequestMapping(method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||||
@ResponseBody
|
@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;
|
String message = null;
|
||||||
ResultDO D0 = new ResultDO();
|
ResultDO D0 = new ResultDO();
|
||||||
message = "生成转移单成功";
|
message = "生成转移单成功";
|
||||||
|
@ -603,9 +607,9 @@ public class WvStockController extends BaseController {
|
||||||
wmtomove.setGoodsId(t.getGoodsId());
|
wmtomove.setGoodsId(t.getGoodsId());
|
||||||
wmtomove.setGoodsName(t.getShpMingCheng());
|
wmtomove.setGoodsName(t.getShpMingCheng());
|
||||||
wmtomove.setGoodsProData(t.getGoodsProData());
|
wmtomove.setGoodsProData(t.getGoodsProData());
|
||||||
wmtomove.setGoodsQua(t.getGoodsQua().toString());
|
wmtomove.setGoodsQua(goodsqua);
|
||||||
wmtomove.setGoodsUnit(t.getGoodsUnit());
|
wmtomove.setGoodsUnit(t.getGoodsUnit());
|
||||||
wmtomove.setBaseGoodscount(t.getGoodsQua().toString());
|
wmtomove.setBaseGoodscount(goodsqua);
|
||||||
wmtomove.setBaseUnit(t.getGoodsUnit());
|
wmtomove.setBaseUnit(t.getGoodsUnit());
|
||||||
wmtomove.setMoveSta("已完成");
|
wmtomove.setMoveSta("已完成");
|
||||||
wmtomove.setRunSta("计划中");
|
wmtomove.setRunSta("计划中");
|
||||||
|
|
Loading…
Reference in New Issue