Przeglądaj źródła

增加升贴水字段

zou.yingbin 4 lat temu
rodzic
commit
797b9fb1e8
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      models/ermcpOPApply.go

+ 2 - 0
models/ermcpOPApply.go

@@ -25,6 +25,7 @@ type ErmcpOPApplyModel struct {
 	CONTRACTTYPE     int32  `json:"CONTRACTTYPE"  xorm:"'CONTRACTTYPE'"`         //现货合同类型 - 1:采购 -1:销售
 	CONTRACTNO       string `json:"CONTRACTNO"  xorm:"'CONTRACTNO'"`             //合同编号
 	PRICETYPE        int32  `json:"PRICETYPE"  xorm:"'PRICETYPE'"`               //定价类型 - 1:一口价 2:点价 3:暂定价
+	PRICEMOVE        float64`json:"PRICEMOVE"  xorm:"'PRICEMOVE'"`               //升贴水
 	GOODSNAME        string `json:"GOODSNAME"  xorm:"'GOODSNAME'"`               //商品名称
 	GOODSCODE        string `json:"GOODSCODE"  xorm:"'GOODSCODE'"`               //点价合约
 	EnumdicName      string `json:"EnumdicName"  xorm:"'ENUMDICNAME'"`           //单位名称
@@ -45,6 +46,7 @@ func (r *ErmcpOPApplyModel) buildSql(opType int32) string {
 		"       t.CONTRACTTYPE," +
 		"       s.CONTRACTNO," +
 		"       s.PRICETYPE," +
+		"       s.pricemove,"+
 		"       g.GOODSNAME," +
 		"       g.GOODSCODE," +
 		"       e.EnumdicName," +