소스 검색

fix 回访功能

周箭河 5 년 전
부모
커밋
f5f48d1ad7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      mec-biz/src/main/resources/config/mybatis/StudentVisitMapper.xml

+ 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}