Commit 9b7b8b9b2e7ac0d50e1af9a344fff62aba9f9d5d

Authored by jack
2 parents 9eab9def 6d78f08d

Merge branch 'develop' of http://120.78.57.84/Elvis/SunvoteEducation into develop

resources/mybatis1/sunvote/HomeworkMapper.xml
... ... @@ -28,6 +28,7 @@
28 28 GET_SCORE_PERSENT,
29 29 GET_MAX_SCORE,
30 30 QUESTION_COUNT,
  31 + ANSWER_PERSENT,
31 32 HOMEWORK_ID
32 33 </sql>
33 34  
... ... @@ -52,6 +53,7 @@
52 53 #{GET_SCORE_PERSENT},
53 54 #{GET_MAX_SCORE},
54 55 #{QUESTION_COUNT},
  56 + #{ANSWER_PERSENT},
55 57 #{HOMEWORK_ID}
56 58 </sql>
57 59  
... ... @@ -117,6 +119,8 @@
117 119 GET_MAX_SCORE = #{GET_MAX_SCORE},
118 120 </if><if test="QUESTION_COUNT != null and QUESTION_COUNT != ''">
119 121 QUESTION_COUNT = #{QUESTION_COUNT},
  122 + </if><if test="ANSWER_PERSENT != null and ANSWER_PERSENT != ''">
  123 + ANSWER_PERSENT = #{ANSWER_PERSENT},
120 124 </if>
121 125 HOMEWORK_ID = HOMEWORK_ID
122 126 where
... ... @@ -288,6 +292,7 @@
288 292 SELECT
289 293 sv_homeworkreport.STUDENT_ID,
290 294 sv_homeworkreport.ANSWER,
  295 + sv_homeworkreport.RANK,
291 296 sv_homeworkreport.STUDENT_NAME,
292 297 sv_homework.ALL_SCORE as PAPER_SCORE,
293 298 sv_homework.GET_SCORE as AVG_SCORE,
... ...