liangwenxuan 4 주 전
부모
커밋
d23f999475
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      yudao-module-system/yudao-module-system-biz/src/main/resources/mapper/ElderlyInfoMapper.xml

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