From eb5a6e5a54efa997971beffc909bcadc06dc8886 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期一, 21 四月 2025 10:45:16 +0800 Subject: [PATCH] 1、江海测试系统设备类型默认为阀; 2、完善通信中间件测试消息推送代码; 3、增加队列数据结构注释; 4、121服务器相关的初始化配置文件bug修改; 5、其他注释完善。 --- 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