From 631aa6ae461e801b1c0ecaafcb00f86fc29c41d9 Mon Sep 17 00:00:00 2001 From: e Date: Wed, 26 Dec 2018 23:24:00 +0800 Subject: [PATCH] =?UTF-8?q?PDA=E4=B8=8B=E6=9E=B6=E7=A6=81=E6=AD=A2?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wm/controller/WmToDownGoodsController.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/main/java/com/zzjee/wm/controller/WmToDownGoodsController.java b/src/main/java/com/zzjee/wm/controller/WmToDownGoodsController.java index 87a682a4..e055e789 100644 --- a/src/main/java/com/zzjee/wm/controller/WmToDownGoodsController.java +++ b/src/main/java/com/zzjee/wm/controller/WmToDownGoodsController.java @@ -698,6 +698,19 @@ public class WmToDownGoodsController extends BaseController { D0.setOK(false); } + try{ + WmToDownGoodsEntity wmToDownGoods1 = systemService.findUniqueByProperty(WmToDownGoodsEntity.class,"orderIdI",wmToDownGoods.getOrderIdI()); + if (wmToDownGoods1!=null){ + D0.setOK(false); + D0.setErrorMsg("重复保存"); + + return new ResponseEntity(D0,HttpStatus.OK); + } + }catch (Exception e){ + + } + + try{ t = systemService.get(WvGiNoticeEntity.class,wmToDownGoods.getOrderIdI()); if(t!=null&&StringUtil.isEmpty(wmToDownGoods.getBinIdFrom())){