chenlei1231 5 ay önce
ebeveyn
işleme
d9732402d1

+ 1 - 1
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/enquiry/mapper/xml/AdwebSiteBlackEmailMapper.xml

@@ -11,7 +11,7 @@
         AND user_effective = 0
         AND sys_effective = 1
         AND waste_enquiry_type = 'email'
-        GROUP BY from_email) t3
+        GROUP BY from_email, site_id) t3
         ON t1.email = t3.from_email AND t1.site_id = t3.site_id
         LEFT JOIN (
         SELECT t1.email,SUM(t2.num) num,t1.site_id FROM adweb_site_black_email t1