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/ReceiptPaymentController.java | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/ruoyi/sales/controller/ReceiptPaymentController.java b/src/main/java/com/ruoyi/sales/controller/ReceiptPaymentController.java
index aa10b54..1e851ed 100644
--- a/src/main/java/com/ruoyi/sales/controller/ReceiptPaymentController.java
+++ b/src/main/java/com/ruoyi/sales/controller/ReceiptPaymentController.java
@@ -42,6 +42,7 @@
* @return
*/
@PostMapping("/saveOrUpdate")
+ @Log(title = "鏂板鍥炴鐧昏", businessType = BusinessType.INSERT)
public AjaxResult receiptPaymentSaveOrUpdate (@RequestBody List<ReceiptPayment> receiptPayment) {
receiptPaymentService.receiptPaymentSaveOrUpdate(receiptPayment);
return AjaxResult.success();
@@ -53,6 +54,7 @@
* @return
*/
@PostMapping("/update")
+ @Log(title = "淇敼鍥炴鐧昏", businessType = BusinessType.UPDATE)
@Transactional(rollbackFor = Exception.class)
public AjaxResult receiptPaymentUpdate (@RequestBody ReceiptPayment receiptPayment) {
return AjaxResult.success(receiptPaymentService.receiptPaymentUpdate(receiptPayment));
@@ -64,6 +66,7 @@
* @return
*/
@DeleteMapping("/del")
+ @Log(title = "鍒犻櫎鍥炴鐧昏", businessType = BusinessType.DELETE)
@Transactional(rollbackFor = Exception.class)
public AjaxResult receiptPaymentDel (@RequestBody List<Integer> ids) {
return AjaxResult.success(receiptPaymentService.receiptPaymentDel(ids));
@@ -75,6 +78,7 @@
* @return
*/
@GetMapping("/customerInteractions")
+ @Log(title = "鏌ヨ瀹㈡埛寰�鏉ヨ褰�", businessType = BusinessType.OTHER)
public AjaxResult customerInteractions (InvoiceLedgerDto receiptPaymentDto) {
return AjaxResult.success(receiptPaymentService.customerInteractions(receiptPaymentDto));
}
@@ -85,6 +89,7 @@
* @return
*/
@GetMapping("/info")
+ @Log(title = "鏌ヨ鍥炴鐧昏璇︽儏", businessType = BusinessType.OTHER)
public AjaxResult receiptPaymentInfo (Integer id) {
return AjaxResult.success(receiptPaymentService.receiptPaymentInfo(id));
}
@@ -93,6 +98,7 @@
* 鏈湀鍥炴閲戦
*/
@GetMapping("/getReceiptAmount")
+ @Log(title = "鏌ヨ鏈湀鍥炴閲戦", businessType = BusinessType.OTHER)
public AjaxResult getReceiptAmount() {
try {
BigDecimal receiptAmount = receiptPaymentService.getReceiptAmount();
@@ -109,12 +115,14 @@
* @return
*/
@GetMapping("/bindInvoiceNoRegPage")
+ @Log(title = "鏌ヨ宸茬粡缁戝畾鍙戠エ鐨勫紑绁ㄥ彴璐�", businessType = BusinessType.OTHER)
public AjaxResult bindInvoiceNoRegPage(Page page, ReceiptPaymentDto receiptPaymentDto) {
return AjaxResult.success(receiptPaymentService.bindInvoiceNoRegPage(page,receiptPaymentDto));
}
@ApiModelProperty("瀵煎嚭鍥炴鐧昏")
@PostMapping("/export")
+ @Log(title = "瀵煎嚭鍥炴鐧昏", businessType = BusinessType.EXPORT)
public void export(HttpServletResponse response, String ids) {
if (ids == null || ids.isEmpty()) {
receiptPaymentService.exportPaymentList(response, null);
@@ -134,6 +142,7 @@
* @return
*/
@GetMapping("/invoiceInfo")
+ @Log(title = "鏌ヨ寮�绁ㄥ彴璐﹁鎯�", businessType = BusinessType.OTHER)
public AjaxResult invoiceInfo (Integer id) {
return AjaxResult.success(receiptPaymentService.invoiceInfo(id));
}
@@ -142,6 +151,7 @@
* 鏈湀搴旀敹,鍥炴閲戦
*/
@GetMapping("/getAmountMouth")
+ @Log(title = "鏌ヨ鏈湀搴旀敹,鍥炴閲戦", businessType = BusinessType.OTHER)
public AjaxResult getAmountMouth() {
return AjaxResult.success(receiptPaymentService.getAmountMouth());
}
@@ -149,6 +159,7 @@
/**
* 鏌ヨ鍥炴璁板綍
*/
+ @Log(title = "鏌ヨ鍥炴璁板綍", businessType = BusinessType.OTHER)
@GetMapping("/receiptPaymentHistoryList")
public TableDataInfo receiptPaymentHistoryList(ReceiptPaymentDto receiptPaymentDto) {
startPage();
@@ -160,6 +171,7 @@
* 鏌ヨ鍥炴璁板綍
*/
@GetMapping("/receiptPaymentHistoryListPage")
+ @Log(title = "鏌ヨ鍥炴璁板綍", businessType = BusinessType.OTHER)
public IPage<ReceiptPaymentDto> receiptPaymentHistoryListPage(Page page, ReceiptPaymentDto receiptPaymentDto) {
return receiptPaymentService.receiptPaymentHistoryListPage(page,receiptPaymentDto);
}
--
Gitblit v1.9.3