车架去重处理结果搜索调试

master
zcstatham 2 years ago
parent 784d3fd8b1
commit fe15721363
  1. 1
      app/controller/Index.php

@ -64,6 +64,7 @@ class Index extends BaseController
} }
if(isset($params['data_check']) && $params['data_check'] == 'car_frame_check'){ if(isset($params['data_check']) && $params['data_check'] == 'car_frame_check'){
$query = Db::table('repeat_data_t')->alias('car_info_t')->field('car_info_t.*') $query = Db::table('repeat_data_t')->alias('car_info_t')->field('car_info_t.*')
->where($map)
->order('repeat_data_t.car_frame_no desc'); ->order('repeat_data_t.car_frame_no desc');
if (isset($params['is_delete_frame']) && $params['is_delete_frame'] > 0) { if (isset($params['is_delete_frame']) && $params['is_delete_frame'] > 0) {
$query = $query->where('repeat_data_t.repeat_id', '=', $params['is_delete_frame']); $query = $query->where('repeat_data_t.repeat_id', '=', $params['is_delete_frame']);

Loading…
Cancel
Save