傅行帆 5 years ago
parent
commit
e6d0d6f01a

+ 1
- 1
src/main/resources/mapper/statistic/TsCustomerGenderStatisticMapper.xml View File

46
                     t.enlist_id,
46
                     t.enlist_id,
47
                     c.*
47
                     c.*
48
                 FROM
48
                 FROM
49
-                    ts_activity_dynamic_enlist t
49
+                    ta_activity_dynamic_enlist t
50
                     LEFT JOIN ta_recommend_customer c ON t.person_id = c.person_id
50
                     LEFT JOIN ta_recommend_customer c ON t.person_id = c.person_id
51
                     AND t.building_id = c.building_id
51
                     AND t.building_id = c.building_id
52
                     AND t.org_id = c.org_id
52
                     AND t.org_id = c.org_id

+ 1
- 1
src/main/resources/mapper/statistic/TsCustomerStatisticDailyMapper.xml View File

37
             count( DISTINCT ( c.customer_id ) ) as customer_num,
37
             count( DISTINCT ( c.customer_id ) ) as customer_num,
38
             c.org_id
38
             c.org_id
39
         FROM
39
         FROM
40
-            ts_activity_dynamic_enlist t
40
+            ta_activity_dynamic_enlist t
41
             LEFT JOIN ta_recommend_customer c ON t.person_id = c.person_id
41
             LEFT JOIN ta_recommend_customer c ON t.person_id = c.person_id
42
             AND t.building_id = c.building_id
42
             AND t.building_id = c.building_id
43
             AND t.org_id = c.org_id
43
             AND t.org_id = c.org_id

+ 1
- 1
src/main/resources/mapper/statistic/TsCustomerStatisticMonthlyMapper.xml View File

34
             count( DISTINCT ( c.customer_id ) ) as customer_num,
34
             count( DISTINCT ( c.customer_id ) ) as customer_num,
35
             c.org_id
35
             c.org_id
36
         FROM
36
         FROM
37
-            ts_activity_dynamic_enlist t
37
+            ta_activity_dynamic_enlist t
38
             LEFT JOIN ta_recommend_customer c ON t.person_id = c.person_id
38
             LEFT JOIN ta_recommend_customer c ON t.person_id = c.person_id
39
             AND t.building_id = c.building_id
39
             AND t.building_id = c.building_id
40
             AND t.org_id = c.org_id
40
             AND t.org_id = c.org_id