|
@@ -2168,6 +2168,8 @@ type MyFavorite struct {
|
|
|
SIZEDISPLAY string `json:"sizedisplay" xorm:"SIZEDISPLAY"` // 尺寸
|
|
SIZEDISPLAY string `json:"sizedisplay" xorm:"SIZEDISPLAY"` // 尺寸
|
|
|
ZSCATEGORY int32 `json:"zscategory" xorm:"ZSCATEGORY"` // 钻石分类 - 枚举”ZSCategory“
|
|
ZSCATEGORY int32 `json:"zscategory" xorm:"ZSCATEGORY"` // 钻石分类 - 枚举”ZSCategory“
|
|
|
|
|
|
|
|
|
|
+ ACCOUNTNAME string `json:"accountname" xorm:"ACCOUNTNAME"` // 账户名称(机构名称)
|
|
|
|
|
+
|
|
|
PageEx `xorm:"extends"` // 页码信息
|
|
PageEx `xorm:"extends"` // 页码信息
|
|
|
|
|
|
|
|
ZSCATEGORYS string `json:"-" form:"zscategorys"` // 钻石分类,格式: 1,2,3
|
|
ZSCATEGORYS string `json:"-" form:"zscategorys"` // 钻石分类,格式: 1,2,3
|
|
@@ -2219,9 +2221,11 @@ func (r *MyFavorite) buildSql() string {
|
|
|
CASE WHEN
|
|
CASE WHEN
|
|
|
q.SIZE1 IS NOT NULL AND q.SIZE2 IS NOT NULL AND q.SIZE2 IS NOT NULL THEN q.SIZE1 || '*' || q.SIZE2 || '*' || q.SIZE3
|
|
q.SIZE1 IS NOT NULL AND q.SIZE2 IS NOT NULL AND q.SIZE2 IS NOT NULL THEN q.SIZE1 || '*' || q.SIZE2 || '*' || q.SIZE3
|
|
|
ELSE q.SIZE1
|
|
ELSE q.SIZE1
|
|
|
- END AS SIZEDISPLAY
|
|
|
|
|
|
|
+ END AS SIZEDISPLAY,
|
|
|
|
|
+ ua1.ACCOUNTNAME
|
|
|
FROM Wrtrade_Myfavorite t
|
|
FROM Wrtrade_Myfavorite t
|
|
|
LEFT JOIN view_GZ_WRStandard_Ex_Query q ON t.WRSTANDARDID = q.WRSTANDARDID
|
|
LEFT JOIN view_GZ_WRStandard_Ex_Query q ON t.WRSTANDARDID = q.WRSTANDARDID
|
|
|
|
|
+ LEFT JOIN UserAccount ua1 ON t.USERID = ua1.userid
|
|
|
WHERE t.marketid=67201
|
|
WHERE t.marketid=67201
|
|
|
`
|
|
`
|
|
|
|
|
|