傅行帆 5 vuotta sitten
vanhempi
commit
c008725bf9
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      src/main/resources/mapper/TaPersonFromRecordMapper.xml

+ 1
- 1
src/main/resources/mapper/TaPersonFromRecordMapper.xml Näytä tiedosto

@@ -9,7 +9,7 @@
9 9
             t.event_type,
10 10
             t.org_id,
11 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 13
         FROM
14 14
             ta_person_from_record t
15 15
             LEFT JOIN ta_person p ON t.person_id = p.person_id