This commit is contained in:
aozhiwei 2020-11-24 12:04:01 +08:00
parent 0e1b3f006b
commit 88855446ee

View File

@ -809,6 +809,8 @@ void Guild::_CMGuildApplyList(f8::MsgHdr& hdr, const cs::CMGuildApplyList& msg)
apply->base_data.user_value2 = a8::XValue(row[9]); apply->base_data.user_value2 = a8::XValue(row[9]);
apply->base_data.user_value3 = a8::XValue(row[10]); apply->base_data.user_value3 = a8::XValue(row[10]);
apply->base_data.last_login_time = a8::XValue(row[12]); apply->base_data.last_login_time = a8::XValue(row[12]);
apply->base_data.vip_lv = a8::XValue(row[13]);
apply->base_data.head = a8::XValue(row[14]);
guild->apply_hash_[apply->idx] = apply; guild->apply_hash_[apply->idx] = apply;
if (apply->idx > guild->last_apply_idx_) { if (apply->idx > guild->last_apply_idx_) {
guild->last_apply_idx_ = apply->idx; guild->last_apply_idx_ = apply->idx;
@ -864,7 +866,8 @@ void Guild::_CMGuildApplyList(f8::MsgHdr& hdr, const cs::CMGuildApplyList& msg)
( (
"SELECT A.idx, A.applyid, A.guild_id, A.sender_id, A.sender_nickname, " "SELECT A.idx, A.applyid, A.guild_id, A.sender_id, A.sender_nickname, "
" A.sender_avatar_url, A.sender_sex, A.sender_data_version1, " " A.sender_avatar_url, A.sender_sex, A.sender_data_version1, "
" A.sender_user_value1, A.sender_user_value2, A.sender_user_value3, A.status, A.createtime " " A.sender_user_value1, A.sender_user_value2, A.sender_user_value3, A.status, A.createtime, "
" A.sender_vip_lv, A.sender_head "
"FROM guild_apply A " "FROM guild_apply A "
" LEFT JOIN (" + fmtstr + ") AS B ON B.account_id = A.sender_id " " LEFT JOIN (" + fmtstr + ") AS B ON B.account_id = A.sender_id "
"WHERE A.idx > %d AND A.guild_id='%s' AND A.status=0 AND " "WHERE A.idx > %d AND A.guild_id='%s' AND A.status=0 AND "