|
@@ -1279,11 +1279,13 @@ public class WorkServiceImpl extends ServiceImpl<WorkMapper, WorkEntity> impleme
|
|
|
// entity.setQrENCode(qrENCode);
|
|
|
this.save(entity);
|
|
|
|
|
|
+ //初始化数据库
|
|
|
+ this.initData(workAddDto, entity);
|
|
|
+
|
|
|
//创建tour.xml
|
|
|
krpanoService.saveTourXml(entity);
|
|
|
|
|
|
- //初始化数据库
|
|
|
- this.initData(workAddDto, entity);
|
|
|
+
|
|
|
|
|
|
return Result.success(BeanUtil.toBean(entity, WorkVo.class));
|
|
|
}
|