Commit ea71b1a6 by huangjinxin

修改参数

1 parent 5302e00c
......@@ -679,7 +679,7 @@ public class UserService {
if (null != search.getSource()) {
querySql.append("(su.engineerCode LIKE '%" + search.getQueryString() + "%' or su.nickname like '%" + search.getQueryString() + "%' or su.phone like '%" + search.getQueryString() + "%' or su.email like '%" + search.getQueryString() + "%' )");
}
BigInteger countNum = (BigInteger) entityManager.createQuery(count + querySql.toString()).getSingleResult();
Long countNum = (Long) entityManager.createQuery(count + querySql.toString()).getSingleResult();
if (countNum.intValue() == 0) {
return pageResult;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!