From aec4636e4fb430055feb66751da0e6c05bb864df Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期三, 30 四月 2025 16:25:30 +0800
Subject: [PATCH] fix(irrigatePlan): 修复终止灌溉计划时长设置错误- 将终止计划的默认时长从 9999 修改为 0 - 此修改确保在终止灌溉计划时,不会出现时长设置过长的问题

---
 pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/paymentMethod/PaymentMethodSv.java |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/paymentMethod/PaymentMethodSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/paymentMethod/PaymentMethodSv.java
new file mode 100644
index 0000000..2b3d303
--- /dev/null
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/paymentMethod/PaymentMethodSv.java
@@ -0,0 +1,34 @@
+package com.dy.pipIrrSell.paymentMethod;
+
+import com.dy.common.webUtil.QueryResultVo;
+import com.dy.pipIrrGlobal.daoSe.SePaymentMethodMapper;
+import com.dy.pipIrrGlobal.pojoSe.SePaymentMethod;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * @author ZhuBaoMin
+ * @date 2023/12/5 16:22
+ * @LastEditTime 2023/12/5 16:22
+ * @Description
+ */
+
+@Slf4j
+@Service
+public class PaymentMethodSv {
+    @Autowired
+    private SePaymentMethodMapper sePaymentMethodMapper;
+
+    /**
+     * 鑾峰彇鍏ㄩ儴鏈垹闄や粯娆炬柟寮�
+     * @return
+     */
+    public QueryResultVo<List<SePaymentMethod>> getPaymentMethods() {
+        QueryResultVo<List<SePaymentMethod>> rsVo = new QueryResultVo<>() ;
+        rsVo.obj = sePaymentMethodMapper.getPaymentMethods();
+        return rsVo ;
+    }
+}

--
Gitblit v1.8.0