From 32f4f2b0d507c99d9b4fb7d555b0c2523a92c503 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期一, 15 四月 2024 15:08:12 +0800 Subject: [PATCH] 添加字段 --- models/operation.go | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/models/operation.go b/models/operation.go index 15e2fd9..ccf54fd 100644 --- a/models/operation.go +++ b/models/operation.go @@ -50,9 +50,12 @@ ToLocation Location `json:"toLocation" gorm:"foreignKey:ToLocationID;references:Id"` //鐩爣浣嶇疆 SalesDetailsNumber string `gorm:"type:varchar(191);comment:閿�鍞槑缁嗙紪鐮�" json:"salesDetailsNumber"` - Manager string `json:"manager" gorm:"type:varchar(255);comment:涓荤"` - Accountant string `json:"accountant" gorm:"type:varchar(255);comment:浼氳"` - Custodian string `json:"custodian" gorm:"type:varchar(255);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:淇濈鍛樺悕绉�"` } OperationSearch struct { -- Gitblit v1.8.0