修改修改人
This commit is contained in:
1 parent
da16f34715
commit
c08e375183
4 files changed
+10
-10
No files matched your search
@@ -237,7 +237,7 @@ class Admin
|
||||
unset($oldList['update_time']);
|
||||
unset($oldList['create_time']);
|
||||
unset($oldList['delete_time']);
|
||||
$oldList['category'] === 1 ? $oldList['category_id'] = 11901
|
||||
$oldList['category'] == 1 ? $oldList['category_id'] = 11901
|
||||
: $oldList['category_id'] = 11902;
|
||||
$oldList['rongyu_id'] = $oldList['rongyuid'];
|
||||
$oldList['teacher_id'] = $oldList['teacherid'];
|
||||
@@ -393,7 +393,7 @@ class Admin
|
||||
unset($oldList['delete_time']);
|
||||
$oldList['ketiinfo_id'] = $oldList['ketiinfoid'];
|
||||
$oldList['teacher_id'] = $oldList['teacherid'];
|
||||
$oldList['category'] === 1 ? $oldList['category_id'] = 11901
|
||||
$oldList['category'] == 1 ? $oldList['category_id'] = 11901
|
||||
: $oldList['category_id'] = 11902;
|
||||
$newList[] = $oldList;
|
||||
}
|
||||
|
||||
@@ -151,7 +151,7 @@ class KetiInfo extends BaseController
|
||||
foreach ($list['hjteachers'] as $key => $value) {
|
||||
$canyulist[] = [
|
||||
'teacher_id' => $value
|
||||
,'category_id' => 1
|
||||
,'category_id' => 11901
|
||||
];
|
||||
}
|
||||
|
||||
@@ -296,7 +296,7 @@ class KetiInfo extends BaseController
|
||||
foreach ($list['hjteachers'] as $key => $value) {
|
||||
$canyulist[] = [
|
||||
'teacher_id' => $value
|
||||
,'category_id' => 1
|
||||
,'category_id' => 11901
|
||||
];
|
||||
}
|
||||
$data = $data->ktZcr()->saveAll($canyulist); # 添加新课题主持人
|
||||
@@ -412,7 +412,7 @@ class KetiInfo extends BaseController
|
||||
foreach ($list['cyteachers'] as $key => $value) {
|
||||
$canyulist[] = [
|
||||
'teacher_id' => $value
|
||||
,'category_id' => 2
|
||||
,'category_id' => 11902
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -162,7 +162,7 @@ class JsRongyuInfo extends BaseController
|
||||
foreach ($list['hjteachers'] as $key => $value) {
|
||||
$canyulist[] = [
|
||||
'teacher_id' => $value
|
||||
,'category_id' => 1
|
||||
,'category_id' => 11901
|
||||
];
|
||||
}
|
||||
if(!empty($list['cyteachers'])){
|
||||
@@ -170,7 +170,7 @@ class JsRongyuInfo extends BaseController
|
||||
foreach ($list['cyteachers'] as $key => $value) {
|
||||
$canyulist[] = [
|
||||
'teacher_id' => $value
|
||||
,'category_id' => 2
|
||||
,'category_id' => 11902
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -349,7 +349,7 @@ class JsRongyuInfo extends BaseController
|
||||
foreach ($list['hjteachers'] as $key => $value) {
|
||||
$canyulist[] = [
|
||||
'teacher_id' => $value
|
||||
,'category_id' => 1
|
||||
,'category_id' => 11901
|
||||
];
|
||||
}
|
||||
if(!empty($list['cyteachers'])){
|
||||
@@ -357,7 +357,7 @@ class JsRongyuInfo extends BaseController
|
||||
foreach ($list['cyteachers'] as $key => $value) {
|
||||
$canyulist[] = [
|
||||
'teacher_id' => $value
|
||||
,'category_id' => 2
|
||||
,'category_id' => 11902
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Loaded 3 of 4 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user