From 84aeb1253e4f35d6825fb4e5e387dae151472aa6 Mon Sep 17 00:00:00 2001 From: e Date: Wed, 24 Oct 2018 22:47:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=BB=93=E6=9E=84=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wm/controller/WmOmQmIController.java | 26 +------------------ 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/src/main/java/com/zzjee/wm/controller/WmOmQmIController.java b/src/main/java/com/zzjee/wm/controller/WmOmQmIController.java index b92bcd55..8218ae26 100644 --- a/src/main/java/com/zzjee/wm/controller/WmOmQmIController.java +++ b/src/main/java/com/zzjee/wm/controller/WmOmQmIController.java @@ -339,15 +339,6 @@ public class WmOmQmIController extends BaseController { message = "下架任务删除成功"; try{ wmOmQmIService.delete(wmOmQmI); -// List WmOmNoticeIlist = new ArrayList(); -// String hql = null; -// hql = "from WmOmNoticeIEntity t where t.id = '"+ wmOmQmI.getIomNoticeItem() +"'" ; -// WmOmNoticeIlist = systemService.findByQueryString(hql); -// for (WmOmNoticeIEntity WmOmNoticeIentity : WmOmNoticeIlist) { -// WmOmNoticeIentity.setPlanSta("N"); -// systemService.saveOrUpdate(WmOmNoticeIentity); -// } - systemService.addLog(message, Globals.Log_Type_DEL, Globals.Log_Leavel_INFO); }catch(Exception e){ e.printStackTrace(); @@ -409,12 +400,7 @@ public class WmOmQmIController extends BaseController { return j; } - - - - - - + /** * 批量删除下架任务 * @@ -521,16 +507,6 @@ public class WmOmQmIController extends BaseController { return j; }else{ double goods = Double.parseDouble(wmOmQmI.getBaseGoodscount()); -// double goodsold = Double.parseDouble(t.getBaseGoodscount()); -// if(goods < goodsold){ -// WmOmQmIEntity wmOmQmInew = new WmOmQmIEntity(); -// MyBeanUtils.copyBeanNotNull2Bean(t,wmOmQmInew); -// wmOmQmInew.setId(null); -// wmOmQmInew.setBaseGoodscount(Double.toString(goods-goods)); -// wmOmQmInew.setOmQuat(wmOmQmInew.getBaseGoodscount()); -// wmOmQmInew.setQmOkQuat(wmOmQmInew.getBaseGoodscount()); -// wmOmQmIService.save(wmOmQmInew); -// } wmOmQmI.setQmOkQuat(wmOmQmI.getBaseGoodscount()); wmOmQmI.setOmQuat(wmOmQmI.getBaseGoodscount()); MyBeanUtils.copyBeanNotNull2Bean(wmOmQmI, t);