| | |
| | | </if> |
| | | order by id desc |
| | | </select> |
| | | |
| | | <select id="getMallRollHouseListInPage" resultType="cc.mrbird.febs.mall.entity.MallMemberHouse"> |
| | | select |
| | | a.*, |
| | | b.name, |
| | | b.phone |
| | | from mall_member_house a |
| | | left join mall_member b on a.member_id = b.id |
| | | <where> |
| | | <if test="record.state != null and record.state != ''"> |
| | | and a.state = #{record.state} |
| | | </if> |
| | | <if test="record.orderNo != null and record.orderNo != ''"> |
| | | and a.order_no = #{record.orderNo} |
| | | </if> |
| | | <if test="record.name != null and record.name != ''"> |
| | | and b.name = #{record.name} |
| | | </if> |
| | | <if test="record.phone != null and record.phone != ''"> |
| | | and b.phone = #{record.phone} |
| | | </if> |
| | | |
| | | </where> |
| | | order by id desc |
| | | </select> |
| | | </mapper> |