From 504f3e9bc274bcd6c7221e738802e0e5d4aef36f Mon Sep 17 00:00:00 2001 From: lishihai <dslsh@dscom> Date: 星期四, 20 六月 2024 17:07:02 +0800 Subject: [PATCH] 查询属性值和对象 通过主键ID查询 --- request/operation_type.go | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/request/operation_type.go b/request/operation_type.go index be30ae5..bf00dee 100644 --- a/request/operation_type.go +++ b/request/operation_type.go @@ -4,8 +4,8 @@ type GetOperationTypeList struct { PageInfo - Keyword string `json:"keyword"` - WarehouseId int `json:"warehouseId" gorm:"type:int;not null;comment:浠撳簱id"` //浠撳簱id + Keyword string `json:"keyword" form:"keyword"` //鍏抽敭瀛楁悳绱� + WarehouseId int `json:"warehouseId" form:"warehouseId"` //浠撳簱id } type AddOperationType struct { -- Gitblit v1.8.0