From 7d2a8ce2702e8598209ef58cacd9660e2b5bf1eb Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期四, 14 十二月 2023 14:03:37 +0800
Subject: [PATCH] string转int的问题,操他妈没完没了了

---
 model/purchase/purchase_type.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/model/purchase/purchase_type.go b/model/purchase/purchase_type.go
index 3e81ba2..402269c 100644
--- a/model/purchase/purchase_type.go
+++ b/model/purchase/purchase_type.go
@@ -6,9 +6,9 @@
 
 type PurchaseType struct {
 	global.GVA_MODEL
-	ID   uint   `json:"id,string" gorm:"primarykey"`                                                    // 涓婚敭ID
+	ID   uint   `json:"id,string" gorm:"primarykey"`                                                // 涓婚敭ID
 	Name string `json:"name" form:"name" gorm:"type:varchar(255);not null;default '';comment:閲囪喘绫诲瀷"` // 閲囪喘绫诲瀷
-	Sort int    `json:"sort" form:"sort" gorm:"type:int(11);not null;default 0;comment:鎺掑簭"`           // 鎺掑簭
+	Sort int    `json:"sort" form:"sort" gorm:"type:int(11);not null;default 0;comment:鎺掑簭"`         // 鎺掑簭
 	Pin  bool   `json:"pin" form:"pin" gorm:"type:tinyint(1);not null;default 0;comment:閲囪喘鍚嶇О"`      // 鏄惁缃《
 }
 

--
Gitblit v1.8.0