new create admin order,express add company

This commit is contained in:
2026-09-02 18:02:57 +08:00
parent 02819d159a
commit e0a63bbef9
38 changed files with 3023 additions and 265 deletions
@@ -0,0 +1,13 @@
package dao
type DeliveryExpCreate struct {
Id int `gorm:"column:id;type:int(11);primary_key;AUTO_INCREMENT;comment:ID" json:"id"`
DeliveryOrderId int `gorm:"column:delivery_order_id;type:varchar(255);comment:发货ID" json:"delivery_order_id"`
TransitType uint8 `gorm:"column:transit_type;type:tinyint(1);comment:快递公司,1为顺丰,2为京东,3为。。。" json:"transit_type"`
ExpSn string `gorm:"column:exp_sn;type:varchar(150);comment:快递单号" json:"exp_sn"`
OrderSn string `gorm:"column:order_sn;type:varchar(255);comment:订单SN" json:"order_sn"`
}
type DeliveryExpStatus struct {
Status uint8 `gorm:"column:status;type:tinyint(1);default:2;comment:状态:1为已签收,2为待发货,3为发货中,4为已发货,5已取消;NOT NULL" json:"status"`
}