浏览代码

完善未绑定用户的搜索条件

cgp 1 天之前
父节点
当前提交
9b6ecba40b
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      fs-service/src/main/resources/mapper/hisStore/FsUserInformationCollectionMapper.xml

+ 3 - 0
fs-service/src/main/resources/mapper/hisStore/FsUserInformationCollectionMapper.xml

@@ -217,6 +217,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="doctorName != null and doctorName != ''">
                 AND fd.doctor_name LIKE CONCAT('%', #{doctorName}, '%')
             </if>
+            <if test="companyUserId != null">
+                AND infocollect.company_user_id = #{companyUserId}
+            </if>
         </where>
         ORDER BY infocollect.create_time DESC
     </select>