From c5dfd00d511914ee59b10f5c6cc84a1d1ae50bb9 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 05 十一月 2026 20:35:45 +0800
Subject: [PATCH] feat(crm): 回款合同与关联开票改为非必填

---
 docs/sql/config_export_all_20260904.sql |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/docs/sql/config_export_all_20260904.sql b/docs/sql/config_export_all_20260904.sql
index 38f3d3d..202e852 100644
--- a/docs/sql/config_export_all_20260904.sql
+++ b/docs/sql/config_export_all_20260904.sql
@@ -4401,7 +4401,7 @@
   `no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '鍥炴缂栧彿',
   `plan_id` bigint DEFAULT NULL COMMENT '鍥炴璁″垝缂栧彿',
   `customer_id` bigint NOT NULL COMMENT '瀹㈡埛缂栧彿',
-  `contract_id` bigint NOT NULL COMMENT '鍚堝悓缂栧彿',
+  `contract_id` bigint DEFAULT NULL COMMENT '鍚堝悓缂栧彿',
   `invoice_id` bigint DEFAULT NULL COMMENT '鍏宠仈鐨勫紑绁ㄧ紪鍙凤紝鍏宠仈 crm_invoice.id',
   `owner_user_id` bigint DEFAULT NULL COMMENT '璐熻矗浜虹紪鍙�',
   `return_time` datetime DEFAULT NULL COMMENT '鍥炴鏃ユ湡',

--
Gitblit v1.9.3