标签: mysql whmcs
WHMCS!谁知道如何在domainregister表中找到特定客户组的tblpricing价格?我可以使用唯一的ID吗?
domainregister
tblpricing
答案 0 :(得分:0)
Group id is saved to tsetupfee field, so you can use this SQL statement (for group id = 2):
SELECT * FROM tblpricing WHERE `tsetupfee` = 2 AND `type`='domainregister' AND `currency`='1' AND `relid` = '1'