出库增加储位搜索

master
erzhongxmu 2018-11-10 00:35:59 +08:00
parent 843fe60a40
commit c077e09ce2
1 changed files with 4 additions and 1 deletions

View File

@ -350,7 +350,7 @@ public class WvGiNoticeController extends BaseController {
}
@RequestMapping(value = "/search",method = RequestMethod.GET)
@ResponseBody
public ResponseEntity<?> lists( @RequestParam(value="username", required=false) String username, @RequestParam(value="searchstr", required=false)String searchstr, @RequestParam(value="searchstr2", required=false)String searchstr2) {
public ResponseEntity<?> lists( @RequestParam(value="username", required=false) String username, @RequestParam(value="searchstr", required=false)String searchstr, @RequestParam(value="searchstr2", required=false)String searchstr2, @RequestParam(value="searchstr3", required=false)String searchstr3) {
// return listWvGis;
@ -371,6 +371,9 @@ public class WvGiNoticeController extends BaseController {
}
hql=hql+" and goodsId like '%" + searchstr2 + "%'";
}
if(!StringUtil.isEmpty(searchstr3)) {
hql=hql+" and binId like '%" + searchstr3 + "%'";
}
List<WvGiNoticeEntity> listWvGiNotices=wvGiNoticeService.findHql(hql);
// public ResponseEntity<?> list(@RequestParam String username, @RequestParam String searchstr) {