diff --git a/web-infrastructure/src/main/resources/mapper/PersonnelMatchMapper.xml b/web-infrastructure/src/main/resources/mapper/PersonnelMatchMapper.xml index c64f324..0e787b2 100644 --- a/web-infrastructure/src/main/resources/mapper/PersonnelMatchMapper.xml +++ b/web-infrastructure/src/main/resources/mapper/PersonnelMatchMapper.xml @@ -38,9 +38,8 @@ finds_track_id = VALUES(finds_track_id), finds_id_card_no = VALUES(finds_id_card_no), finds_staff_name = VALUES(finds_staff_name), finds_corpinfo_id = VALUES(finds_corpinfo_id), finds_corpinfo_name = VALUES(finds_corpinfo_name), finds_department_name = VALUES(finds_department_name), - location_area_id = IF(finds_terminal_no <=> VALUES(finds_terminal_no), location_area_id, NULL), - location_area_name = IF(finds_terminal_no <=> VALUES(finds_terminal_no), location_area_name, NULL), - location_area_time = IF(finds_terminal_no <=> VALUES(finds_terminal_no), location_area_time, VALUES(last_sync_time)), + location_area_id = NULL, location_area_name = NULL, + location_area_time = VALUES(last_sync_time), finds_terminal_no = VALUES(finds_terminal_no), local_user_id = VALUES(local_user_id), local_mobile_no = VALUES(local_mobile_no), local_id_card_no = VALUES(local_id_card_no), match_status = VALUES(match_status), match_type = VALUES(match_type),