|
|
@@ -876,6 +876,7 @@ type Ermcp3SellBuyContract struct {
|
|
|
SUBJECTID int64 `json:"subjectid" xorm:"'SUBJECTID'"` // 交易主体ID
|
|
|
SUBJECTNAME string `json:"subjectname" xorm:"'SUBJECTNAME'"` // 交易主体名称
|
|
|
VATRATE float64 `json:"vatrate" xorm:"'VATRATE'"` // 增值税率
|
|
|
+ BIZSUBJECTID string `json:"bizsubjectid" xorm:"BIZSUBJECTID"` // 归属业务部门ID - SubjectID
|
|
|
|
|
|
NICKNAME string `json:"nickname"` // 账户昵称
|
|
|
TRADEUSERLOGINCODE string `json:"tradeuserlogincode"` // 交易员登录代码
|
|
|
@@ -998,7 +999,8 @@ select t.contractno,
|
|
|
t.pricedamount + t.ReckonAdjustAmount as LoanAmount,
|
|
|
gb.dgfactoryitemvalue BRANDNAME,
|
|
|
to_char(t.subjectid) subjectid,
|
|
|
- b.subjectname
|
|
|
+ b.subjectname,
|
|
|
+ t.bizsubjectid
|
|
|
from ermcp_spotcontract t
|
|
|
left join ermcp_pa_areasubject b on t.subjectid=b.subjectid
|
|
|
left join deliverygoods g
|