Files
zszq-trs/.gitignore
T
hjhan 029475ce8d test(swap): 新增互换分红重复计算录制测试+排查SQL(TDD红灯)
分红被重复计入 RealizedPnl 两次的根因:互换/平仓事件的 MarkClosePnl
已含分红成分(DividendIn),导致分红既进 RealizedMtmPnL(盯市列) 又进
RealizedDividend(分红列)。本次提供数据证据与回归基线:

- SwapDividendGoldenRecordTest: 连库录制1875(纯分红型)/1891(混合型)
  5表快照→JSON golden,录制时逐事件拆解 MarkClosePnl=价差+费+分红,
  按 PositionId 汇总出重复计入的分红金额。Step2 离线校验已通过。
  诊断结论:1875 重复302400,1891 重复-18.66,均与 eod 分红列吻合。
- golden JSON 纳入源码树(全量复制规则),修复后可作回归基线。
- 排查SQL工具箱: 基于真实DDL核对全部列名(swap_flow_event.EventDate/
  bond_payment_info.paying_interest 等),含定位样本/导出/验证/守恒4步。
- appsettings.json 测试库 zszq→glms 前缀修正。

详见 项目文档/互换分红损益字段语义与重复计算分析.md(9e6af84e)。
2026-06-26 09:13:37 +08:00

234 lines
4.0 KiB
Plaintext

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# 数据库结构快照(体积大且随库结构变化失效,仅本地参考,不入版本库)
项目文档/数据库/排查SQL/*_yltrs_ylcms.sql
# User-specific files
*.suo
*.user
*.sln.docstates
*.lscache
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
build/
bld/
[Bb]in/
[Oo]bj/
# Roslyn cache directories
*.ide/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
#NUNIT
*.VisualState.xml
TestResult.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding addin-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
_NCrunch_*
.*crunch*.local.xml
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
## TODO: Comment the next line if you want to checkin your
## web deploy settings but do note that will include unencrypted
## passwords
## *.pubxml
# NuGet Packages
packages/*
*.nupkg
## TODO: If the tool you use requires repositories.config
## uncomment the next line
#!packages/repositories.config
# Enable "build/" folder in the NuGet Packages folder since
# NuGet packages use it for MSBuild targets.
# This line needs to be after the ignore of the build folder
# (and the packages folder if the line above has been uncommented)
!packages/build/
# Windows Azure Build Output
csx/
*.build.csdef
# Windows Store app package directory
AppPackages/
# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
*.mdf
*.ldf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
# Microsoft Fakes
FakesAssemblies/
packages
/YieldChainExecution
.vs
Log
/YLErpWeb/App_Docs/GTJA/20181212
/YLErpWeb/App_Docs/GTJA/20181211
/YLErpWeb/App_Docs/TradeMarket
/YLErpWeb/App_Docs/GTJA/20181213
/YLErpWeb/App_Docs/付款申请单_申万上海有限公司.xlsx
/YLErpWeb/App_Docs/付款申请单_吕子乔.xlsx
/YLErpWeb/App_Docs/付款申请单1.xlsx
/YLErpWeb/App_Docs/付款申请单.doc
/YLErpWeb/App_Docs/20181217/付款申请单_吕子乔.xlsx
/YLErpWeb/App_Docs/20181217
/YLErpWeb/App_Docs/GTJA/20181217
/YLErpWeb/App_Docs/GTJA/20181218
/YLErpWeb/App_Docs/contractdoc/output
/YLErpWeb/438ae98b5f2e4833900c32bfff5f5fad.txt
/YLErpWeb/ClientFiles
/YLErpWeb/App_Plugin
/YLErpWeb/App_Docs
/ClientWeb/NLog.config
App_Upload
/Tools/DLL/LiveCharts.Wpf.dll
/Tools/DLL/LiveCharts.dll
/Tools/ExternalPythonEngineTest/__pycache__
/YLErpWeb/.vscode
PublishProfiles
.vscode
logfile
/YLWebAPI/QuartzSettings/logs
/YLErpWeb/App_Data/Config/otcformat.js
/YLErpWeb/appsettings.Development.json
/YLErpWeb/App_Data/Config/Config.json
/YLErpWeb/web.config
/YLWebAPI/web.config
/YLWebAPI/appsettings.Development.json
/YLManageAPI/appsettings.Development.json
/YLWebAPI/App_Docs
/.idea
/.idea/.idea.YLerpbase/.idea
/NuGet.Config
/.trae