소스 검색

全流程接口

任敬轩 1 개월 전
부모
커밋
1139fee680
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Modules/Admin/Services/ApiService.php

+ 2 - 2
Modules/Admin/Services/ApiService.php

@@ -48,7 +48,7 @@ class ApiService{
         $result['data']   = [];
 
         //区域字典录入
-        $area = DB::connection('mysql_fwe10')->table('uf_zhxx_qlcqyzd')->where('szxmc',$params['xjdw'])->orderBy('areaid','desc')->get();
+        $area = DB::connection('mysql_fwe10')->table('uf_zhxx_qlcqyzd')->where('szxmc',$params['xjdw'])->where('IS_DELETE',0)->orderBy('areaid','desc')->get();
 
         $is_insert = true;
 
@@ -242,7 +242,7 @@ class ApiService{
 
             $area_list = DB::connection('mysql_fwe10')->table('uf_zhxx_qlcqyzd')
                 ->whereNotIn('qymc', $area_arr)
-                ->where('szxmc', $depart)->orderBy('areaid', 'asc')->get();
+                ->where('szxmc', $depart)->where('IS_DELETE',0)->orderBy('areaid', 'asc')->get();
             foreach ($area_list as $area) {
                 $res[] = [
                     'area'    => $area->qymc,