style(SwapModule): 格式化代码

- 在 SwapDealService.cs 中标准化了多行参数的缩进和换行
- 修复了 SwapTradeBaseService.cs 中的条件运算符周围的空格
- 统一了方法调用中参数的排列格式
- 改进了代码的可读性和一致性
- 遵循了团队的代码风格规范
This commit is contained in:
张名锐
2026-08-11 12:33:34 +08:00
parent 2e75e62bbc
commit b0cdf0bcbc
2 changed files with 11 additions and 5 deletions
@@ -369,7 +369,7 @@ namespace YLErp.Modules.SwapModule
{
interestStart = td.StartDate.Value;
var exerciseDate = td.ExerciseDate.Value;
interestEnd = valueDate> exerciseDate? exerciseDate : valueDate;
interestEnd = valueDate > exerciseDate ? exerciseDate : valueDate;
bool calcFirst = true;
bool calcLast = true;