|
@@ -64,6 +64,7 @@ type CompanyUser struct {
|
|
|
IsFollow int `description:"是否特别关注: 0-未关注; 1-已关注"`
|
|
|
IsSubscribeHzyj int `description:"是否关注了弘则研究微信公众号: 0-未关注; 1-已关注"`
|
|
|
IsSubscribeCygx int `description:"是否关注了查研观向微信公众号: 0-未关注; 1-已关注"`
|
|
|
+ IsSubscribeMfyx int `description:"是否关注了买方研选微信公众号: 0-未关注; 1-已关注"`
|
|
|
FiccViewTotal int `description:"ficc报告的阅读次数" json:"-"`
|
|
|
FiccLastViewTime time.Time `description:"ficc报告最近一次阅读时间" json:"-"`
|
|
|
RaiViewTotal int `description:"权益报告的阅读次数" json:"-"`
|
|
@@ -139,7 +140,7 @@ func GetCompanyUserListCountV2(condition string, pars []interface{}, companyId i
|
|
|
func GetCompanyUserListV2(condition string, pars []interface{}, companyId, startSize, pageSize int) (items []*CompanyUser, err error) {
|
|
|
o := orm.NewOrm()
|
|
|
sql := `SELECT
|
|
|
- a.*, a.cygx_subscribe as is_subscribe_cygx, c.subscribe AS is_subscribe_hzyj
|
|
|
+ a.*, a.cygx_subscribe AS is_subscribe_cygx, a.mfyx_subscribe AS is_subscribe_mfyx , c.subscribe AS is_subscribe_hzyj
|
|
|
FROM
|
|
|
wx_user AS a
|
|
|
LEFT JOIN user_seller_relation AS b ON a.user_id = b.user_id
|