|
|
@@ -624,11 +624,11 @@ func (r *THJWrstandardDetailReq) GetTHJWrstandardDetail() (rsp *THJWrstandardDet
|
|
|
|
|
|
// Thjpurchasetradedetail 铁合金采购成交扩展表
|
|
|
type Thjpurchasetradedetail struct {
|
|
|
- WRTRADEDETAILID int64 `json:"wrtradedetailid" xorm:"WRTRADEDETAILID"` // 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
|
|
|
- PRESALEAPPLYID int64 `json:"presaleapplyid" xorm:"PRESALEAPPLYID"` // 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
|
|
|
+ WRTRADEDETAILID string `json:"wrtradedetailid" xorm:"WRTRADEDETAILID"` // 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
|
|
|
+ PRESALEAPPLYID string `json:"presaleapplyid" xorm:"PRESALEAPPLYID"` // 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
|
|
|
TRADEDATE string `json:"tradedate" xorm:"TRADEDATE"` // 交易日(yyyyMMdd)
|
|
|
MARKETID int32 `json:"marketid" xorm:"MARKETID"` // 市场ID
|
|
|
- WRFACTORTYPEID int64 `json:"wrfactortypeid" xorm:"WRFACTORTYPEID"` // 仓单要素类型ID
|
|
|
+ WRFACTORTYPEID string `json:"wrfactortypeid" xorm:"WRFACTORTYPEID"` // 仓单要素类型ID
|
|
|
DELIVERYGOODSID int32 `json:"deliverygoodsid" xorm:"DELIVERYGOODSID"` // 现货品种ID
|
|
|
WRSTANDARDID int32 `json:"wrstandardid" xorm:"WRSTANDARDID"` // 现货商品ID
|
|
|
WAREHOUSEID int64 `json:"warehouseid" xorm:"WAREHOUSEID"` // 仓库ID
|
|
|
@@ -689,11 +689,11 @@ func (r *Thjpurchasetradedetail) buildSql() string {
|
|
|
wh.WAREHOUSENAME,
|
|
|
en1.enumdicname THJDELIVERYMODEDISPLAY,
|
|
|
en2.enumdicname THJORDERSTATUSDISPLAY,
|
|
|
- t.WRTRADEDETAILID,
|
|
|
- t.PRESALEAPPLYID,
|
|
|
+ to_char(t.WRTRADEDETAILID) WRTRADEDETAILID,
|
|
|
+ to_char(t.PRESALEAPPLYID) PRESALEAPPLYID,
|
|
|
t.TRADEDATE,
|
|
|
t.MARKETID,
|
|
|
- t.WRFACTORTYPEID,
|
|
|
+ to_char(t.WRFACTORTYPEID) WRFACTORTYPEID,
|
|
|
t.DELIVERYGOODSID,
|
|
|
t.WRSTANDARDID,
|
|
|
t.WAREHOUSEID,
|
|
|
@@ -1206,11 +1206,11 @@ func (r *THJPurchaseTradeDetailReq) GetData() (rsp *THJPurchaseTradeDetailRsp, e
|
|
|
|
|
|
// Thjpurchasetransfer 铁合金采购协议表
|
|
|
type Thjpurchasetransfer struct {
|
|
|
- TRANSFERID int64 `json:"transferid" xorm:"TRANSFERID"` // 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
|
|
|
- WRTRADEDETAILID int64 `json:"wrtradedetailid" xorm:"WRTRADEDETAILID"` // 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
|
|
|
- PRESALEAPPLYID int64 `json:"presaleapplyid" xorm:"PRESALEAPPLYID"` // 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
|
|
|
+ TRANSFERID string `json:"transferid" xorm:"TRANSFERID"` // 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
|
|
|
+ WRTRADEDETAILID string `json:"wrtradedetailid" xorm:"WRTRADEDETAILID"` // 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
|
|
|
+ PRESALEAPPLYID string `json:"presaleapplyid" xorm:"PRESALEAPPLYID"` // 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
|
|
|
TRADEDATE string `json:"tradedate" xorm:"TRADEDATE"` // 交易日(yyyyMMdd)
|
|
|
- WRFACTORTYPEID int64 `json:"wrfactortypeid" xorm:"WRFACTORTYPEID"` // 仓单要素类型ID
|
|
|
+ WRFACTORTYPEID string `json:"wrfactortypeid" xorm:"WRFACTORTYPEID"` // 仓单要素类型ID
|
|
|
DELIVERYGOODSID int32 `json:"deliverygoodsid" xorm:"DELIVERYGOODSID"` // 现货品种ID
|
|
|
WRSTANDARDID int32 `json:"wrstandardid" xorm:"WRSTANDARDID"` // 现货商品ID
|
|
|
WAREHOUSEID int64 `json:"warehouseid" xorm:"WAREHOUSEID"` // 仓库ID
|
|
|
@@ -1252,11 +1252,11 @@ func (r *Thjpurchasetransfer) buildSql() string {
|
|
|
wr.WRSTANDARDNAME,
|
|
|
p.TRADEPRICE,
|
|
|
p.PAYEDDEPOSIT,
|
|
|
- t.TRANSFERID,
|
|
|
- t.WRTRADEDETAILID,
|
|
|
- t.PRESALEAPPLYID,
|
|
|
+ to_char(t.TRANSFERID) TRANSFERID,
|
|
|
+ to_char(t.WRTRADEDETAILID) WRTRADEDETAILID,
|
|
|
+ to_char(t.PRESALEAPPLYID) PRESALEAPPLYID,
|
|
|
t.TRADEDATE,
|
|
|
- t.WRFACTORTYPEID,
|
|
|
+ to_char(t.WRFACTORTYPEID) WRFACTORTYPEID,
|
|
|
t.DELIVERYGOODSID,
|
|
|
t.WRSTANDARDID,
|
|
|
t.WAREHOUSEID,
|