Browse Source

评价列表

tags/正式3.14.0
雍文秀 5 months ago
parent
commit
2c3a11bc6b

+ 1
- 1
sapi/src/main/java/com/xhkjedu/sapi/controller/assess/AssessController.java View File

@@ -64,8 +64,8 @@ public class AssessController {
64 64
     public ResultVo list(@RequestBody TAssess assess) {
65 65
         N_Utils.validation(new Object[]{assess.getSchoolid(),"学校id",1,assess.getTemplateid(),"评价模板id",1
66 66
                 ,assess.getPage(),"页码",1,assess.getPageSize(),"显示条数",1});
67
-        PageHelper.startPage(assess.getPage(), assess.getPageSize());
68 67
         assess.setUsertype(assessService.getUsertypeById(assess.getCreateid()));
68
+        PageHelper.startPage(assess.getPage(), assess.getPageSize());
69 69
         List<Map> list = assessService.listAll(assess);
70 70
         PageResult pageResult = PageUtil.getPageResult(new PageInfo(list));
71 71
         return new ResultVo(0,"获取列表成功",pageResult);

Loading…
Cancel
Save