From 10b88a7ff17caf92f3d4e8a550c1085a70c2517a Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期四, 28 五月 2026 17:43:26 +0800
Subject: [PATCH] Merge dev_New_pro into dev_山西_晋和园_pro

---
 src/main/java/com/ruoyi/account/controller/purchase/AccountPurchasePaymentController.java |   71 +++++++++++++++++++++++++++++++++++
 1 files changed, 71 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/ruoyi/account/controller/purchase/AccountPurchasePaymentController.java b/src/main/java/com/ruoyi/account/controller/purchase/AccountPurchasePaymentController.java
new file mode 100644
index 0000000..c73e547
--- /dev/null
+++ b/src/main/java/com/ruoyi/account/controller/purchase/AccountPurchasePaymentController.java
@@ -0,0 +1,71 @@
+package com.ruoyi.account.controller.purchase;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.ruoyi.account.bean.dto.purchase.AccountPurchasePaymentDto;
+import com.ruoyi.account.bean.vo.purchase.AccountPurchasePaymentVo;
+import com.ruoyi.account.pojo.purchase.AccountPurchasePayment;
+import com.ruoyi.account.service.purchase.AccountPurchasePaymentService;
+import com.ruoyi.framework.aspectj.lang.annotation.Log;
+import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
+import com.ruoyi.framework.web.domain.R;
+import io.swagger.v3.oas.annotations.Operation;
+import io.swagger.v3.oas.annotations.tags.Tag;
+import jakarta.servlet.http.HttpServletResponse;
+import lombok.RequiredArgsConstructor;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.Arrays;
+
+/**
+ * <p>
+ * 璐㈠姟绠$悊--浠樻鍗� 鍓嶇鎺у埗鍣�
+ * </p>
+ *
+ * @author 鑺杞欢锛堟睙鑻忥級鏈夐檺鍏徃
+ * @since 2026-05-19 04:14:51
+ */
+@RestController
+@RequestMapping("/accountPurchasePayment")
+@Tag(name = "璐㈠姟绠$悊--浠樻鍗�")
+@RequiredArgsConstructor
+public class AccountPurchasePaymentController {
+
+    private final AccountPurchasePaymentService accountPurchasePaymentService;
+
+    @GetMapping("/listPageAccountPurchasePayment")
+    @Log(title = "浠樻鍗曞彴璐�", businessType = BusinessType.OTHER)
+    @Operation(summary = "璐㈠姟绠$悊--浠樻鍗曞彴璐�")
+    public R<IPage<AccountPurchasePaymentVo>> listPageAccountPurchasePayment(Page page, AccountPurchasePaymentDto accountPurchasePaymentDto) {
+        IPage<AccountPurchasePaymentVo> listPage = accountPurchasePaymentService.listPageAccountPurchasePayment(page,accountPurchasePaymentDto);
+        return R.ok(listPage);
+    }
+
+    @PostMapping("/addAccountPurchasePayment")
+    @Log(title = "鏂板浠樻鍗�", businessType = BusinessType.INSERT)
+    @Operation(summary = "璐㈠姟绠$悊--鏂板浠樻鍗�")
+    public R addAccountPurchasePayment(@RequestBody AccountPurchasePayment accountPurchasePayment) {
+        return R.ok(accountPurchasePaymentService.addAccountPurchasePayment(accountPurchasePayment));
+    }
+
+    @PutMapping("/updateAccountPurchasePayment")
+    @Log(title = "缂栬緫浠樻鍗�", businessType = BusinessType.UPDATE)
+    @Operation(summary = "璐㈠姟绠$悊--缂栬緫浠樻鍗�")
+    public R updateAccountPurchasePayment(@RequestBody AccountPurchasePayment accountPurchasePayment) {
+        return R.ok(accountPurchasePaymentService.updateById(accountPurchasePayment));
+    }
+
+    @DeleteMapping("/deleteAccountPurchasePayment")
+    @Log(title = "鍒犻櫎浠樻鍗�", businessType = BusinessType.DELETE)
+    @Operation(summary = "璐㈠姟绠$悊--鍒犻櫎浠樻鍗�")
+    public R deleteAccountPurchasePayment(@RequestParam("ids") Long[] ids) {
+        return R.ok(accountPurchasePaymentService.deleteAccountPurchasePayment(Arrays.asList(ids)));
+    }
+
+    @PostMapping("/exportAccountPurchasePayment")
+    @Operation(summary = "瀵煎嚭浠樻鍗曟枃浠�")
+    @Log(title = "瀵煎嚭浠樻鍗曟枃浠�", businessType = BusinessType.EXPORT)
+    public void exportAccountPurchasePayment(HttpServletResponse response, AccountPurchasePaymentDto accountPurchasePaymentDto) {
+        accountPurchasePaymentService.exportAccountPurchasePayment(response,accountPurchasePaymentDto);
+    }
+}

--
Gitblit v1.9.3