From de4bcd1dead50b05f716bc5718be5540bdb96783 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期日, 28 四月 2024 17:23:29 +0800
Subject: [PATCH] fix

---
 constvar/const.go |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/constvar/const.go b/constvar/const.go
index 4d172ff..b838b7f 100644
--- a/constvar/const.go
+++ b/constvar/const.go
@@ -48,3 +48,23 @@
 	BoolTypeTrue  BoolType = 1 // true
 	BoolTypeFalse BoolType = 2 // false
 )
+
+// MiniDictType 杩蜂綘瀛楀吀绫诲瀷
+type MiniDictType int
+
+const (
+	MiniDictTypePlcBrand           MiniDictType = iota + 1 // PLC鍝佺墝
+	MiniDictTypeBomVersionType                             // Bom鐗堟湰绫诲瀷
+	EarlyWarningDay                                        //棰勮澶╂暟
+	InspectionWayType                                      //璐ㄦ鏂瑰紡绫诲瀷
+	OutsourcingSupplierType                                //濮斿渚涘簲鍟嗙被鍨�
+	OutsourcingSupplierCreditGrade                         //淇$敤绛夌骇
+	OutsourcingSupplierRange                               //渚涜揣鑼冨洿
+)
+
+func (t MiniDictType) Valid() bool {
+	if t <= 0 {
+		return false
+	}
+	return true
+}

--
Gitblit v1.8.0