更新细节
This commit is contained in:
parent
3bfa3958fc
commit
142cbe6eb5
@ -186,6 +186,8 @@ class ExpenseReimbursementLogic extends BaseLogic
|
||||
$expenseReimbursement->detail;
|
||||
$expenseReimbursement->invoice;
|
||||
$expenseReimbursement->custom;
|
||||
$expenseReimbursement->org;
|
||||
$expenseReimbursement->dept;
|
||||
return $expenseReimbursement->toArray();
|
||||
}
|
||||
}
|
@ -58,4 +58,14 @@ class ExpenseReimbursement extends BaseModel
|
||||
return $this->belongsTo(\app\common\model\custom\Custom::class, 'customer_id');
|
||||
}
|
||||
|
||||
public function org()
|
||||
{
|
||||
return $this->hasOne(\app\common\model\dept\Orgs::class, 'id', 'org_id');
|
||||
}
|
||||
|
||||
public function dept()
|
||||
{
|
||||
return $this->hasOne(\app\common\model\dept\Dept::class, 'id', 'dept_id');
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user