|
@@ -115,7 +115,6 @@ class DataExportState_20 : ModelState {
|
|
|
} else {
|
|
|
if ("success".equals(json["Result"] as String?, ignoreCase = true)) {
|
|
|
it.status = 3
|
|
|
- task.resultJson = null
|
|
|
} else {
|
|
|
it.status = 21
|
|
|
}
|
|
@@ -132,12 +131,16 @@ class DataExportState_20 : ModelState {
|
|
|
// 发送检查通过通知
|
|
|
message = messageService.buildExportErrorMessage(it.projectId, it.userId ?: "",
|
|
|
"${folderFloorName.first}的${folderFloorName.second}模型上传失败,请重新上传", "模型导出数据失败: ${it.taskInfo!!.exportTask!!.resultJson}, 请联系开发人员")
|
|
|
+ // 20211030 mysql的json内"转义是\\",由于现有驱动bug,先不要resultjson了
|
|
|
+ it.taskInfo!!.exportTask!!.resultJson = null
|
|
|
dataService.modelFileService.update(it, UploadedState_1.projection)
|
|
|
monitorService.endExport(it.id!!, exportTime)
|
|
|
monitorService.modelExport(it.id!!, it.taskInfo!!.exportTask!!.resultJson, true)
|
|
|
messageService.sendMessage(message)
|
|
|
} else if (it.status == 3) {
|
|
|
message = messageService.buildRefreshMessage(it.projectId, it.userId ?: "")
|
|
|
+ // 20211030 mysql的json内"转义是\\",由于现有驱动bug,先不要resultjson了
|
|
|
+ it.taskInfo!!.exportTask!!.resultJson = null
|
|
|
dataService.modelFileService.update(it, UploadedState_1.projection)
|
|
|
monitorService.endExport(it.id!!, exportTime)
|
|
|
monitorService.modelExport(it.id!!)
|