“收款入账”和“账单核销”分开处理

This commit is contained in:
caojia
2026-10-28 20:13:20 +08:00
parent 00a690abe9
commit df7220d333
14 changed files with 64 additions and 669 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 '待核销金额',