From 0e25fabc3a96cd35ca8824e841532c04389e006d Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期二, 02 九月 2025 10:10:51 +0800
Subject: [PATCH] feat:开发

---
 FlexJobApi.UserServer.Application/EnterpriseWallets/Commands/AlipayFundExpandindirectCommandHandler.cs |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/FlexJobApi.UserServer.Application/EnterpriseWallets/Commands/AlipayFundExpandindirectCommandHandler.cs b/FlexJobApi.UserServer.Application/EnterpriseWallets/Commands/AlipayFundExpandindirectCommandHandler.cs
index 2b719b0..3e6d046 100644
--- a/FlexJobApi.UserServer.Application/EnterpriseWallets/Commands/AlipayFundExpandindirectCommandHandler.cs
+++ b/FlexJobApi.UserServer.Application/EnterpriseWallets/Commands/AlipayFundExpandindirectCommandHandler.cs
@@ -77,7 +77,23 @@
             {
                 await rep.InsertNowAsync(entity);
             }
-            var model = entity.Adapt<AlipayFundExpandindirectCreateModel>();
+
+            var model = new AlipayFundExpandindirectCreateModel();
+            model.ProductCode = entity.ProductCode;
+            model.BizScene = entity.BizScene;
+            model.OutBizNo = entity.OutBizNo;
+            model.BizType = entity.BizType;
+            model.OriginalOrderId = entity.OriginalOrderId;
+            model.SceneCode = entity.SceneCode;
+            model.SceneDirections = entity.SceneDirections;
+            model.SceneImage = entity.SceneImage;
+            model.SceneQualificationImage = entity.SceneQualificationImage;
+            model.Sites = entity.Sites;
+            var secondaryPartnerInfo = new SecondaryPartnerInfo();
+            secondaryPartnerInfo.Identity = entity.Identity;
+            secondaryPartnerInfo.Name = entity.Name;
+            secondaryPartnerInfo.IdentityType = entity.IdentityType;
+            model.SecondaryPartnerInfo = secondaryPartnerInfo;
             var result = alipayUtils.FundExpandindirectCreate(model, $"{options.Value.NotifyUrl}/api/user/enterpriseWallet/alipayFundExpandindirectCreateNotify");
             if (result.IsError)
             {

--
Gitblit v1.9.1