新增涉疑交易明细查询导出并补充对手方证件信息
This commit is contained in:
@@ -258,6 +258,25 @@ def test_generate_statements_should_stay_within_single_employee_scope_per_log_id
|
||||
assert {item["cretNo"] for item in statements}.issubset(allowed_id_cards)
|
||||
|
||||
|
||||
def test_get_bank_statement_should_include_counterparty_identity_fields():
|
||||
service = StatementService()
|
||||
|
||||
response = service.get_bank_statement(
|
||||
{
|
||||
"groupId": 1000,
|
||||
"logId": 20001,
|
||||
"pageNow": 1,
|
||||
"pageSize": 5,
|
||||
}
|
||||
)
|
||||
|
||||
statements = response["data"]["bankStatementList"]
|
||||
|
||||
assert statements
|
||||
assert all("customerCertNo" in item for item in statements)
|
||||
assert all("customerSocialCreditCode" in item for item in statements)
|
||||
|
||||
|
||||
def test_all_mode_monthly_fixed_income_log_should_keep_monthly_income_stable(monkeypatch):
|
||||
monkeypatch.setattr("services.file_service.settings.RULE_HIT_MODE", "all")
|
||||
file_service = FileService(staff_identity_repository=FakeStaffIdentityRepository())
|
||||
|
||||
Reference in New Issue
Block a user