Versions in this module Expand all Collapse all v0 v0.0.1 May 9, 2024 Changes in this version + var ErrNotFound = sqlx.ErrNotFound + type OmsCartItem struct + CreateDate time.Time + DeleteStatus int64 + Id int64 + MemberId int64 + MemberNickname string + ModifyDate time.Time + Price float64 + ProductAttr string + ProductBrand string + ProductCategoryId int64 + ProductId int64 + ProductName string + ProductPic string + ProductSkuCode string + ProductSkuId int64 + ProductSn string + ProductSubTitle string + Quantity int64 + type OmsCartItemModel interface + CartItemUpdateQuantity func(ctx context.Context, id, memberId, quantity int64) error + ClearCartItem func(ctx context.Context, memberId int64) error + DeleteByIds func(ctx context.Context, memberId int64, ids []int64) error + FindAll func(ctx context.Context, MemberId int64) (*[]OmsCartItem, error) + FindAllByMemberIdAndProduct func(ctx context.Context, MemberId, productId int64) (*OmsCartItem, error) + func NewOmsCartItemModel(conn sqlx.SqlConn) OmsCartItemModel + type OmsCompanyAddress struct + AddressName string + City string + DetailAddress string + Id int64 + Name string + Phone string + Province string + ReceiveStatus int64 + Region string + SendStatus int64 + type OmsCompanyAddressModel interface + Count func(ctx context.Context) (int64, error) + DeleteByIds func(ctx context.Context, ids []int64) error + FindAll func(ctx context.Context, Current int64, PageSize int64) (*[]OmsCompanyAddress, error) + func NewOmsCompanyAddressModel(conn sqlx.SqlConn) OmsCompanyAddressModel + type OmsOrder struct + AutoConfirmDay int64 + BillContent string + BillHeader string + BillReceiverEmail string + BillReceiverPhone string + BillType int64 + CommentTime time.Time + ConfirmStatus int64 + CouponAmount float64 + CouponId int64 + CreateTime time.Time + DeleteStatus int64 + DeliveryCompany string + DeliverySn string + DeliveryTime time.Time + DiscountAmount float64 + FreightAmount float64 + Growth int64 + Id int64 + Integration int64 + IntegrationAmount float64 + MemberId int64 + MemberUsername string + ModifyTime time.Time + Note string + OrderSn string + OrderType int64 + PayAmount float64 + PayType int64 + PaymentTime time.Time + PromotionAmount float64 + PromotionInfo string + ReceiveTime time.Time + ReceiverCity string + ReceiverDetailAddress string + ReceiverName string + ReceiverPhone string + ReceiverPostCode string + ReceiverProvince string + ReceiverRegion string + SourceType int64 + Status int64 + TotalAmount float64 + UseIntegration int64 + type OmsOrderItem struct + CouponAmount float64 + GiftGrowth int64 + GiftIntegration int64 + Id int64 + IntegrationAmount float64 + OrderId int64 + OrderSn string + ProductAttr string + ProductBrand string + ProductCategoryId int64 + ProductId int64 + ProductName string + ProductPic string + ProductPrice float64 + ProductQuantity int64 + ProductSkuCode string + ProductSkuId int64 + ProductSn string + PromotionAmount float64 + PromotionName string + RealAmount float64 + type OmsOrderItemModel interface + Count func(ctx context.Context) (int64, error) + DeleteByIds func(ctx context.Context, ids []int64) error + FindAll func(ctx context.Context, Current int64, PageSize int64, OrderId int64) (*[]OmsOrderItem, error) + FindProductListByOrderId func(ctx context.Context, OrderId int64) (*[]OmsOrderItem, error) + func NewOmsOrderItemModel(conn sqlx.SqlConn) OmsOrderItemModel + type OmsOrderModel interface + Count func(ctx context.Context, in *omsclient.OrderListReq) (int64, error) + DeleteByIds func(ctx context.Context, ids []int64) error + FindAll func(ctx context.Context, in *omsclient.OrderListReq) (*[]OmsOrder, error) + FindListByMemberId func(ctx context.Context, MemberId int64) (*[]OmsOrder, error) + FindOneByMemberIdAndOrderId func(ctx context.Context, memberId, orderId int64) (*OmsOrder, error) + QueryOrderList func(ctx context.Context, in *omsclient.QueryOrderListReq) (*[]OmsOrder, error) + UpdateOrderStatus func(ctx context.Context, confirmStatus, status, orderId int64) error + func NewOmsOrderModel(conn sqlx.SqlConn) OmsOrderModel + type OmsOrderOperateHistory struct + CreateTime time.Time + Id int64 + Note sql.NullString + OperateMan string + OrderId int64 + OrderStatus int64 + type OmsOrderOperateHistoryModel interface + Count func(ctx context.Context) (int64, error) + DeleteByIds func(ctx context.Context, ids []int64) error + FindAll func(ctx context.Context, Current int64, PageSize int64, OrderId int64) (*[]OmsOrderOperateHistory, error) + func NewOmsOrderOperateHistoryModel(conn sqlx.SqlConn) OmsOrderOperateHistoryModel + type OmsOrderReturnApply struct + CompanyAddressId int64 + CreateTime time.Time + Description string + HandleMan string + HandleNote string + HandleTime time.Time + Id int64 + MemberUsername string + OrderId int64 + OrderSn string + ProductAttr string + ProductBrand string + ProductCount int64 + ProductId int64 + ProductName string + ProductPic string + ProductPrice float64 + ProductRealPrice float64 + ProofPics string + Reason string + ReceiveMan string + ReceiveNote sql.NullString + ReceiveTime time.Time + ReturnAmount float64 + ReturnName string + ReturnPhone string + Status int64 + type OmsOrderReturnApplyModel interface + Count func(ctx context.Context, in *omsclient.OrderReturnApplyListReq) (int64, error) + DeleteByIds func(ctx context.Context, ids []int64) error + FindAll func(ctx context.Context, in *omsclient.OrderReturnApplyListReq) (*[]OmsOrderReturnApply, error) + func NewOmsOrderReturnApplyModel(conn sqlx.SqlConn) OmsOrderReturnApplyModel + type OmsOrderReturnReason struct + CreateTime time.Time + Id int64 + Name string + Sort int64 + Status int64 + type OmsOrderReturnReasonModel interface + Count func(ctx context.Context, in *omsclient.OrderReturnReasonListReq) (int64, error) + DeleteByIds func(ctx context.Context, ids []int64) error + FindAll func(ctx context.Context, in *omsclient.OrderReturnReasonListReq) (*[]OmsOrderReturnReason, error) + func NewOmsOrderReturnReasonModel(conn sqlx.SqlConn) OmsOrderReturnReasonModel + type OmsOrderSetting struct + CommentOvertime int64 + ConfirmOvertime int64 + FinishOvertime int64 + FlashOrderOvertime int64 + Id int64 + NormalOrderOvertime int64 + type OmsOrderSettingModel interface + Count func(ctx context.Context) (int64, error) + DeleteByIds func(ctx context.Context, ids []int64) error + FindAll func(ctx context.Context, Current int64, PageSize int64) (*[]OmsOrderSetting, error) + func NewOmsOrderSettingModel(conn sqlx.SqlConn) OmsOrderSettingModel