瀏覽代碼

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}