Browse Source

考级报名

zouxuan 2 years ago
parent
commit
0ae76701ab

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

@@ -326,7 +326,7 @@
 
     <select id="getUserLevelDegrees" resultMap="DegreeRegistration">
         select * from degree_registration
-        where user_id_ = #{userId} and degree_id_ = #{degreeId} and ype_ = #{type}
+        where user_id_ = #{userId} and degree_id_ = #{degreeId} and type_ = #{type}
           AND FIND_IN_SET(level_,#{levels}) AND subject_id_ = #{subjectId} AND status_ = 2 LIMIT 1
     </select>
     <select id="getLockByOrderId" resultMap="DegreeRegistration">