Browse Source

sql修复

luolinsong 2 months ago
parent
commit
d25450dbad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs-service/src/main/resources/mapper/his/FsUserMapper.xml

+ 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 != ''">