This commit is contained in:
wuweihua
2026-10-28 21:42:55 +08:00
17 changed files with 74 additions and 701 deletions
+1 -1
View File
@@ -659,7 +659,7 @@ CREATE TABLE `ctr_customer_receipt` (
`receipt_no` varchar(64) NOT NULL COMMENT '收款单号',
`customer_id` bigint(20) NOT NULL COMMENT '客户ID',
`account_id` bigint(20) DEFAULT NULL COMMENT '客户账户ID',
`receipt_type` varchar(32) NOT NULL DEFAULT 'PREPAY' COMMENT '收款类型:PREPAY预充值/REPAY还款核销/MIXED混合',
`receipt_type` varchar(32) NOT NULL DEFAULT 'PREPAY' COMMENT '收款类型:PREPAY预充值/REPAY还款',
`amount` decimal(18,2) NOT NULL COMMENT '收款金额',
`allocated_amount` decimal(18,2) NOT NULL DEFAULT '0.00' COMMENT '已核销金额',
`unallocated_amount` decimal(18,2) NOT NULL DEFAULT '0.00' COMMENT '待核销金额',