소스 검색

fix 业务层次

he2802 3 년 전
부모
커밋
3f5b8754dd
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeUserMapper.xml

+ 1 - 2
zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeUserMapper.xml

@@ -246,7 +246,6 @@
         LEFT JOIN user_profile up on u.user_id =up.user_id and up.goods_id = cgg.goods_id and up.type_status=1 and up.current_status = 1
         where 1=1
         and cgu.`status` =1
-        and cgu.change_grade =0
         <if test="gradeId != null and gradeId !='' ">
             and cgu.grade_id = #{gradeId}
         </if>
@@ -297,7 +296,7 @@
         class_grade_user cgu
         LEFT JOIN class_grade cg ON cgu.grade_id = cg.grade_id
         LEFT JOIN `user` u ON u.user_id = cgu.user_id
-        where 1=1 
+        where 1=1
         <if test="userId != null and userId !='' ">
             and u.user_id = #{userId}
         </if>