| | |
| | | select * from dapp_member |
| | | where |
| | | active_status = 1 |
| | | and change_able = 1 |
| | | and account_type = #{accountType} |
| | | </select> |
| | | |
| | | <select id="selectChildMemberDirectOrNot" resultType="cc.mrbird.febs.dapp.entity.DappMemberEntity"> |
| | | select * from dapp_member |
| | | <where> |
| | | change_able = 1 |
| | | <if test="type==1"> |
| | | and referer_id=#{inviteId} |
| | | </if> |
| | |
| | | </select> |
| | | |
| | | <select id="selectMemberByActiveStatus" resultType="cc.mrbird.febs.dapp.entity.DappMemberEntity"> |
| | | select * from dapp_member where active_status = 1 |
| | | select * from dapp_member where active_status = 1 and change_able = 1 |
| | | </select> |
| | | |
| | | <select id="selectAchieveRecordByInviteId" resultType="java.math.BigDecimal"> |
| | |
| | | where a.order_no = #{orderNo} |
| | | limit 1 |
| | | </select> |
| | | |
| | | <select id="selectSoccerLeaguesInPage" resultType="cc.mrbird.febs.dapp.soccer.entity.SoccerLeagues"> |
| | | select |
| | | a.* |
| | | from soccer_leagues a |
| | | order by a.id asc |
| | | </select> |
| | | </mapper> |