挪录入
This commit is contained in:
1 parent
9bc6bb01a4
commit
701436b09f
19 files changed
+737
-334
No files matched your search
@@ -618,16 +618,16 @@ class Index extends AdminBase
|
||||
|
||||
$data = $chengji
|
||||
->where('kaohao_id',$src['kaohao'])
|
||||
->field('id,kaohao_id,subject_id,user_id,defen,update_time')
|
||||
->field('id,kaohao_id,subject_id,teacher_id,defen,update_time')
|
||||
->order([$src['field']=>$src['order']])
|
||||
->with([
|
||||
'subjectName'=>function($query){
|
||||
$query->field('id,title');
|
||||
},
|
||||
'userName'=>function($query){
|
||||
$query->field('id,school_id,xingming')
|
||||
$query->field('id,danwei_id,xingming')
|
||||
->with([
|
||||
'adSchool'=>function($query){
|
||||
'jsDanwei'=>function($query){
|
||||
$query->field('id,jiancheng');
|
||||
}
|
||||
]);
|
||||
|
||||
Reference in new issue
Block a user