Просмотр исходного кода

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

cgp 1 день назад
Родитель
Сommit
9b6ecba40b

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