|
@@ -49,7 +49,7 @@ class executor extends EventEmitter {
|
|
|
obj['subjectName'], obj['campusName'], obj['packageCode'], obj['batchCode'], obj['sheetCount'], obj['sliceCount'], obj['answers'],
|
|
|
obj['upload'] ? 1 : 0, obj['absent'] ? 1 : 0, obj['breach'] ? 1 : 0, obj['manualAbsent'] ? 1 : 0, obj['objectiveScore'].length > 0 ? obj['objectiveScore'] : 0,
|
|
|
obj['subjectiveScore'].length > 0 ? obj['subjectiveScore'] : 0, objList.join(';'), subList.join(';'), obj['subjectiveStatus'] || 'UNMARK',
|
|
|
- obj['examSite'], obj['examRoom'], obj['remark'], obj['college'] || '', obj['className'] || '', obj['teacher'] || ''
|
|
|
+ obj['examSite'], obj['examRoom'], obj['remark'], obj['college'] || '', obj['className'] || '', obj['teacher'] || '', obj['paperType'] || ''
|
|
|
])
|
|
|
}
|
|
|
//console.log('get:' + array.length)
|
|
@@ -59,8 +59,8 @@ class executor extends EventEmitter {
|
|
|
, package_code, batch_code, sheet_count, slice_count, answers, is_upload\
|
|
|
, is_absent, is_manual_absent, is_breach, is_exception\
|
|
|
, objective_score, subjective_score, objective_score_list, subjective_score_list, subjective_status\
|
|
|
- , exam_site, exam_room, remark, college, class_name, teacher) \
|
|
|
- values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?,?,?,?,?,?,?,?,?)',
|
|
|
+ , exam_site, exam_room, remark, college, class_name, teacher, paper_type) \
|
|
|
+ values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?,?,?,?,?,?,?,?,?,?)',
|
|
|
datas).then(() => {
|
|
|
count += datas.length
|
|
|
this.emit('student', count)
|