|
@@ -6,6 +6,7 @@ import java.util.List;
|
|
|
|
|
|
import javax.persistence.criteria.Predicate;
|
|
|
|
|
|
+import cn.com.qmth.examcloud.web.jpa.PageUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.dao.DuplicateKeyException;
|
|
@@ -110,7 +111,7 @@ public class OperateServiceImpl implements OperateService {
|
|
|
}
|
|
|
ret.add(bean);
|
|
|
}
|
|
|
- return new PageInfo<StudentOperateBean>(data, ret);
|
|
|
+ return PageUtils.toPageInfo(data, ret);
|
|
|
}
|
|
|
private String toSqlSearchPattern(String column) {
|
|
|
if (StringUtils.isBlank(column)) {
|