putOrder

package
v0.0.0-...-10721fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPutItem

func AddPutItem(db orm.Ormer, params *JccPutItem) error

func AddPutOrder

func AddPutOrder(db orm.Ormer, params *JccPutOrder) (id int64, err error)

func QueryPutOrderExitByOrderId

func QueryPutOrderExitByOrderId(OrderId JccPutOrder) bool

func UpdatePutOrder

func UpdatePutOrder(db orm.Ormer, fromorder string) error

Types

type JccPutItem

type JccPutItem struct {
	Id                  int     `orm:"column(id);auto" description:"ID"`
	GoodsId             int     `orm:"column(goods_id)" description:"商品id"`
	Number              float64 `orm:"column(number);null;digits(11);decimals(2)" description:"数量"`
	Rdh                 string  `orm:"column(rdh);size(30)" description:"关联入库单号"`
	Price               float64 `orm:"column(price);null" description:"商品单价"`
	Supplier            string  `orm:"column(supplier);size(22);null" description:"供应商"`
	Money               float64 `orm:"column(money);null;digits(10);decimals(2)" description:"实收金额"`
	Discount            string  `orm:"column(discount);size(255);null" description:"折扣率"`
	UnitId              int     `orm:"column(unit_id);null" description:"单位"`
	PredeterminedPrices string  `orm:"column(predetermined_prices);size(255);null" description:"价格体系"`
	UnitIdNum           float64 `orm:"column(unit_id_num);null;digits(11);decimals(2)" description:"原来单位数量"`
	ConversionMiniNum   string  `orm:"column(conversion_mini_num);size(255);null" description:"最小单位换算关系"`
}

type JccPutOrder

type JccPutOrder struct {
	Id               int     `orm:"column(id);auto" description:"ID"`
	RDh              string  `orm:"column(r_dh);size(30)" description:"订单号"`
	Fromorder        string  `orm:"column(fromorder);size(30)" description:"来源单据"`
	Fromordertype    int     `orm:"column(fromordertype)" description:"来源单据类型"`
	RPeople          int     `orm:"column(r_people)" description:"来源单据制单人"`
	RStatus          int16   `orm:"column(r_status);null" description:"订单状态"`
	OrderMoney       float64 `orm:"column(order_money);null" description:"商品总价"`
	Shop             string  `orm:"column(shop);size(22);null" description:"公司"`
	House            int     `orm:"column(house);null" description:"出库仓库ID"`
	House1           int     `orm:"column(house1);null" description:"入库仓库"`
	ShippPeople      string  `orm:"column(shipp_people);size(30);null" description:"收货人"`
	Freconst         int     `orm:"column(freconst);null" description:"运费"`
	Remark           string  `orm:"column(remark);null" description:"备注"`
	CreatedAt        int64   `orm:"column(created_at);null" description:"创建时间"`
	UpdatedAt        int     `orm:"column(updated_at);null" description:"修改时间"`
	DeletedAt        int     `orm:"column(deleted_at);null" description:"删除时间"`
	IsDel            int     `orm:"column(is_del);null" description:"是否删除"`
	Auditor          int     `orm:"column(auditor);null" description:"来源单据审核人"`
	Operator         int     `orm:"column(operator);null" description:"操作人"`
	PaymentType      int8    `orm:"column(payment_type);null" description:"应付款状态"`
	CustomerId       int     `orm:"column(customer_id);null" description:"客户id"`
	FcgCheckPayables int8    `orm:"column(fcg_check_payables);null" description:"针对采购设计(内部应付款判断)"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL