From 06c0b03df2955475fe39ff2a793a5f151f4da99f Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期四, 17 八月 2023 19:25:30 +0800
Subject: [PATCH] Merge branch 'master' into fly

---
 api/v1/serviceCollectionPlan.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/api/v1/serviceCollectionPlan.go b/api/v1/serviceCollectionPlan.go
index 346aec8..2a7b060 100644
--- a/api/v1/serviceCollectionPlan.go
+++ b/api/v1/serviceCollectionPlan.go
@@ -31,7 +31,7 @@
 		if plan.SourceType == 0 ||
 			plan.SourceId == 0 ||
 			plan.CollectionType == 0 ||
-			plan.CollectionDate.IsZero() ||
+			plan.CollectionDate == "" ||
 			plan.Amount.IsZero() ||
 			plan.Percent.IsZero() ||
 			plan.PrincipalId == 0 {

--
Gitblit v1.8.0