From 504f3e9bc274bcd6c7221e738802e0e5d4aef36f Mon Sep 17 00:00:00 2001
From: lishihai <dslsh@dscom>
Date: 星期四, 20 六月 2024 17:07:02 +0800
Subject: [PATCH] 查询属性值和对象 通过主键ID查询

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

diff --git a/models/operation.go b/models/operation.go
index 954306a..a3ab05e 100644
--- a/models/operation.go
+++ b/models/operation.go
@@ -51,15 +51,16 @@
 		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;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"`
+
+		IsInternalOutput bool `json:"isInternalOutput"` //鏄惁璋冩嫧浜х敓鐨勫嚭搴�
 	}
 
 	OperationSearch struct {

--
Gitblit v1.8.0