|
|
@@ -139,10 +139,6 @@ public class DownService implements IDownService {
|
|
|
}
|
|
|
|
|
|
private void saveLog(ScenePlus scenePlus,Integer sceneVersion,String type,Integer isObj){
|
|
|
- //离线包调用,不记录场景下载日志
|
|
|
- if("offline".equals(type)){
|
|
|
- return;
|
|
|
- }
|
|
|
String userName = (String) StpUtil.getExtra("userName");
|
|
|
String nickName = (String) StpUtil.getExtra("nickName");
|
|
|
String deptId = tmDepartmentService.getDeptId();
|
|
|
@@ -160,6 +156,7 @@ public class DownService implements IDownService {
|
|
|
sceneDownloadLogEntity.setStatus(0);
|
|
|
sceneDownloadLogEntity.setVersion(sceneVersion);
|
|
|
sceneDownloadLogEntity.setIsObj(isObj);
|
|
|
+ sceneDownloadLogEntity.setDownType(type);
|
|
|
sceneDownloadLogService.save(sceneDownloadLogEntity);
|
|
|
}
|
|
|
|