From d2038a623e02c2d7bb6b95a908832c0432adf2f0 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 21 五月 2026 13:46:21 +0800
Subject: [PATCH] 增加日志

---
 src/main/java/com/ruoyi/sales/controller/InvoiceLedgerController.java |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/ruoyi/sales/controller/InvoiceLedgerController.java b/src/main/java/com/ruoyi/sales/controller/InvoiceLedgerController.java
index ca1460c..a798d18 100644
--- a/src/main/java/com/ruoyi/sales/controller/InvoiceLedgerController.java
+++ b/src/main/java/com/ruoyi/sales/controller/InvoiceLedgerController.java
@@ -43,6 +43,7 @@
      */
     @PostMapping("/saveOrUpdate")
     @ApiOperation("寮�绁ㄥ彴璐︽柊澧�")
+    @Log(title = "寮�绁ㄥ彴璐︽柊澧�", businessType = BusinessType.UPDATE)
     public AjaxResult invoiceLedgerSaveOrUpdate(@RequestBody InvoiceRegistrationProductDto productDto) {
         invoiceLedgerService.invoiceLedgerSaveOrUpdate(productDto);
         return AjaxResult.success();
@@ -55,6 +56,7 @@
      */
     @DeleteMapping("/del")
     @ApiOperation("寮�绁ㄥ彴璐﹀垹闄�")
+    @Log(title = "寮�绁ㄥ彴璐﹀垹闄�", businessType = BusinessType.DELETE)
     public AjaxResult invoiceLedgerDel(@RequestBody List<Integer> ids) {
         invoiceLedgerService.invoiceLedgerDel(ids);
         return AjaxResult.success();
@@ -68,6 +70,7 @@
      */
     @GetMapping("/page")
     @ApiOperation("寮�绁ㄥ彴璐﹀垎椤垫煡璇�")
+    @Log(title = "寮�绁ㄥ彴璐﹀垎椤垫煡璇�", businessType = BusinessType.OTHER)
     public AjaxResult invoiceLedgerPage(Page page, InvoiceLedgerDto invoiceLedgerDto) {
         return AjaxResult.success(invoiceLedgerService.invoiceLedgerPage(page, invoiceLedgerDto));
     }
@@ -79,6 +82,7 @@
      */
     @GetMapping("/fileList")
     @ApiOperation("寮�绁ㄥ彴璐︽枃浠舵煡璇�")
+    @Log(title = "寮�绁ㄥ彴璐︽枃浠舵煡璇�", businessType = BusinessType.OTHER)
     public AjaxResult invoiceLedgerFileList(Integer invoiceLedgerId) {
         return AjaxResult.success(invoiceLedgerService.invoiceLedgerFileList(invoiceLedgerId));
     }
@@ -104,6 +108,7 @@
      */
     @PostMapping("/uploadFile")
     @ApiOperation("寮�绁ㄥ彴璐︽枃浠朵笂浼�")
+    @Log(title = "寮�绁ㄥ彴璐︽枃浠朵笂浼�", businessType = BusinessType.OTHER)
     public AjaxResult invoiceLedgerUploadFile(MultipartFile file) {
         try {
             return AjaxResult.success(invoiceLedgerService.invoiceLedgerUploadFile(file));
@@ -120,6 +125,7 @@
      */
     @PostMapping("/export")
     @ApiOperation("寮�绁ㄥ彴璐﹀鍑�")
+    @Log(title = "寮�绁ㄥ彴璐﹀鍑�", businessType = BusinessType.EXPORT)
     public void invoiceLedgerExport(HttpServletResponse response, InvoiceRegistrationProductDto invoiceRegistrationProductDto) {
         invoiceLedgerService.invoiceLedgerExport(response, invoiceRegistrationProductDto);
     }
@@ -131,6 +137,7 @@
      */
     @GetMapping("/info")
     @ApiOperation("寮�绁ㄥ彴璐﹁鎯�")
+    @Log(title = "寮�绁ㄥ彴璐﹁鎯�", businessType = BusinessType.OTHER)
     public AjaxResult invoiceLedgerInfo(Integer id) {
         return AjaxResult.success(invoiceLedgerService.invoiceLedgerDetail(id));
     }
@@ -142,6 +149,7 @@
      */
     @PostMapping("/commitFile")
     @ApiOperation("鏂囦欢鎻愪氦")
+    @Log(title = "鏂囦欢鎻愪氦", businessType = BusinessType.OTHER)
     public AjaxResult invoiceLedgerCommitFile(@RequestBody InvoiceLedgerDto invoiceLedgerDto) {
         try {
             invoiceLedgerService.invoiceLedgerCommitFile(invoiceLedgerDto);
@@ -158,6 +166,7 @@
      */
     @GetMapping("/list")
     @ApiOperation("寮�绁ㄥ彴璐︽煡璇�")
+    @Log(title = "寮�绁ㄥ彴璐︽煡璇�", businessType = BusinessType.OTHER)
     public AjaxResult invoiceLedgerList(InvoiceLedgerDto invoiceLedgerDto) {
         return AjaxResult.success(invoiceLedgerService.invoiceLedgerList(invoiceLedgerDto));
     }
@@ -170,6 +179,7 @@
      */
     @GetMapping("/salesAccount")
     @ApiOperation("瀹㈡埛閿�鍞褰�")
+    @Log(title = "瀹㈡埛閿�鍞褰�", businessType = BusinessType.OTHER)
     public AjaxResult invoiceLedgerSalesAccount(Page page, InvoiceLedgerDto invoiceLedgerDto) {
         return AjaxResult.success(invoiceLedgerService.invoiceLedgerSalesAccount(page,invoiceLedgerDto));
     }
@@ -179,6 +189,7 @@
      */
     @GetMapping("/getInvoiceAmount")
     @ApiOperation("鏈湀寮�绁ㄩ噾棰�")
+    @Log(title = "鏈湀寮�绁ㄩ噾棰�", businessType = BusinessType.OTHER)
     public AjaxResult getInvoiceAmount() {
         try {
             BigDecimal amount = invoiceLedgerService.getInvoiceAmount();
@@ -196,6 +207,7 @@
      */
     @GetMapping("/registrationProductPage")
     @ApiOperation("浜у搧寮�绁ㄨ褰曟煡璇�")
+    @Log(title = "浜у搧寮�绁ㄨ褰曟煡璇�", businessType = BusinessType.OTHER)
     public AjaxResult registrationProductPage(Page page, InvoiceRegistrationProductDto registrationProductDto) {
 
         return AjaxResult.success(invoiceLedgerService.registrationProductPage(page,registrationProductDto));
@@ -208,6 +220,7 @@
      */
     @GetMapping("/invoiceLedgerProductInfo")
     @ApiOperation("浜у搧寮�绁ㄨ鎯�")
+    @Log(title = "浜у搧寮�绁ㄨ鎯�", businessType = BusinessType.OTHER)
     public AjaxResult invoiceLedgerProductDetail(Integer id) {
         return AjaxResult.success(invoiceLedgerService.invoiceLedgerProductDetail(id));
     }
@@ -219,6 +232,7 @@
      */
     @DeleteMapping("delInvoiceLedger/{invoiceRegistrationProductId}")
     @ApiOperation("寮�绁ㄥ彴璐﹀垹闄�")
+    @Log(title = "寮�绁ㄥ彴璐﹀垹闄�", businessType = BusinessType.DELETE)
     public AjaxResult delInvoiceLedger(@PathVariable Integer invoiceRegistrationProductId) {
         try {
             invoiceLedgerService.delInvoiceLedger(invoiceRegistrationProductId);

--
Gitblit v1.9.3