Browse Source

[fix]
1、修改误删的SaIgnore
2、增加漏提交的mapper

limeng 4 months ago
parent
commit
1a5cd54130

+ 2 - 0
application-webadmin/src/main/java/com/tourism/webadmin/app/website/controller/WebsiteTourismProjectTravelNotesController.java

@@ -71,6 +71,7 @@ public class WebsiteTourismProjectTravelNotesController {
      * @return 应答结果对象,包含查询结果集。
      */
     @OperationLog(type = SysOperationLogType.LIST)
+    @SaIgnore
     @GetMapping("/travelNotesPageList")
     public ResponseResult<MyPageData<TourTourismProjectTravelNotesVo>> travelNotesPageList(TourismProjectTravelNotesToWebDto tourismProjectTravelNotesToWebDto) {
         MyPageData<TourTourismProjectTravelNotesVo> tourTourismProjectTravelNotesList = basicToWebServicel.getTravelNotesPageList(tourismProjectTravelNotesToWebDto);
@@ -133,6 +134,7 @@ public class WebsiteTourismProjectTravelNotesController {
      */
     @OperationLog(type = SysOperationLogType.ADD)
     @GetMapping("/travelNotesViewCountAdd")
+    @SaIgnore
     public ResponseResult<Void> travelNotesViewCountAdd(@RequestParam Long travelNotesId) {
         basicToWebServicel.travelNotesViewCountAdd(travelNotesId);
         return ResponseResult.success();

+ 33 - 0
application-webadmin/src/main/java/com/tourism/webadmin/back/dao/TourismTravelNotesContentWriteMapper.java

@@ -0,0 +1,33 @@
+package com.tourism.webadmin.back.dao;
+
+import com.tourism.common.core.base.dao.BaseDaoMapper;
+import com.tourism.webadmin.back.model.TourismTravelNotesContentWrite;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.*;
+
+/**
+ * 发布游记的文本框数据操作访问接口。
+ *
+ * @author 吃饭睡觉
+ * @date 2024-09-06
+ */
+public interface TourismTravelNotesContentWriteMapper extends BaseDaoMapper<TourismTravelNotesContentWrite> {
+
+    /**
+     * 批量插入对象列表。
+     *
+     * @param tourismTravelNotesContentWriteList 新增对象列表。
+     */
+    void insertList(List<TourismTravelNotesContentWrite> tourismTravelNotesContentWriteList);
+
+    /**
+     * 获取过滤后的对象列表。
+     *
+     * @param tourismTravelNotesContentWriteFilter 主表过滤对象。
+     * @param orderBy 排序字符串,order by从句的参数。
+     * @return 对象列表。
+     */
+    List<TourismTravelNotesContentWrite> getTourismTravelNotesContentWriteList(
+            @Param("tourismTravelNotesContentWriteFilter") TourismTravelNotesContentWrite tourismTravelNotesContentWriteFilter, @Param("orderBy") String orderBy);
+}