fix: 查看问题
This commit is contained in:
parent
f57a04521c
commit
a94575c6f1
@ -744,7 +744,7 @@ export class BaseJudge {
|
||||
}
|
||||
// 考试结束
|
||||
case 5: {
|
||||
dConsole.info(JudgeTag, "考试结束")
|
||||
dConsole.info(JudgeTag, "考试结束", ksjs)
|
||||
that.ksjs = ksjs;
|
||||
dConsole.writeProcessData(ProcessDataEnumType.JudgeExamData, JSON.stringify({
|
||||
method: 'examJudgeEndExam'
|
||||
|
||||
@ -197,7 +197,8 @@ export const TheExamIsOver = async (judgeUI: JudgePage, that: JudgeBusiness, cal
|
||||
zp: photoBase64,
|
||||
jssj: dayTs().format("YYYY-MM-DD HH:mm:ss"),
|
||||
kscj: (judgeUI.totalScore * 1) > 0 ? judgeUI.totalScore : 0,
|
||||
kslc: Math.ceil(((ksjs?.qjjl! + ksjs?.dcjl!) || 0) / 100),
|
||||
// kslc: Math.ceil(((ksjs?.qjjl + ksjs?.dcjl) || 0) / 100),
|
||||
kslc: Math.ceil(((ksjs?.qjjl + ksjs?.dcjl) || 0) / 100),
|
||||
dwlc: [ksjs.d1, ksjs.d2, ksjs.d3, ksjs.d4, ksjs!.d5].map((d, index) => `${index + 1},${Math.floor(d / 100)}`)
|
||||
.join(';'),
|
||||
}
|
||||
|
||||
@ -52,8 +52,6 @@ export function SqlInsertTable(tableName: string, data: Array<RecordType>, delFl
|
||||
})
|
||||
}
|
||||
|
||||
// 参数平台
|
||||
|
||||
// TODO 后续废弃这个方法,直接调用SqlInsertTable
|
||||
// 依据数组和表名更新sql表
|
||||
export function UpdateTableByArray(tableName: string, arr: Array<RecordType>): Promise<boolean> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user