liangwenxuan 4 tygodni temu
rodzic
commit
d23f999475

+ 1 - 1
yudao-module-system/yudao-module-system-biz/src/main/resources/mapper/ElderlyInfoMapper.xml

@@ -451,7 +451,7 @@
             COUNT(1) AS totalCount,
             SUM(CASE WHEN ei.other_files IS NULL OR ei.other_files = '' THEN 1 ELSE 0 END) AS emptyOtherFilesCount
         FROM elderly_info ei
-        WHERE ei.deleted = 0 and ei.in_status = 1
+        WHERE ei.deleted = 0 and ei.in_status = 1 and ei.org_type = 1
           AND ei.tenant_id = #{tenantId}
     </select>