负责人

This commit is contained in:
2025-03-18 11:50:53 +08:00
parent 930ed06139
commit e37c3eae2d
4 changed files with 28 additions and 10 deletions

View File

@ -3,6 +3,7 @@
namespace plugin\ticket\model;
use think\admin\Model;
use think\admin\model\SystemUser;
class TicketDept extends Model
{
@ -10,4 +11,9 @@ class TicketDept extends Model
{
$query->where('status', '=', 1);
}
public function fz_user()
{
return $this->hasOne(SystemUser::class, 'id', 'fz_user_id');
}
}