|
|
@@ -654,6 +654,8 @@ type Ermcp3Contract struct {
|
|
|
MERUSERLOGINCODE string `json:"meruserlogincode"` // 跟单员登录代码
|
|
|
CURRENCYNAME string `json:"currencyname"` // 币种名称
|
|
|
TRADEUSERNAME string `json:"tradeusername"` // 交易员名称
|
|
|
+ SALEUSERNAME string `json:"saleusername"` // 业务员名称
|
|
|
+ MERUSERNAME string `json:"merusername"` // 跟单员名称
|
|
|
|
|
|
// 筛选条件
|
|
|
QryType int32 `json:"-"` // 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
|
|
|
@@ -685,6 +687,8 @@ func (r *Ermcp3Contract) calc() {
|
|
|
r.MERUSERLOGINCODE = mtpcache.GetLoginCodeByUserId(r.MERUSERID)
|
|
|
r.TRADEUSERNAME = mtpcache.GetUserNameByUserId(r.TRADEUSERID)
|
|
|
r.CURRENCYNAME = mtpcache.GetCurrencyName(r.CURRENCYID)
|
|
|
+ r.SALEUSERNAME = mtpcache.GetUserNameByUserId(r.SALEUSERID)
|
|
|
+ r.MERUSERNAME = mtpcache.GetUserNameByUserId(r.MERUSERID)
|
|
|
}
|
|
|
|
|
|
func (r *Ermcp3Contract) buildSql() string {
|