From 83eec70b42f5943112f152f010f886c1ad95ba47 Mon Sep 17 00:00:00 2001 From: e Date: Tue, 31 Mar 2020 10:18:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/zzjee/wm/controller/WmOmNoticeHController.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/zzjee/wm/controller/WmOmNoticeHController.java b/src/main/java/com/zzjee/wm/controller/WmOmNoticeHController.java index e39b2d2e..3c355bf9 100644 --- a/src/main/java/com/zzjee/wm/controller/WmOmNoticeHController.java +++ b/src/main/java/com/zzjee/wm/controller/WmOmNoticeHController.java @@ -2542,12 +2542,14 @@ public class WmOmNoticeHController extends BaseController { @RequestParam(value="omNoticeId", required=false)String omnoticeid) { ResultDO D0 = new ResultDO(); D0.setOK(true); - String hql="from WmImNoticeIEntity where omNoticeId = ? "; + String hql="from WmOmNoticeIEntity where omNoticeId = ? "; List listWaveToDowns =new ArrayList<>(); // hql="from WmImNoticeIEntity where noticeiSta <> ? and omNoticeId = ?"; // listWaveToDowns = wmOmNoticeHService.findHql(hql,"已核货",searchstr); - hql="from WmOmNoticeIEntity where omSta = ? and omNoticeId = ?"; - listWaveToDowns = wmOmNoticeHService.findHql(hql,"Y", omnoticeid); + hql="from WmOmNoticeIEntity "; +// hql="from WmOmNoticeIEntity where omSta = ? and omNoticeId = ?"; + listWaveToDowns = wmOmNoticeHService.findHql(hql); +// listWaveToDowns = wmOmNoticeHService.findHql(hql,"Y", omnoticeid); D0.setObj(listWaveToDowns); return new ResponseEntity(D0, HttpStatus.OK); }