zouxuan 5 years ago
parent
commit
3c92e1adc3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      mec-biz/src/main/resources/config/mybatis/PracticeGroupMapper.xml

+ 3 - 0
mec-biz/src/main/resources/config/mybatis/PracticeGroupMapper.xml

@@ -438,6 +438,9 @@
             <if test="buyPractice != null and buyPractice == true">
                 AND b.firstBuyTime IS NOT NULL
             </if>
+            <if test="organId != null">
+                AND FIND_IN_SET(u.`organ_id_`,#{organId})
+            </if>
         </where>
     </sql>
 </mapper>