root 4 년 전
부모
커밋
938c07153b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      app/Http/Controllers/Api/CompoundController.php

+ 1
- 1
app/Http/Controllers/Api/CompoundController.php 파일 보기

@@ -219,7 +219,7 @@ class CompoundController extends BaseController

$kpd = $request->get('kpd');
$success_upload = 0; $count_upload = 0;
$compound = Compound::with('ConfidentialFile')->where('kpd', $kpd)->first();
$compound = Compound::with('ConfidentialFile')->where('kpd', $kpd)->orWhere('non', $kpd)->first();
if(!empty($compound)){

if($request->hasFile('file')) {

Loading…
취소
저장