sunpengfei
2025-06-12 eca6412fa29bc0fefdd5b9e99d704fa7d258f4a1
fix:去掉更新渠道表
1个文件已修改
14 ■■■■ 已修改文件
LifePayment/LifePayment.Application/Sync/SyncService.cs 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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)