门店端适配新表 及操盘手端工作台优化

This commit is contained in:
wong
2025-04-17 09:46:47 +08:00
parent 4f0ea36691
commit dbeb0aa559
23 changed files with 687 additions and 423 deletions

View File

@@ -56,9 +56,11 @@ class Workbench extends Model
return $this->hasOne('WorkbenchGroupCreate', 'workbenchId', 'id');
}
// 用户关联
/**
* 用户关联
*/
public function user()
{
return $this->hasOne('User', 'id', 'userId');
return $this->belongsTo('User', 'userId', 'id');
}
}