// 返回最终的查询语句 protected override string getResultSql(string cond, ParamMemberInfo p) { string cmd = ""; if (p.isPlayerWinLoseList()) { cmd = string.Format(WIN_LOSE_SEARCH_CMD_1, TableName.PLAYER_WIN_LOSE, cond); } else { cmd = string.Format(WIN_LOSE_SEARCH_CMD, TableName.PLAYER_WIN_LOSE, cond); } return(cmd); }
protected override string genAccSearchCond(GMUser user, ParamMemberInfo p) { string cond = ""; if (p.isPlayerWinLoseList()) { cond = string.Format(" playerAcc='{0}' and playerCreateCode like '{1}%' ", p.m_acc, ItemHelp.getCreateCodeSpecial(user)); } else { cond = string.Format(" playerAcc='{0}' and playerCreateCode like '{1}%' ", p.m_acc, ItemHelp.getCreateCodeSpecial(user)); } return(cond); }