- follow the standard coding

This commit is contained in:
weiken.intex
2021-07-26 15:42:03 +08:00
parent 504a07cc59
commit eeb88b6892
13 changed files with 17 additions and 38 deletions
@@ -48,7 +48,7 @@ class ContractObligationDependencyModule extends BaseController
if (!empty($status) > 0) {
$query->whereIn('status', $status);
}else{
$query->whereIn('status', $status_default);
$query->whereIn('status', [config('constants.contract_dependency.status.active')]);
}
$query->where('user_id', Auth::guard('user-api')->user()->id);