fix: 日终债券来源固定中债估值、人工改动显示操作人并补上传溯源

china_bond_valuation 来源恒为中债估值(聚源仅转发,无人手工维护),不再按 JSID 推断系统/人工;eod 两表仍用自带 DataSource(人工/系统)。债券被人工改动(update_user 非空)时,日终列表来源列显示操作人姓名,否则显示中债估值;操作人经已有 create_user/update_user 列溯源(零 DDL)。手工上传 xlsx 的债券分支补戳操作人,与表单编辑口径一致。配套单测 EodPriceDtoTest / EodPriceGoldenReplayTest + golden JSON。
This commit is contained in:
hjhan
2026-07-13 11:00:33 +08:00
parent 3f5e9a0be9
commit 760ffd62e6
7 changed files with 543 additions and 20 deletions
@@ -0,0 +1,51 @@
{
"Scenario": "标的种类与数据来源",
"Description": "合成 Mock:覆盖现券/贵金属/真期货/股票 的种类显示,以及债券来源固定为中债估值。回放守护'不再一律显示商品期货'+'路由键不变'+'债券来源=中债估值'。",
"Source": "synthetic",
"RecordedAt": null,
"Rows": [
{
"UnderlyingCode": "019547.IB",
"RouteKey": "CommodityFutures",
"RealInstrumentType": "CreditBonds",
"IsBond": true,
"ExpectedTypeCn": "信用债",
"ExpectedDataSource": "中债估值"
},
{
"UnderlyingCode": "220210.IB",
"RouteKey": "CommodityFutures",
"RealInstrumentType": "TBonds",
"IsBond": true,
"ExpectedTypeCn": "利率债",
"ExpectedDataSource": "中债估值"
},
{
"UnderlyingCode": "AU9999.SGE",
"RouteKey": "CommodityFutures",
"RealInstrumentType": "GoldSpot",
"IsBond": false,
"JSID": null,
"ExpectedTypeCn": "黄金现货",
"ExpectedDataSource": null
},
{
"UnderlyingCode": "IF2409",
"RouteKey": "CommodityFutures",
"RealInstrumentType": "CommodityFutures",
"IsBond": false,
"JSID": null,
"ExpectedTypeCn": "商品期货",
"ExpectedDataSource": null
},
{
"UnderlyingCode": "600000.SH",
"RouteKey": "Stock",
"RealInstrumentType": "Stock",
"IsBond": false,
"JSID": null,
"ExpectedTypeCn": "股票",
"ExpectedDataSource": null
}
]
}