大师帮看下,SQL没问题,谢谢
控制层代码
控制层代码
//模糊查询
@RequestMapping("/getfinds")
public String getfind(HttpServletRequest request) {
String knm=request.getParameter("knm");
// if(null != keywords && !"".equals(keywords)){
if(!"".equals(knm)&&knm!=null){
// 获取模糊 库位
List<StorLocation> locationlists = storageservice.getFinds(knm);
System.out.println(locationlists.get(1));
request.setAttribute("locationlist",locationlists );
return "assetsManagement/location";
}
return "locationHome";
}
解决方案
40
看不出来什么问题。
打印出sql日志,替换到数据库执行。
打印出sql日志,替换到数据库执行。