|
@@ -14,6 +14,7 @@ import java.util.stream.Collectors;
|
|
|
import javax.persistence.criteria.Predicate;
|
|
|
import javax.transaction.Transactional;
|
|
|
|
|
|
+import cn.com.qmth.examcloud.web.jpa.PageUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -786,7 +787,7 @@ public class ReportsComputeServiceImpl implements ReportsComputeService {
|
|
|
bean.setStatusName(bean.getStatus().getDesc());
|
|
|
ret.add(bean);
|
|
|
}
|
|
|
- return new PageInfo<ReportsComputeBean>(projects, ret);
|
|
|
+ return PageUtils.toPageInfo(projects, ret);
|
|
|
}
|
|
|
|
|
|
@Override
|