uint/uint64全部改为uint32

This commit is contained in:
2025-11-10 22:23:31 +08:00
parent 3e711551e7
commit ecd2d37c70
96 changed files with 775 additions and 785 deletions

View File

@@ -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"