SFT/mock-server/db/seedMerchant.js

47 lines
1.4 KiB
JavaScript

// 商户中心 —— 商户管理模块种子数据(2条,字段严格对齐 MerchantVo)。
import { initCounter } from '../utils/id.js'
export const merchants = [
{
id: 1,
merchantNo: 'MC0001',
merchantName: '上海凡荣贸易有限公司旗舰店',
coreEnterpriseId: 1,
customerManagerId: 1,
organizationId: 1,
a1AccountNo: '6220000000000001',
a2AccountNo: '6220000000000002',
guarantorAccountNo: '6220000000000001',
guarantorAccountName: '上海凡荣贸易有限公司',
maxGuaranteeAmount: '5000000.00',
loanProductCode: 'LP-MERCHANT-001',
creditRatio: '80',
loanPeriod: '90天',
orderType: '线上订单',
productType: '一般商品',
status: 'ACTIVE',
remark: '主力核心企业下属旗舰店商户'
},
{
id: 2,
merchantNo: 'MC0002',
merchantName: '广州荣泰电子商务专营店',
coreEnterpriseId: 2,
customerManagerId: 2,
organizationId: 2,
a1AccountNo: '6220000000000006',
a2AccountNo: '6220000000000007',
guarantorAccountNo: '6220000000000006',
guarantorAccountName: '广州荣泰电子商务有限公司',
maxGuaranteeAmount: '3000000.00',
loanProductCode: 'LP-MERCHANT-002',
creditRatio: '75',
loanPeriod: '60天',
orderType: '线上订单',
productType: '大型电商',
status: 'ACTIVE',
remark: ''
}
]
initCounter('merchant', 3)