zlisen 4 лет назад
Родитель
Сommit
f461460c53

+ 2
- 2
src/main/java/com/yunzhi/demo/controller/TaTestLogController.java Просмотреть файл

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

+ 1
- 0
src/main/resources/mapper/TaMedicalLogMapper.xml Просмотреть файл

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