From a4d9012ccc7c053ae76e44796203c2759aea06d7 Mon Sep 17 00:00:00 2001 From: erzhongxmu Date: Thu, 5 Nov 2020 23:49:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=82=A8=E4=BD=8D=E5=81=9C=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/zzjee/wm/controller/WmInQmIController.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/zzjee/wm/controller/WmInQmIController.java b/src/main/java/com/zzjee/wm/controller/WmInQmIController.java index ba48fd6f..3f8270f1 100644 --- a/src/main/java/com/zzjee/wm/controller/WmInQmIController.java +++ b/src/main/java/com/zzjee/wm/controller/WmInQmIController.java @@ -224,7 +224,7 @@ public class WmInQmIController extends BaseController { AjaxJson j = new AjaxJson(); message = "上架成功"; try { - + System.out.println(request.getParameter("id")); toup(request.getParameter("id")); systemService.addLog(message, Globals.Log_Type_DEL, @@ -245,7 +245,9 @@ public class WmInQmIController extends BaseController { String hql0 = "from WmInQmIEntity where binSta = 'N' and id = ?"; List WmInQmIEntityList = systemService.findHql(hql0, id);// 获取行项目 + System.out.println(id+"111111"); for (WmInQmIEntity wmInQmIEntity : WmInQmIEntityList) { + System.out.println(wmInQmIEntity.getId()+"222222"); try{ WmToUpGoodsEntity wmToUpGoodsEntityold = systemService.findUniqueByProperty(WmToUpGoodsEntity.class,"orderIdI",wmInQmIEntity.getId()); @@ -255,6 +257,7 @@ public class WmInQmIController extends BaseController { }catch (Exception e){ e.printStackTrace(); } + System.out.println(wmInQmIEntity.getId()+"33333"); WmToUpGoodsEntity wmToUpGoodsEntity = new WmToUpGoodsEntity(); wmToUpGoodsEntity.setGoodsId(wmInQmIEntity.getGoodsId()); @@ -273,9 +276,12 @@ public class WmInQmIController extends BaseController { // String sql = "select md.suo_shu_ke_hu as cuscode from md_bin md where md.ku_wei_bian_ma = '" // + wmInQmIEntity.getBinId() + "'"; // Map binMap = systemService.findOneForJdbc(sql); + System.out.println(wmInQmIEntity.getBinId()+"444444"); + if (!wmUtil.checkbin(wmInQmIEntity.getBinId())) { return false; } + System.out.println(wmInQmIEntity.getBinId()+"555555"); try {