|
|
@@ -2248,10 +2248,12 @@ type MyFavorite struct {
|
|
|
FAVORITESTATUS int32 `json:"favoritestatus" xorm:"FAVORITESTATUS"` // 收藏状态 - 1:正常 2:失效
|
|
|
MARKETID int32 `json:"marketid" xorm:"MARKETID"` // 市场ID
|
|
|
|
|
|
+ MARKETPRICE string `json:"marketprice" xorm:"MARKETPRICE"` // 市场价
|
|
|
+ SELLUSERNAME string `json:"sellusername" xorm:"SELLUSERNAME"` // 卖家
|
|
|
ZSCATEGORYDISPLAY string `json:"zscategorydisplay" xorm:"ZSCATEGORYDISPLAY"` //
|
|
|
ZSCURRENCYTYPEDISPLAY string `json:"zscurrencytypedisplay" xorm:"ZSCURRENCYTYPEDISPLAY"` //
|
|
|
ZSCURRENCYTYPEDISPLAYUNIT string `json:"zscurrencytypedisplayunit" xorm:"ZSCURRENCYTYPEDISPLAYUNIT"` //
|
|
|
- WAREHOUSENAMEDISPLAY string `json:"warehousenamedisplay" xorm:"WAREHOUSENAMEDISPLAY"` //
|
|
|
+ WAREHOUSENAMEDISPLAY string `json:"warehousenamedisplay" xorm:"WAREHOUSENAMEDISPLAY"` // 仓库名称
|
|
|
ZSSHAPETYPEDISPLAY string `json:"zsshapetypedisplay" xorm:"ZSSHAPETYPEDISPLAY"` //
|
|
|
ZSCOLORTYPE1DISPLAY string `json:"zscolortype1display" xorm:"ZSCOLORTYPE1DISPLAY"` //
|
|
|
ZSCOLORTYPE2DISPLAY string `json:"zscolortype2display" xorm:"ZSCOLORTYPE2DISPLAY"` //
|
|
|
@@ -2329,6 +2331,8 @@ func (r *MyFavorite) buildSql() string {
|
|
|
q.WEIGHT,
|
|
|
q.WEIGHTAVG,
|
|
|
q.ZSCATEGORY,
|
|
|
+ q.MARKETPRICE,
|
|
|
+ q.SELLUSERNAME,
|
|
|
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
|
|
|
ELSE q.SIZE1
|