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

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeMapper.xml

@@ -648,6 +648,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         LEFT JOIN goods g ON cgg.goods_id = g.goods_id
         WHERE
         1 = 1
+        and cg.`status` != -1
         <if test="businessId != null">
             AND g.business_id = #{businessId}
         </if>