소스 검색

作业查询

liujc 2 년 전
부모
커밋
a167ec8064
2개의 변경된 파일267개의 추가작업 그리고 75개의 파일을 삭제
  1. 266 74
      .idea/httpRequests/http-requests-log.http
  2. 1 1
      mec-biz/src/main/resources/config/mybatis/CourseScheduleMapper.xml

+ 266 - 74
.idea/httpRequests/http-requests-log.http

@@ -1,3 +1,269 @@
+GET http://127.0.0.1:9002/extracurricularExercises/queryTeacherServeHomeworkDetail/v2?startTime=2023-04-10&endTime=2023-06-16&type=HOMEWORK&classType=&homeWorkStatus=&page=1&rows=20&musicGroupId=
+Authorization: bearer 139a014d-1193-419b-82ff-823d0ad9b154
+Connection: Keep-Alive
+User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.6)
+Accept-Encoding: br,deflate,gzip,x-gzip
+
+<> 2023-06-16T133204.200.json
+
+###
+
+GET http://127.0.0.1:9002/extracurricularExercises/queryTeacherServeHomeworkDetail/v2?startTime=2023-04-10&endTime=2023-06-16&type=HOMEWORK&classType=&homeWorkStatus=&page=1&rows=20&musicGroupId=
+Authorization: bearer 379bbe77-8542-4a58-9453-9a0b20b680fe
+Connection: Keep-Alive
+User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.6)
+Accept-Encoding: br,deflate,gzip,x-gzip
+
+<> 2023-06-16T133119.200.json
+
+###
+
+GET http://127.0.0.1:9002/extracurricularExercises/queryTeacherServeHomeworkDetail/v2?startTime=2023-04-10&endTime=2023-06-16&type=HOMEWORK&classType=&homeWorkStatus=&page=1&rows=20&musicGroupId=
+Authorization: bearer 379bbe77-8542-4a58-9453-9a0b20b680fe
+Connection: Keep-Alive
+User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.6)
+Accept-Encoding: br,deflate,gzip,x-gzip
+
+<> 2023-06-16T120034.200.json
+
+###
+
+GET http://127.0.0.1:9002/extracurricularExercises/queryTeacherServeHomeworkDetail/v2?startTime=2023-04-10&endTime=2023-06-16&type=HOMEWORK&classType=&homeWorkStatus=&page=1&rows=20&musicGroupId=
+Authorization: bearer 379bbe77-8542-4a58-9453-9a0b20b680fe
+Connection: Keep-Alive
+User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.6)
+Accept-Encoding: br,deflate,gzip,x-gzip
+
+<> 2023-06-16T115953.200.json
+
+###
+
+GET http://127.0.0.1:9002/extracurricularExercises/queryTeacherServeHomeworkDetail/v2?startTime=2023-04-10&endTime=2023-06-16&type=HOMEWORK&classType=&homeWorkStatus=&page=1&rows=20&musicGroupId=
+Authorization: bearer c40a7231-5cfd-4495-ac88-bced0c9aa0cc
+Connection: Keep-Alive
+User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.6)
+Accept-Encoding: br,deflate,gzip,x-gzip
+
+<> 2023-06-16T115703.200.json
+
+###
+
+POST http://127.0.0.1:9002/teacherAttendance/add
+authorization: bearer 1a9dbd9c-b150-4461-bce9-0f6b082dd708
+Content-Type: application/json
+Content-Length: 2334
+Connection: Keep-Alive
+User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.6)
+Accept-Encoding: br,deflate,gzip,x-gzip
+
+{
+  "studentStandardDtos" : [
+    {
+      "qualifiedFlag" : 1,
+      "userId" : "2248984",
+      "repairFlag" : false
+    },
+    {
+      "qualifiedFlag" : 1,
+      "userId" : "2249113",
+      "repairFlag" : false
+    }
+  ],
+  "teacherAttendanceInfo" : {
+    "status" : "1",
+    "signOutLongitudeLatitude" : "114.344874,30.555084",
+    "courseScheduleId" : "2469",
+    "update" : "0",
+    "deviceNum" : "",
+    "signOutRemark" : "好"
+  },
+  "courseHomeworkInfo" : {
+    "lessonExaminationSaveDto" : {
+      "studentLessonExaminationSaveDtos" : [
+        {
+          "group" : "1",
+          "subjectId" : "23",
+          "musicScoreHomeworkDtoList" : [
+            {
+              "musicScoreId" : "1177",
+              "partIndex" : "0"
+            },
+            {
+              "musicScoreId" : "12081",
+              "partIndex" : "0"
+            }
+          ],
+          "musicScoreIdList" : [
+            "1177",
+            "12081"
+          ],
+          "userIdList" : [
+            "2248984"
+          ],
+          "examinationDetailDtos" : [
+            {
+              "musicScoreId" : "1177",
+              "heardLevel" : "ADVANCED",
+              "partIndex" : "0",
+              "score" : 60
+            },
+            {
+              "musicScoreId" : "12081",
+              "heardLevel" : "ADVANCED",
+              "partIndex" : "0",
+              "score" : 70
+            }
+          ]
+        },
+        {
+          "group" : "2",
+          "subjectId" : "23",
+          "musicScoreHomeworkDtoList" : [
+            {
+              "musicScoreId" : "1181",
+              "partIndex" : "0"
+            }
+          ],
+          "musicScoreIdList" : [
+            "1181"
+          ],
+          "userIdList" : [
+            "2249113"
+          ],
+          "examinationDetailDtos" : [
+            {
+              "musicScoreId" : "1181",
+              "heardLevel" : "BEGINNER",
+              "partIndex" : "0",
+              "score" : 60
+            }
+          ]
+        }
+      ],
+      "teacherId" : "2248323",
+      "courseScheduleId" : "2469",
+      "expectNum" : 2,
+      "classGroupId" : "397"
+    },
+    "title" : "",
+    "content" : "",
+    "courseScheduleId" : "2469",
+    "attachments" : "https:\/\/daya.ks3-cn-beijing.ksyuncs.com\/202306\/16\/MTY4Njg4NjAzMjQ1MzQ1NTAwMDAwMA==_2248323classFinishImg.jpeg"
+  }
+}
+
+<> 2023-06-16T113253.200.json
+
+###
+
+POST http://127.0.0.1:9002/teacherAttendance/add
+authorization: bearer cf400ae3-f2b5-40b3-8d7f-7c2d073666ad
+Content-Type: application/json
+Content-Length: 2334
+Connection: Keep-Alive
+User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.6)
+Accept-Encoding: br,deflate,gzip,x-gzip
+
+{
+  "studentStandardDtos" : [
+    {
+      "qualifiedFlag" : 1,
+      "userId" : "2248984",
+      "repairFlag" : false
+    },
+    {
+      "qualifiedFlag" : 1,
+      "userId" : "2249113",
+      "repairFlag" : false
+    }
+  ],
+  "teacherAttendanceInfo" : {
+    "status" : "1",
+    "signOutLongitudeLatitude" : "114.344874,30.555084",
+    "courseScheduleId" : "2469",
+    "update" : "0",
+    "deviceNum" : "",
+    "signOutRemark" : "好"
+  },
+  "courseHomeworkInfo" : {
+    "lessonExaminationSaveDto" : {
+      "studentLessonExaminationSaveDtos" : [
+        {
+          "group" : "1",
+          "subjectId" : "23",
+          "musicScoreHomeworkDtoList" : [
+            {
+              "musicScoreId" : "1177",
+              "partIndex" : "0"
+            },
+            {
+              "musicScoreId" : "12081",
+              "partIndex" : "0"
+            }
+          ],
+          "musicScoreIdList" : [
+            "1177",
+            "12081"
+          ],
+          "userIdList" : [
+            "2248984"
+          ],
+          "examinationDetailDtos" : [
+            {
+              "musicScoreId" : "1177",
+              "heardLevel" : "ADVANCED",
+              "partIndex" : "0",
+              "score" : 60
+            },
+            {
+              "musicScoreId" : "12081",
+              "heardLevel" : "ADVANCED",
+              "partIndex" : "0",
+              "score" : 70
+            }
+          ]
+        },
+        {
+          "group" : "2",
+          "subjectId" : "23",
+          "musicScoreHomeworkDtoList" : [
+            {
+              "musicScoreId" : "1181",
+              "partIndex" : "0"
+            }
+          ],
+          "musicScoreIdList" : [
+            "1181"
+          ],
+          "userIdList" : [
+            "2249113"
+          ],
+          "examinationDetailDtos" : [
+            {
+              "musicScoreId" : "1181",
+              "heardLevel" : "BEGINNER",
+              "partIndex" : "0",
+              "score" : 60
+            }
+          ]
+        }
+      ],
+      "teacherId" : "2248323",
+      "courseScheduleId" : "2469",
+      "expectNum" : 2,
+      "classGroupId" : "397"
+    },
+    "title" : "",
+    "content" : "",
+    "courseScheduleId" : "2469",
+    "attachments" : "https:\/\/daya.ks3-cn-beijing.ksyuncs.com\/202306\/16\/MTY4Njg4NjAzMjQ1MzQ1NTAwMDAwMA==_2248323classFinishImg.jpeg"
+  }
+}
+
+<> 2023-06-16T113219.200.json
+
+###
+
 GET http://localhost:8002/api/v1/work-order/checkTlpUpdate?workInfoId=1
 Authorization: Bearer 4261d745-d23d-4999-9591-a615fc758e49
 Connection: Keep-Alive
