zhangyuewww 1 year ago
parent
commit
7cde32a81e

+ 2 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/GeneralAuditInfoMapper.xml

@@ -7,6 +7,7 @@
         COUNT(id)
         FROM general_audit_info
         WHERE delete_flag = '0'
+        and  comp_id = #{compId}
         <if test="flag != null and flag != ''">
             <if test="flag == 0">
                 <if test="staffName != null and staffName != ''">
@@ -71,6 +72,7 @@
         create_date as createDate
         FROM general_audit_info
         WHERE delete_flag = '0'
+        and  comp_id = #{compId}
         <if test="flag != null and flag != ''">
             <if test="flag == 0">
                 <if test="staffName != null and staffName != ''">