周箭河 5 rokov pred
rodič
commit
f5f48d1ad7

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/StudentVisitMapper.xml

@@ -109,8 +109,8 @@
             <if test="student != null and student != ''">
                 AND (s.id_ = #{student} OR s.username_ LIKE CONCAT('%',#{student},'%'))
             </if>
-            <if test="organIdList != null and organIdList != ''">
-                AND FIND_IN_SET(sv.organ_id_,#{organIdList})
+            <if test="organId != null and organId != ''">
+                AND FIND_IN_SET(sv.organ_id_,#{organId})
             </if>
             <if test="visiterType != null">
                 AND sv.visiter_type_ = #{visiterType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}