|
@@ -47,7 +47,7 @@ public class SceneImportService {
|
|
|
sceneImportMapper.insert(po);
|
|
|
//记录日志
|
|
|
Map<String,String> dictMap = dictService.getDictMapByType(DictConstants.SCENE_TYPE);
|
|
|
- String type= dictMap.get(DictConstants.SCENE_ACCIDENT);
|
|
|
+ String type= dictMap.get(po.getSceneType());
|
|
|
String content = "创建" + type + "上传任务:" + po.getName() + "(ID:" + po.getId() + ")";
|
|
|
logService.logSceneUpload(LogConstants.SYS_LOG_SCENE_TASK_INSERT,content);
|
|
|
}else{
|