| | |
| | | <if test="record.accountStatus != null"> |
| | | and a.account_status = #{record.accountStatus} |
| | | </if> |
| | | <if test="record.accountType != null"> |
| | | <if test="record.accountType != null and record.accountType != ''"> |
| | | and a.account_type = #{record.accountType} |
| | | </if> |
| | | <if test="record.changeAble != null"> |
| | |
| | | select * from dapp_member |
| | | where node_type = 1 |
| | | </select> |
| | | |
| | | <select id="selectAddress" resultType="java.lang.String"> |
| | | select |
| | | address |
| | | from dapp_member where active_status = 1 |
| | | </select> |
| | | |
| | | <select id="selectMallGoodsListQueryInPage" resultType="cc.mrbird.febs.dapp.vo.MallGoodsListVo"> |
| | | select |
| | | a.* |
| | | from mall_goods a |
| | | where a.is_sale = 1 |
| | | group by a.id |
| | | order by a.sort_cnt asc |
| | | </select> |
| | | |
| | | <select id="selectMallOrderListQueryInPage" resultType="cc.mrbird.febs.dapp.vo.MallOrderListVo"> |
| | | select a.* |
| | | from mall_order_info a |
| | | <where> |
| | | a.member_id = #{record.memberId} |
| | | <if test="record != null"> |
| | | <if test="record.status != null and record.status != ''"> |
| | | and a.status = #{record.status} |
| | | </if> |
| | | </if> |
| | | </where> |
| | | order by a.create_time desc |
| | | </select> |
| | | |
| | | <select id="selectMallOrderListVoById" resultType="cc.mrbird.febs.dapp.vo.MallOrderListVo"> |
| | | select a.* |
| | | from mall_order_info a |
| | | where id = #{orderId} |
| | | order by a.create_time desc |
| | | </select> |
| | | |
| | | <select id="selectMallOrderItemVoByOrderId" resultType="cc.mrbird.febs.dapp.vo.MallOrderItemVo"> |
| | | select a.* |
| | | from mall_order_item a |
| | | where orderId = #{orderId} |
| | | </select> |
| | | |
| | | <select id="selectMallGoodsListVoById" resultType="cc.mrbird.febs.dapp.vo.MallGoodsListVo"> |
| | | select |
| | | a.* |
| | | from mall_goods a |
| | | where a.id = #{goodsId} |
| | | </select> |
| | | |
| | | <select id="selectInviteLeft" resultType="cc.mrbird.febs.dapp.entity.DappMemberEntity"> |
| | | select * from dapp_member where invite_left = #{inviteId} |
| | | </select> |
| | | |
| | | <select id="selectInviteRight" resultType="cc.mrbird.febs.dapp.entity.DappMemberEntity"> |
| | | select * from dapp_member where invite_right = #{inviteId} |
| | | </select> |
| | | </mapper> |