add log service and change order
CI / changes (push) Successful in 38s
CI / ad (push) Successful in 29s
CI / admin (push) Successful in 22s
CI / bff (push) Successful in 19s
CI / chore (push) Successful in 22s
CI / equipment (push) Successful in 20s
CI / express (push) Successful in 18s
CI / log (push) Successful in 0s
CI / product (push) Successful in 15s
CI / sale (push) Successful in 16s
CI / task (push) Successful in 17s
CI / user (push) Successful in 16s
CI / wecom (push) Successful in 16s
CI / changes (push) Successful in 38s
CI / ad (push) Successful in 29s
CI / admin (push) Successful in 22s
CI / bff (push) Successful in 19s
CI / chore (push) Successful in 22s
CI / equipment (push) Successful in 20s
CI / express (push) Successful in 18s
CI / log (push) Successful in 0s
CI / product (push) Successful in 15s
CI / sale (push) Successful in 16s
CI / task (push) Successful in 17s
CI / user (push) Successful in 16s
CI / wecom (push) Successful in 16s
This commit is contained in:
@@ -3,16 +3,26 @@ package dao
|
||||
import "lone-services/pkg/utils"
|
||||
|
||||
const (
|
||||
DeliverTypeOrder = 1 //订单
|
||||
DeliverTypeSupply = 3 //补货
|
||||
DeliveryTypeOrder = 1 //订单
|
||||
DeliveryTypeSupply = 3 //补货
|
||||
|
||||
SendStatusOver = 1 //为已签收
|
||||
SendStatusWait = 2 //为待发货
|
||||
SendStatusIn = 3 //为发货中
|
||||
SendStatusOk = 4 //为已发货
|
||||
SendStatusCancel = 5 //已取消
|
||||
|
||||
DeliverySendTypeSf uint8 = 1
|
||||
DeliverySendTypeJd uint8 = 2
|
||||
DeliverySendTypeOther uint8 = 3
|
||||
)
|
||||
|
||||
var DeliverySendType = map[uint8]string{
|
||||
DeliverySendTypeSf: "SF", // 示例
|
||||
DeliverySendTypeJd: "JD",
|
||||
DeliverySendTypeOther: "ZT",
|
||||
}
|
||||
|
||||
type DeliveryOrderCreate struct {
|
||||
Id int64 `gorm:"column:id;type:int(11);primary_key;AUTO_INCREMENT;comment:ID" json:"id"`
|
||||
ObjId string `gorm:"column:obj_id;type:varchar(255);comment:对像id" json:"obj_id"`
|
||||
@@ -112,3 +122,11 @@ type DeliveryOrderPrintEdit struct {
|
||||
SendTime utils.CustomTime `gorm:"column:send_time;type:datetime;comment:发货时间" json:"send_time"`
|
||||
CreateTime utils.CustomTime `gorm:"column:create_time;type:datetime;default:CURRENT_TIMESTAMP;comment:添加时间" json:"create_time"`
|
||||
}
|
||||
|
||||
type ProductPrint struct {
|
||||
Id int `gorm:"column:id;type:int(11);primary_key;AUTO_INCREMENT;comment:ID" json:"id"`
|
||||
Name string `gorm:"column:name;type:varchar(256);comment:产品名;NOT NULL" json:"name"`
|
||||
Weight float32 `gorm:"column:weight;type:decimal(10,3);comment:重量" json:"weight"`
|
||||
Cubage string `gorm:"column:cubage;type:varchar(255);comment:体积" json:"cubage"`
|
||||
Waybill string `gorm:"column:waybill;type:varchar(255);comment:运货单图片" json:"waybill"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user