- remove enableStore and orderUseNewTable related stuff
This commit is contained in:
@@ -1,59 +0,0 @@
|
||||
package legacymodel2
|
||||
|
||||
type Jxorder struct {
|
||||
Id int `orm:"column(id);auto"`
|
||||
VenderId int8 `orm:"column(vender_id);null"`
|
||||
OrderId int64 `orm:"column(order_id);null;unique"`
|
||||
JxStoreId string `orm:"column(jx_store_id);size(20);null"`
|
||||
JxStoreName string `orm:"column(jx_store_name);size(100);null"`
|
||||
OrderNum int `orm:"column(order_num);null"`
|
||||
OrderStatus int8 `orm:"column(order_status);null"`
|
||||
OrderStatusTime string `orm:"column(order_status_time);size(50);null"`
|
||||
BusinessTag string `orm:"column(business_tag);size(100);null"`
|
||||
SkuCount int `orm:"column(sku_count);null"`
|
||||
OrderBuyerRemark string `orm:"column(order_buyer_remark);size(500);null"`
|
||||
BuyerFullName string `orm:"column(buyer_full_name);size(100);null"`
|
||||
BuyerFullAddress string `orm:"column(buyer_full_address);size(500);null"`
|
||||
BuyerMobile string `orm:"column(buyer_mobile);size(100);null"`
|
||||
BuyerCoordType int `orm:"column(buyer_coord_type);null"`
|
||||
BuyerLng float64 `orm:"column(buyer_lng);null"`
|
||||
BuyerLat float64 `orm:"column(buyer_lat);null"`
|
||||
StoreLng float64 `orm:"column(store_lng);null;default(-1)"`
|
||||
StoreLat float64 `orm:"column(store_lat);null;default(-1)"`
|
||||
DeliveryPackageWeight float64 `orm:"column(delivery_package_weight);null"`
|
||||
DeliveryCarrierNo string `orm:"column(delivery_carrier_no);size(20);null"`
|
||||
DeliveryCarrierName string `orm:"column(delivery_carrier_name);size(100);null"`
|
||||
DeliveryManNo string `orm:"column(delivery_man_no);size(20);null"`
|
||||
DeliveryManName string `orm:"column(delivery_man_name);size(20);null"`
|
||||
DeliveryManPhone string `orm:"column(delivery_man_phone);size(20);null"`
|
||||
DeliveryBillNo string `orm:"column(delivery_bill_no);size(100);null"`
|
||||
DeliveryStatus int8 `orm:"column(delivery_status);null"`
|
||||
DeliveryConfirmTime string `orm:"column(delivery_confirm_time);size(50);null"`
|
||||
AdjustIsExists int8 `orm:"column(adjust_is_exists);null"`
|
||||
AdjustId int64 `orm:"column(adjust_id);null"`
|
||||
OrderTotalMoney int `orm:"column(order_total_money);null"`
|
||||
OrderDiscountMoney int `orm:"column(order_discount_money);null"`
|
||||
OrderPlatDiscount int `orm:"column(order_plat_discount);null"`
|
||||
OrderVenderDiscount int `orm:"column(order_vender_discount);null"`
|
||||
OrderBuyerPayableMoney int `orm:"column(order_buyer_payable_money);null"`
|
||||
OrderReceivableFreight int `orm:"column(order_receivable_freight);null"`
|
||||
PlatFreightDis int `orm:"column(plat_freight_dis);null"`
|
||||
VenderFreightDis int `orm:"column(vender_freight_dis);null"`
|
||||
Tips int `orm:"column(tips);null"`
|
||||
Percentage float64 `orm:"column(percentage);null"`
|
||||
Allowance int `orm:"column(allowance);null"`
|
||||
CityName string `orm:"column(city_name);size(20);null"`
|
||||
OrderStartTime string `orm:"column(order_start_time);size(50);null"`
|
||||
OrderPreEndDelivTime string `orm:"column(order_pre_end_deliv_time);size(50);null"`
|
||||
OrderEndTime string `orm:"column(order_end_time);size(50);null"`
|
||||
JdStoreId string `orm:"column(jd_store_id);size(20);null"`
|
||||
DeliveryPrice float64 `orm:"column(delivery_price);null;digits(6);decimals(2);default(0.00)"`
|
||||
DeliveryPrice1 float64 `orm:"column(delivery_price1);null;digits(6);decimals(2);default(0.00)"`
|
||||
DeliveryStartTime string `orm:"column(delivery_start_time);size(50);null"`
|
||||
DeliveryFinishTime string `orm:"column(delivery_finish_time);size(50);null"`
|
||||
IsRecallDelivery int `orm:"column(is_recall_delivery);default(0);null"`
|
||||
}
|
||||
|
||||
func (t *Jxorder) TableName() string {
|
||||
return "jxorder"
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
package legacymodel2
|
||||
|
||||
type Jxordersku struct {
|
||||
Id int `orm:"column(id);auto"`
|
||||
VenderId int8 `orm:"column(vender_id);null"`
|
||||
OrderId int64 `orm:"column(order_id);null"`
|
||||
JxSkuId int `orm:"column(jx_sku_id);null"`
|
||||
SkuName string `orm:"column(sku_name);size(200);null"`
|
||||
JxStoreId int `orm:"column(jx_store_id);null"`
|
||||
SkuPrice int `orm:"column(sku_price);null"`
|
||||
SkuCount int `orm:"column(sku_count);null"`
|
||||
IsGift int8 `orm:"column(is_gift);null"`
|
||||
PromotionType int `orm:"column(promotion_type);null"`
|
||||
SkuPlatDiscount int `orm:"column(sku_plat_discount);null"`
|
||||
SkuVenderDiscount int `orm:"column(sku_vender_discount);null"`
|
||||
SkuImg string `orm:"column(sku_img);size(120);null"`
|
||||
}
|
||||
|
||||
func (t *Jxordersku) TableName() string {
|
||||
return "jxordersku"
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
package legacymodel2
|
||||
|
||||
type Jxstorefeature struct {
|
||||
Id int `orm:"column(storeid);pk"`
|
||||
Autopickup int8 `orm:"column(autopickup);null"`
|
||||
JdDeliveryType int8 `orm:"column(jd_delivery_type);default(0)"` // 京东店的配送方式
|
||||
ElmDeliveryType int8 `orm:"column(elm_delivery_type);default(0)"` // 饿了么店的配送方式
|
||||
JdCompetition int8 `orm:"default(1)"` // 京东门店是否支持3方配送
|
||||
ElmCompetition int8 `orm:"default(0)"` // 饿了么门店是否支持3方配送
|
||||
SupportMtps int8 `orm:"default(1)"` // 是否支持美团配送
|
||||
SupportDada int8 `orm:"default(0)"` // 是否支持达达
|
||||
SupportFengNiao int8 `orm:"default(0)"` // 是否支持蜂鸟
|
||||
|
||||
// Transmtzs int8 `orm:"column(transmtzs);null"` // 不用了
|
||||
// Deliverycompetition int8 `orm:"column(deliverycompetition);null"` // 不用了
|
||||
}
|
||||
|
||||
func (t *Jxstorefeature) TableName() string {
|
||||
return "jxstorefeature"
|
||||
}
|
||||
Reference in New Issue
Block a user