| | |
| | | } |
| | | 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) |