|
@@ -28,10 +28,10 @@ class FinancialCheck extends Base
|
|
|
'create_time' =>'datetime',//
|
|
|
];
|
|
|
protected $createTime = 'create_time';
|
|
|
- public function ManagerProduct(){
|
|
|
- return $this->hasOne('ManagerProduct','code','code');
|
|
|
+ public function FinancialTz(){
|
|
|
+ return $this->hasOne(FinancialTz::class,'ktCode','code');
|
|
|
}
|
|
|
public function ProductCheck(){
|
|
|
- return $this->hasOne('ProductCheck','checkCode','code');
|
|
|
+ return $this->hasOne(ProductCheck::class,'checkCode','code');
|
|
|
}
|
|
|
}
|