傅行帆 5 years ago
parent
commit
c008725bf9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main/resources/mapper/TaPersonFromRecordMapper.xml

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

9
             t.event_type,
9
             t.event_type,
10
             t.org_id,
10
             t.org_id,
11
             t.create_date,
11
             t.create_date,
12
-            sum( IF ( p.photo IS NOT NULL OR p.tel IS NOT NULL, 1, 0 ) ) AS registered_num
12
+            sum( IF ( p.phone IS NOT NULL OR p.tel IS NOT NULL, 1, 0 ) ) AS registered_num
13
         FROM
13
         FROM
14
             ta_person_from_record t
14
             ta_person_from_record t
15
             LEFT JOIN ta_person p ON t.person_id = p.person_id
15
             LEFT JOIN ta_person p ON t.person_id = p.person_id