From 72b4fcd52bd82427b3932a5a5c01ced2c0dee201 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 14 六月 2024 17:28:51 +0800
Subject: [PATCH] finish operation code refactor

---
 models/operation.go |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/models/operation.go b/models/operation.go
index a4f9900..1d84f86 100644
--- a/models/operation.go
+++ b/models/operation.go
@@ -51,15 +51,14 @@
 		ToLocation         Location `json:"toLocation"      gorm:"foreignKey:ToLocationID;references:Id"` //鐩爣浣嶇疆
 		SalesDetailsNumber string   `gorm:"type:varchar(191);comment:閿�鍞槑缁嗙紪鐮�" json:"salesDetailsNumber"`
 
-		ManagerId    string    `json:"managerId" gorm:"type:varchar(255);comment:涓荤id"`
-		Manager      string    `json:"manager" gorm:"type:varchar(255);comment:涓荤鍚嶇О"`
-		AccountantId string    `json:"accountantId" gorm:"type:varchar(255);comment:浼氳id"`
-		Accountant   string    `json:"accountant" gorm:"type:varchar(255);comment:浼氳鍚嶇О"`
-		CustodianId  string    `json:"custodianId" gorm:"type:varchar(255);comment:淇濈鍛榠d"`
-		Custodian    string    `json:"custodian" gorm:"type:varchar(255);comment:淇濈鍛樺悕绉�"`
-		CreatedBy    string    `json:"createBy" gorm:"type:varchar(255);comment:鍒涘缓鑰匲serId"`
-		CheckedBy    string    `json:"checkedBy" gorm:"type:varchar(255);comment:楠岃瘉鑰匲serId"`
-		CheckedAt    time.Time `json:"checkedAt" gorm:"type:datetime;default:null;comment:楠岃瘉鑰呴獙璇佹搷浣滄椂闂�"`
+		ManagerId    string `json:"managerId" gorm:"type:varchar(255);comment:涓荤id"`
+		Manager      string `json:"manager" gorm:"type:varchar(255);comment:涓荤鍚嶇О"`
+		AccountantId string `json:"accountantId" gorm:"type:varchar(255);comment:浼氳id"`
+		Accountant   string `json:"accountant" gorm:"type:varchar(255);comment:浼氳鍚嶇О"`
+		CustodianId  string `json:"custodianId" gorm:"type:varchar(255);comment:淇濈鍛榠d"`
+		Custodian    string `json:"custodian" gorm:"type:varchar(255);comment:淇濈鍛樺悕绉�"`
+		CreatedBy    string `json:"createBy" gorm:"type:varchar(255);comment:鍒涘缓鑰匲serId"`
+		CheckedBy    string `json:"checkedBy" gorm:"type:varchar(255);comment:楠岃瘉鑰匲serId"`
 	}
 
 	OperationSearch struct {

--
Gitblit v1.8.0