zlisen пре 4 година
родитељ
комит
f461460c53

+ 2
- 2
src/main/java/com/yunzhi/demo/controller/TaTestLogController.java Прегледај датотеку

@@ -76,7 +76,7 @@ public class TaTestLogController extends BaseController {
76 76
     public ResponseBean testLogList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
77 77
                                     @ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize,
78 78
                                     @ApiParam("学校") @RequestParam(value ="schoolId", required = false) String schoolId,
79
-                                    @ApiParam("专业") @RequestParam(value ="schoolId", required = false) String specialtyId,
79
+                                    @ApiParam("专业") @RequestParam(value ="specialtyId", required = false) String specialtyId,
80 80
                                     @ApiParam("学号") @RequestParam(value ="studentNo", required = false) String studentNo) throws Exception{
81 81
 
82 82
         IPage<StudentTestLog> pg = new Page<>(pageNum, pageSize);
@@ -90,7 +90,7 @@ public class TaTestLogController extends BaseController {
90 90
      * @param taTestLog 实体对象
91 91
      * @return
92 92
      */
93
-    @RequestMapping(value="/taTestLog",method= RequestMethod.POST)
93
+    @RequestMapping(value="/admin/taTestLog",method= RequestMethod.POST)
94 94
     @ApiOperation(value="保存", notes = "保存", httpMethod = "POST", response = ResponseBean.class)
95 95
     public ResponseBean taTestLogAdd(@ApiParam("保存内容") @RequestBody TaTestLog taTestLog) throws Exception{
96 96
 

+ 1
- 0
src/main/resources/mapper/TaMedicalLogMapper.xml Прегледај датотеку

@@ -10,6 +10,7 @@
10 10
             b.school_id,
11 11
             b.specialty_id,
12 12
             b.student_id,
13
+            b.student_no,
13 14
             c.`name` as school_name,
14 15
             d.`name` as specialty_name,
15 16
             e.user_name as doctor_name