Browse Source

[fix]
1、解决发布游记报错的问题

chenchen 4 months ago
parent
commit
6eb69a8b7f

+ 1 - 4
application-webadmin/src/main/java/com/tourism/webadmin/back/service/impl/TourismProjectTravelNotesWriteServiceImpl.java

@@ -3,13 +3,10 @@ package com.tourism.webadmin.back.service.impl;
 import cn.hutool.core.collection.CollUtil;
 import com.alibaba.fastjson.JSONObject;
 import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
-import com.tourism.webadmin.app.website.vo.TravelNotesWriteDTO;
 import com.tourism.webadmin.back.model.constant.AuditState;
 import com.tourism.webadmin.back.service.*;
 import com.tourism.webadmin.back.dao.*;
 import com.tourism.webadmin.back.model.*;
-import com.tourism.webadmin.config.DataSourceType;
-import com.tourism.common.core.annotation.MyDataSource;
 import com.tourism.common.core.base.dao.BaseDaoMapper;
 import com.tourism.common.core.constant.GlobalDeletedFlag;
 import com.tourism.common.core.object.MyRelationParam;
@@ -205,7 +202,7 @@ public class TourismProjectTravelNotesWriteServiceImpl extends BaseService<Touri
         MyModelUtil.fillCommonsForInsert(tourismProjectTravelNotesWrite);
         tourismProjectTravelNotesWrite.setDataState(GlobalDeletedFlag.NORMAL);
         MyModelUtil.setDefaultValue(tourismProjectTravelNotesWrite, "reason", "");
-        MyModelUtil.setDefaultValue(tourismProjectTravelNotesWrite, "travelNotesBannerUrl", "");
+        MyModelUtil.setDefaultValue(tourismProjectTravelNotesWrite, "travelNotesBanner", "");
         MyModelUtil.setDefaultValue(tourismProjectTravelNotesWrite, "tourismTavelNotesUrl", "");
         MyModelUtil.setDefaultValue(tourismProjectTravelNotesWrite, "state", AuditState.DRAFT);
         return tourismProjectTravelNotesWrite;