TMS:TMS自动根据区域派车

master
erzhongxmu 2020-04-26 03:32:33 +08:00
parent 36839bec67
commit 3385bf5eec
1 changed files with 2 additions and 1 deletions

View File

@ -2477,7 +2477,8 @@ public class WmOmNoticeHController extends BaseController {
String chel = "";
try{
String qu = wmOmNoticeH.getReMember();
List<TmsMdCheliangEntity> listcl = systemService.findByProperty(TmsMdCheliangEntity.class,"quyu",qu);
String hqlsearchquyu = "from TmsMdCheliangEntity where quyu like '%"+qu+"%'";
List<TmsMdCheliangEntity> listcl = systemService.findHql(hqlsearchquyu);
siji = listcl.get(0).getUsername();
chel = listcl.get(0).getChepaihao();
}catch (Exception e){