luolinsong 2 miesięcy temu
rodzic
commit
d25450dbad

+ 1 - 1
fs-service/src/main/resources/mapper/his/FsUserMapper.xml

@@ -1819,7 +1819,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="userId != null and userId != 0 ">
             AND l.company_user_id = #{userId}
         </if>
-        <if test="companyId != null and companyId == 0 ">
+        <if test="userId != null and userId == 0 ">
             and l.company_id = #{companyId}
         </if>
         <if test="periodId != null and periodId != ''">