Pārlūkot izejas kodu

fix 系统用户

he2802 3 gadi atpakaļ
vecāks
revīzija
1709b022b0

+ 3 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/bank/vo/ExamVo.java

@@ -140,4 +140,7 @@ public class ExamVo {
 
 	@ApiModelProperty("做对总题数")
 	private Long rightQuestionNum;
+
+	@ApiModelProperty("做的题目数")
+	private Long doQuestionNum;
 }

+ 3 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/goods/vo/GoodsAttachedVo.java

@@ -66,4 +66,7 @@ public class GoodsAttachedVo {
 
 	@ApiModelProperty("做对总题数")
 	private Long rightQuestionNum;
+
+	@ApiModelProperty("做的题目数")
+	private Long doQuestionNum;
 }

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/bank/QuestionChapterExamMapper.xml

@@ -35,6 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="totalScore" column="total_score"/>
         <result property="totalQuestionNum" column="total_question_num"/>
         <result property="rightQuestionNum" column="right_question_num"/>
+        <result property="doQuestionNum" column="do_question_num"/>
     </resultMap>
 
     <select id="getList" parameterType="com.zhongzheng.modules.bank.bo.QuestionChapterExamQueryBo" resultMap="QuestionChapterExamResultVo">

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/goods/GoodsAttachedMapper.xml

@@ -28,6 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 		<result property="totalScore" column="total_score"/>
 		<result property="totalQuestionNum" column="total_question_num"/>
 		<result property="rightQuestionNum" column="right_question_num"/>
+		<result property="doQuestionNum" column="do_question_num"/>
     </resultMap>
 
     <select id="selectList" parameterType="com.zhongzheng.modules.goods.bo.GoodsAttachedQueryBo" resultMap="GoodsAttachedResultVo">

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/system/SysUserMapper.xml

@@ -35,7 +35,7 @@
         FROM
             sys_user_role ur
         LEFT JOIN sys_role r ON r.role_id = ur.role_id
-        where u.del_flag = '0' and ur.user_id =#{user_id}
+        where  ur.user_id =#{user_id}
     </select>
 
     <resultMap id="deptResult" type="SysDept">