소스 검색

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

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>