同行电话导出调试3

master
zhaocheng 2 years ago
parent 64733bcbea
commit 8962d636d0
  1. 2
      extend/service/CarInfoHandle.php

@ -153,7 +153,7 @@ class CarInfoHandle
->where('repeat_frame_t.source', $data['source_id']);
} else if ($data['export_table'] == 'peer_phone_t') {
$query = $query->rightJoin('peer_phone_t', 'peer_phone_t.phone = car_info_t.car_phone')
->field('car_info_t.*')->order('car_info_t.register_date asc')
->field('car_info_t.*')->order('car_info_t.car_phone asc')
->where([['peer_phone_t.source', '=', $data['source_id']],['car_info_t.car_number', 'REGEXP', '^[1-9][[:digit:]]{7}((0[[:digit:]])|(1[0-2]))(([0|1|2][[:digit:]])|3[0-1])[[:digit:]]{3}$|^[1-9][[:digit:]]{5}[1-9][[:digit:]]{3}((0[[:digit:]])|(1[0-2]))(([0|1|2][[:digit:]])|3[0-1])[[:digit:]]{3}([0-9]|X)$']]);
}
}else {

Loading…
Cancel
Save