|
|
@@ -469,7 +469,7 @@ type THJDeliveryMode struct {
|
|
|
|
|
|
// THJDeliveryMonth 交割月份
|
|
|
type THJDeliveryMonth struct {
|
|
|
- PRESALEAPPLYID int64 `json:"presaleapplyid" xorm:"PRESALEAPPLYID"` // 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
|
|
|
+ PRESALEAPPLYID string `json:"presaleapplyid" xorm:"PRESALEAPPLYID"` // 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
|
|
|
ENDMONTH string `json:"endmonth" xorm:"ENDMONTH"` // 预售结束月份(yyyy-mm)
|
|
|
ENDDATE string `json:"enddate" xorm:"ENDDATE"` // 预售结束日期(yyyy-mm-dd)
|
|
|
ORDERQTY int64 `json:"orderqty" xorm:"ORDERQTY"` // 委托数量
|
|
|
@@ -544,7 +544,7 @@ func (r *THJWrstandardDetailReq) GetTHJWrstandardDetail() (rsp *THJWrstandardDet
|
|
|
deliveryMonths := make([]THJDeliveryMonth, 0)
|
|
|
sql = fmt.Sprintf(`
|
|
|
select
|
|
|
- t.PRESALEAPPLYID,
|
|
|
+ to_char(t.PRESALEAPPLYID) PRESALEAPPLYID,
|
|
|
to_char(t.ENDDATE, 'yyyy-mm') ENDMONTH,
|
|
|
to_char(t.ENDDATE, 'yyyy-mm-dd') ENDDATE,
|
|
|
od.ORDERQTY,
|
|
|
@@ -565,7 +565,7 @@ func (r *THJWrstandardDetailReq) GetTHJWrstandardDetail() (rsp *THJWrstandardDet
|
|
|
// 支付方式
|
|
|
ids := make([]string, 0)
|
|
|
for _, item := range deliveryMonths {
|
|
|
- ids = append(ids, strconv.Itoa(int(item.PRESALEAPPLYID)))
|
|
|
+ ids = append(ids, item.PRESALEAPPLYID)
|
|
|
}
|
|
|
if len(ids) > 0 {
|
|
|
presaleApplyDeposits := make([]THJPresaleApplyDeposit, 0)
|