From c0c2661df233baafae085fb8deba14e40bd45bc5 Mon Sep 17 00:00:00 2001
From: yinbentan <yinbentan@live.com>
Date: 星期五, 12 七月 2024 15:56:49 +0800
Subject: [PATCH] 产量登记表添加自动编号

---
 controllers/dict.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/controllers/dict.go b/controllers/dict.go
index d2d4d8b..2a550cf 100644
--- a/controllers/dict.go
+++ b/controllers/dict.go
@@ -190,7 +190,7 @@
 		prefix = "XD"
 	case constvar.CodeStandardType_Yield:
 		id, err = models.NewYieldRegisterSearch().MaxAutoIncr()
-		prefix = "Cl"
+		prefix = "CL"
 	default:
 		util.ResponseFormat(c, code.RequestParamError, "缂栫爜瑙勫垯涓嶅瓨鍦�")
 		return

--
Gitblit v1.8.0