@@ -603,77 +869,3 @@ Accept-Encoding: br,deflate,gzip,x-gzip
 
 ###
 
-GET http://127.0.0.1:9001/studentVipGroup/joinLiveRoomByShare?courseScheduleId=2179
-Authorization: bearer 093517b0-c9a4-407b-b558-0d71bf157b16
-Connection: Keep-Alive
-User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.6)
-Accept-Encoding: br,deflate,gzip,x-gzip
-
-<> 2023-06-12T095045.200.json
-
-###
-
-GET http://127.0.0.1:9001/studentVipGroup/joinLiveRoomByShare?courseScheduleId=2179
-Authorization: bearer 093517b0-c9a4-407b-b558-0d71bf157b16
-Connection: Keep-Alive
-User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.6)
-Accept-Encoding: br,deflate,gzip,x-gzip
-
-<> 2023-06-12T094907.200.json
-
-###
-
-GET http://127.0.0.1:9001/studentVipGroup/joinLiveRoomByShare?courseScheduleId=2179
-Authorization: bearer 81d0c352-fcc8-4812-87f5-0f7a68d10451
-Connection: Keep-Alive
-User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.6)
-Accept-Encoding: br,deflate,gzip,x-gzip
-
-<> 2023-06-12T094734.200.json
-
-###
-
-POST http://localhost:8005/imSendGroupMessage/send
-Content-Type: application/json
-tenantId: 1
-Authorization: bearer 9b756b90-f27a-4ca9-99b1-da854c72eb3f
-Content-Length: 99
-Connection: Keep-Alive
-User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.6)
-Accept-Encoding: br,deflate,gzip,x-gzip
-
-{"postType":"0","messageContent":"3の3","messageType":"TXT","targetIds":"232","isIncludeSender":0}
-
-<> 2023-06-09T174838.200.json
-
-###
-
-GET http://127.0.0.1:8005/task/closeLiveCourseRoom
-Connection: Keep-Alive
-User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.6)
-Accept-Encoding: br,deflate,gzip,x-gzip
-
-<> 2023-06-08T214126.200.json
-
-###
-
-GET http://127.0.0.1:8005/task/closeLiveCourseRoom
-Connection: Keep-Alive
-User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.6)
-Accept-Encoding: br,deflate,gzip,x-gzip
-
-<> 2023-06-08T210807.200.json
-
-###
-
-GET http://127.0.0.1:9002/teacherCourseSchedule/findCourseAttendanceDetailHeadInfo?courseScheduleId=1701
-authorization: bearer b33a3aed-ca44-4537-b3ae-1fba38c2560a
-Content-Type: application/json
-Connection: Keep-Alive
-User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.6)
-Accept-Encoding: br,deflate,gzip,x-gzip
-
-<> 2023-06-08T194906.200.json
-
-###
-

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/CourseScheduleMapper.xml

@@ -4239,7 +4239,7 @@
                 and cs.type_ = #{param.classType}
             </if>
 
-            <if test="param.musicGroupId != null ">
+            <if test="param.musicGroupId != null and  param.musicGroupId != ''">
                 and #{param.musicGroupId} = cs.music_group_id_
             </if>
             <if test="param.homeWorkStatus != null">