Bladeren bron

:loud_sound: 添加自动切面日志

Twelve615 1 jaar geleden
bovenliggende
commit
f60b8674ae

+ 4 - 3
airport/jeecg-boot-module-system/src/main/java/org/jeecg/modules/admin_order/controller/AdminOrderController.java

@@ -23,6 +23,7 @@ import javax.xml.parsers.DocumentBuilderFactory;
 import com.baomidou.mybatisplus.core.conditions.Wrapper;
 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.google.common.base.Strings;
+import org.jeecg.common.constant.CommonConstant;
 import org.jeecg.modules.admin.entity.AdminPlatform;
 import org.jeecg.modules.admin.service.IAdminPlatformService;
 import org.jeecg.modules.admin_file_export.entity.AdminFileExport;
@@ -224,7 +225,7 @@ public class AdminOrderController {
         return Result.OK(fileName);
     }
 
-    @AutoLog(value = "订单管理-分页列表导出PDF")
+    @AutoLog(value = "订单管理-分页列表导出PDF", logType = CommonConstant.OPERATE_TYPE_6)
     @ApiOperation(value = "订单管理-分页列表导出PDF", notes = "订单管理-分页列表查询")
     @RequestMapping(value = "/exportPdf/{id}", method = {RequestMethod.POST})
     public Result<?> exportPdf(@PathVariable String id) {
@@ -349,7 +350,7 @@ public class AdminOrderController {
         }
     }
 
-    @AutoLog(value = "订单管理-分页列表添加导出多个PDF任务")
+    @AutoLog(value = "订单管理-分页列表添加导出多个PDF任务", logType = CommonConstant.OPERATE_TYPE_6)
     @ApiOperation(value = "订单管理-分页列表添加导出多个PDF任务", notes = "订单管理-分页列表查询")
     @RequestMapping(value = "/addExportPdfFilesTask", method = {RequestMethod.POST})
     public Result<?> addExportPdfFilesTask(@RequestBody String[] orderIds) {
@@ -363,7 +364,7 @@ public class AdminOrderController {
         return Result.OK("任务已添加到下载列表", orderIds);
     }
 
-    @AutoLog(value = "订单管理-分页列表重新导出多个PDF任务")
+    @AutoLog(value = "订单管理-分页列表重新导出多个PDF任务", logType = CommonConstant.OPERATE_TYPE_6)
     @ApiOperation(value = "订单管理-分页列表重新导出多个PDF任务", notes = "订单管理-分页列表查询")
     @RequestMapping(value = "/reExportPdfFilesTask/{id}", method = {RequestMethod.POST})
     public Result<?> reExportPdfFilesTask(@PathVariable(required = true) String id) {