浏览代码

采购详情增加出参

zhou.xiaoning 3 年之前
父节点
当前提交
a60665bc58
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      models/ferroalloy.go

+ 2 - 0
models/ferroalloy.go

@@ -487,6 +487,7 @@ type THJDeliveryMonth struct {
 
 // THJPresaleApplyDeposit 支付方式
 type THJPresaleApplyDeposit struct {
+	PRESALEAPPLYID int64   `json:"presaleapplyid" xorm:"PRESALEAPPLYID"` // 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
 	DEPOSITRATE    float64 `json:"depositrate" xorm:"DEPOSITRATE"`       // 定金比例
 	DISCOUNTAMOUNT float64 `json:"discountamount" xorm:"DISCOUNTAMOUNT"` // 优惠金额(每吨)
 }
@@ -579,6 +580,7 @@ func (r *THJWrstandardDetailReq) GetTHJWrstandardDetail() (rsp *THJWrstandardDet
 		presaleApplyDeposits := make([]THJPresaleApplyDeposit, 0)
 		sql = fmt.Sprintf(`
 			select 
+				t.PRESALEAPPLYID,
 				t.DEPOSITRATE, 
 				t.DISCOUNTAMOUNT 
 			from THJ_PresaleApplyDeposit t