sunpengfei
2025-06-12 eca6412fa29bc0fefdd5b9e99d704fa7d258f4a1
LifePayment/LifePayment.Application/Sync/SyncService.cs
@@ -482,13 +482,13 @@
                    }
                    else
                    {
                        var updateTargetLifePayChannles = new SyncLifePayChannles();
                        ObjectMapper.Map(sourceLifePayChannles, updateTargetLifePayChannles);
                        updateTargetLifePayChannles.Id = targetLifePayChannles.Id;
                        await UpdateLifePayChannles(targetConnName, updateTargetLifePayChannles);
                        targetLifePayChannles = updateTargetLifePayChannles;
                        dicChannleIds.Add(sourceLifePayChannles.Id, targetLifePayChannles.Id);
                        logger.LogInformation($"已更新渠道:{targetLifePayChannles.ChannlesName}");
                        //var updateTargetLifePayChannles = new SyncLifePayChannles();
                        //ObjectMapper.Map(sourceLifePayChannles, updateTargetLifePayChannles);
                        //updateTargetLifePayChannles.Id = targetLifePayChannles.Id;
                        //await UpdateLifePayChannles(targetConnName, updateTargetLifePayChannles);
                        //targetLifePayChannles = updateTargetLifePayChannles;
                        //dicChannleIds.Add(sourceLifePayChannles.Id, targetLifePayChannles.Id);
                        //logger.LogInformation($"已更新渠道:{targetLifePayChannles.ChannlesName}");
                    }
                }
                catch (Exception ex)