feat(erp/shipment): 添加归档数据字段支持

- 在 ReplyShipmentInfo 结构体中新增 ArchiveData 字段
- 在 shipment 结构体中新增 ArchiveData 字段
- 调整 import 包引入顺序以符合代码规范
This commit is contained in:
守护自己的云 2025-10-30 11:25:38 +08:00
parent 7cc2f3dc3d
commit 027c098279
2 changed files with 4 additions and 1 deletions

View File

@ -55,6 +55,7 @@ type ShipmentItem struct {
CreatedStaffId int64 `json:"createdStaffId"`
CreatedAt *time.Time `json:"createdAt"`
UpdatedAt *time.Time `json:"updatedAt"`
ArchiveData int64 `json:"archiveData"`
}
// List @TITLE 列表

View File

@ -1,8 +1,9 @@
package shipment
import (
"github.com/shopspring/decimal"
"time"
"github.com/shopspring/decimal"
)
type ReplyShipmentInfo struct {
@ -78,4 +79,5 @@ type ReplyShipmentInfo struct {
SaleCurrencyRate decimal.Decimal `json:"saleCurrencyRate"`
BanFlag int64 `json:"banFlag"`
IsExchangeSettlement int64 `json:"isExchangeSettlement"`
ArchiveData int64 `json:"archiveData"`
}