From 0ddbf564f6e2a33c4f73141423ad0905da4278d0 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 19 四月 2024 16:36:33 +0800
Subject: [PATCH] 增加查询字段接口,保存字典接口

---
 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