0
This commit is contained in:
1 parent
6da1753ce1
commit
81a116d1e6
14 files changed
+6
-7
No files matched your search
@@ -649,7 +649,7 @@ class TongjiBj extends BaseModel
|
||||
// 教师关联
|
||||
public function bjTeacher()
|
||||
{
|
||||
return $this->belongsTo('\app\teacher\model\Teacher', 'teacher_id', 'id');
|
||||
return $this->belongsTo('\app\admin\model\Admin', 'teacher_id', 'id');
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@ class Student extends BaseModel
|
||||
if(strlen($shengri) == 0 ){
|
||||
return '';
|
||||
};
|
||||
$tearch = new \app\teacher\model\Teacher;
|
||||
$age = \app\facade\Tools::fBirth($shengri, 1);
|
||||
return $age;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ class School extends AdminBase
|
||||
,'paixu'
|
||||
,'status'
|
||||
,'kaoshi'
|
||||
,'dw_teacher_count'
|
||||
,'dw_admin_count'
|
||||
,'dwXingzhi'=>['title']
|
||||
,'dwXueduan'=>['title']
|
||||
,'dwJibie'=>['title']
|
||||
|
||||
Loaded 3 of 14 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user