From d9437e8c8b95377fde98f5ed9f66e54d9d59e4c6 Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期二, 08 四月 2025 17:27:22 +0800 Subject: [PATCH] 小程序获取项目列表取消分页功能 --- pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/wechatpay/PaymentSv.java | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 50 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/wechatpay/PaymentSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/wechatpay/PaymentSv.java new file mode 100644 index 0000000..4ac249f --- /dev/null +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/wechatpay/PaymentSv.java @@ -0,0 +1,50 @@ +package com.dy.pipIrrSell.wechatpay; + +import com.dy.pipIrrGlobal.daoSe.SeOpenIdMapper; +import com.dy.pipIrrGlobal.daoSe.SeVcRechargeMapper; +import com.dy.pipIrrGlobal.daoSe.SeWechatpayMapper; +import com.dy.pipIrrGlobal.pojoSe.SeOpenId; +import com.dy.pipIrrGlobal.pojoSe.SeVcRecharge; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +/** + * @author ZhuBaoMin + * @date 2024-03-06 13:51 + * @LastEditTime 2024-03-06 13:51 + * @Description + */ + +@Slf4j +@Service +public class PaymentSv { + @Autowired + private SeVcRechargeMapper seVcRechargeMapper; + + @Autowired + private SeOpenIdMapper seOpenIdMapper; + + @Autowired + private SeWechatpayMapper seWechatpayMapper; + + /** + * 鏍规嵁鐧诲綍鎬両D鑾峰彇鐧诲綍鎬佸璞� + * @param sessionId + * @return + */ + SeOpenId selectOne(Long sessionId) { + return seOpenIdMapper.selectByPrimaryKey(sessionId); + } + + /** + * 娣诲姞铏氭嫙鍗″厖鍊艰褰� + * @param po + * @return + */ + Long insertVCRecharge(SeVcRecharge po) { + seVcRechargeMapper.insert(po); + return po.getId(); + } + +} -- Gitblit v1.8.0