From ce8b5d989faa4db00e851b780d34d1dbc2cfce65 Mon Sep 17 00:00:00 2001 From: erzhongxmu Date: Fri, 9 Sep 2022 18:06:32 +0800 Subject: [PATCH] =?UTF-8?q?APP-=E8=87=AA=E4=B8=BB=E7=A7=BB=E5=BA=93?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/zzjee/api/ApiController.java | 14 +++++++++++--- .../com/zzjee/wm/controller/WvStockController.java | 6 +++++- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zzjee/api/ApiController.java b/src/main/java/com/zzjee/api/ApiController.java index e767ccca..250d9ccc 100644 --- a/src/main/java/com/zzjee/api/ApiController.java +++ b/src/main/java/com/zzjee/api/ApiController.java @@ -240,8 +240,9 @@ public class ApiController { @ResponseBody public ResponseEntity list7(@RequestParam(value = "username", required = false) String username, @RequestParam(value = "searchstr", required = false) String searchstr, - @RequestParam(value = "searchstr2", required = false) String searchstr2) { - return wvStockController.list(username, searchstr, searchstr2); + @RequestParam(value = "searchstr2", required = false) String searchstr2, + @RequestParam(value = "searchstr2", required = false) String searchstr3) { + return wvStockController.list(username, searchstr, searchstr2,searchstr3); } //移储列表 @@ -297,7 +298,6 @@ public class ApiController { } //商品信息保存 - public static final String mdGoodsControllerc = "/rest/mdGoodsController/change"; @RequestMapping(value = "/mdGoodsController/save", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE) @ResponseBody @@ -306,6 +306,14 @@ public class ApiController { return mdGoodsController.update(mdGoodsstr, uriBuilder); } + //PDA移储保存 + + @RequestMapping(value = "/wmToMoveGoodsController/save", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE) + @ResponseBody + public ResponseEntity update11(@RequestParam String wmToMoveGoodsstr, + UriComponentsBuilder uriBuilder) { + return wmToMoveGoodsController.update(wmToMoveGoodsstr, uriBuilder); + } //商品下单 @RequestMapping(value = "/mdGoodsController/order", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE) @ResponseBody diff --git a/src/main/java/com/zzjee/wm/controller/WvStockController.java b/src/main/java/com/zzjee/wm/controller/WvStockController.java index 288cb070..913d0f2c 100644 --- a/src/main/java/com/zzjee/wm/controller/WvStockController.java +++ b/src/main/java/com/zzjee/wm/controller/WvStockController.java @@ -824,7 +824,8 @@ public class WvStockController extends BaseController { @ResponseBody public ResponseEntity list(@RequestParam(value = "username", required = false) String username, @RequestParam(value = "searchstr", required = false) String searchstr, - @RequestParam(value = "searchstr2", required = false) String searchstr2) { + @RequestParam(value = "searchstr2", required = false) String searchstr2, + @RequestParam(value = "searchstr2", required = false) String searchstr3) { // return listWvGis; @@ -834,6 +835,9 @@ public class WvStockController extends BaseController { if (!StringUtil.isEmpty(searchstr)) { hql = hql + " and kuWeiBianMa like '%" + searchstr + "%'"; } + if (!StringUtil.isEmpty(searchstr3)) { + hql = hql + " and binId like '%" + searchstr3 + "%'"; + } if (!StringUtil.isEmpty(searchstr2)) { try { String shpbianma = wmUtil.getmdgoodsbytiaoma(searchstr2);