From 3385bf5eec41773ea43a8f6f0bd32cebfafa0aa7 Mon Sep 17 00:00:00 2001 From: erzhongxmu Date: Sun, 26 Apr 2020 03:32:33 +0800 Subject: [PATCH] =?UTF-8?q?TMS=EF=BC=9ATMS=E8=87=AA=E5=8A=A8=E6=A0=B9?= =?UTF-8?q?=E6=8D=AE=E5=8C=BA=E5=9F=9F=E6=B4=BE=E8=BD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/zzjee/wm/controller/WmOmNoticeHController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/zzjee/wm/controller/WmOmNoticeHController.java b/src/main/java/com/zzjee/wm/controller/WmOmNoticeHController.java index 0251f6e6..0b6523a4 100644 --- a/src/main/java/com/zzjee/wm/controller/WmOmNoticeHController.java +++ b/src/main/java/com/zzjee/wm/controller/WmOmNoticeHController.java @@ -2477,7 +2477,8 @@ public class WmOmNoticeHController extends BaseController { String chel = ""; try{ String qu = wmOmNoticeH.getReMember(); - List listcl = systemService.findByProperty(TmsMdCheliangEntity.class,"quyu",qu); + String hqlsearchquyu = "from TmsMdCheliangEntity where quyu like '%"+qu+"%'"; + List listcl = systemService.findHql(hqlsearchquyu); siji = listcl.get(0).getUsername(); chel = listcl.get(0).getChepaihao(); }catch (Exception e){