fix: 修复发货功能 delivery_status 字段类型问题,从 byte 改为 int 支持 -1 默认值

This commit is contained in:
gpu 2026-01-24 04:20:03 +08:00
parent 8836017696
commit 13cf64415d
2 changed files with 2 additions and 2 deletions

View File

@ -1084,7 +1084,7 @@ public class WarehouseService : IWarehouseService
SendTime = 0,
ShouTime = 0,
CancelTime = 0,
DeliveryStatus = 0,
DeliveryStatus = -1, // -1 表示未查询物流
DeliveryTime = 0,
AdminId = 0,
CreatedAt = DateTime.UtcNow,

View File

@ -81,7 +81,7 @@ public partial class OrderItemsSend
/// <summary>
/// 物流状态:-1未查询0在途1揽收2疑难3签收4退签5派件6退回
/// </summary>
public byte DeliveryStatus { get; set; }
public int DeliveryStatus { get; set; }
/// <summary>
/// 物流更新时间戳