update
This commit is contained in:
parent
4eba3d5d55
commit
61934129ad
@ -151,7 +151,7 @@ class CostProjectLogic extends BaseLogic
|
|||||||
*/
|
*/
|
||||||
public static function detail($params): array
|
public static function detail($params): array
|
||||||
{
|
{
|
||||||
return CostProject::findOrEmpty($params['id'])->toArray();
|
return CostProject::with(['contract'])->findOrEmpty($params['id'])->toArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function datas($name)
|
public static function datas($name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user