uint/uint64全部改为uint32
This commit is contained in:
@@ -12,9 +12,9 @@ import (
|
||||
|
||||
// PigPurchaseListOptions 定义了查询猪只采购记录时的可选参数
|
||||
type PigPurchaseListOptions struct {
|
||||
PigBatchID *uint
|
||||
PigBatchID *uint32
|
||||
Supplier *string
|
||||
OperatorID *uint
|
||||
OperatorID *uint32
|
||||
StartTime *time.Time // 基于 purchase_date 字段
|
||||
EndTime *time.Time // 基于 purchase_date 字段
|
||||
OrderBy string // 例如 "purchase_date desc"
|
||||
@@ -22,9 +22,9 @@ type PigPurchaseListOptions struct {
|
||||
|
||||
// PigSaleListOptions 定义了查询猪只销售记录时的可选参数
|
||||
type PigSaleListOptions struct {
|
||||
PigBatchID *uint
|
||||
PigBatchID *uint32
|
||||
Buyer *string
|
||||
OperatorID *uint
|
||||
OperatorID *uint32
|
||||
StartTime *time.Time // 基于 sale_date 字段
|
||||
EndTime *time.Time // 基于 sale_date 字段
|
||||
OrderBy string // 例如 "sale_date desc"
|
||||
|
||||
Reference in New Issue
Block a user