From f798864794a9049aa0d1237334a0c4d57d937b7a Mon Sep 17 00:00:00 2001 From: erzhongxmu Date: Mon, 26 Oct 2020 20:39:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E8=B4=A6=E5=8D=95=EF=BC=8C?= =?UTF-8?q?=E7=89=A9=E6=96=99=E9=99=90=E5=88=B6=E5=AE=A2=E6=88=B7=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E5=8F=AA=E8=83=BD=E6=9F=A5=E7=9C=8B=E6=9C=AC=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zzjee/tms/controller/TmsYwDingdanController.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/zzjee/tms/controller/TmsYwDingdanController.java b/src/main/java/com/zzjee/tms/controller/TmsYwDingdanController.java index cb5644ff..5cc06de9 100644 --- a/src/main/java/com/zzjee/tms/controller/TmsYwDingdanController.java +++ b/src/main/java/com/zzjee/tms/controller/TmsYwDingdanController.java @@ -535,8 +535,8 @@ public class TmsYwDingdanController extends BaseController { List listWaveToDowns =new ArrayList<>(); if(StringUtil.isNotEmpty(searchstr)&&!"null".equals(searchstr)){ - hql="from WmTmsNoticeHEntity where omSta <> ? and reMember = ? and omNoticeId = ?"; - listWaveToDowns = wmOmNoticeHService.findHql(hql,"已送货",username,searchstr); + hql="from WmTmsNoticeHEntity where omSta <> ? and reMember = ? and delvMobile like ?"; + listWaveToDowns = wmOmNoticeHService.findHql(hql,"已送货",username,"%"+searchstr+"%"); }else{ hql="from WmTmsNoticeHEntity where omSta <> ? and reMember = ? "; listWaveToDowns = wmOmNoticeHService.findHql(hql,"已送货",username); @@ -559,7 +559,12 @@ public class TmsYwDingdanController extends BaseController { List listWaveToDowns =new ArrayList<>(); listWaveToDowns = wmOmNoticeHService.findHql(hql,omnoticeid); D0.setObj(listWaveToDowns); - System.out.println("/listdetail/songhuolistWaveToDowns==="+listWaveToDowns.toString()+listWaveToDowns.size()); + try{ + System.out.println("/listdetail/songhuolistWaveToDowns==="+listWaveToDowns.get(0).toString()+listWaveToDowns.size()); + + }catch (Exception e){ + + } return new ResponseEntity(D0, HttpStatus.OK); }