| | |
| | | |
| | | <select id="selectMallGoodsInPage" resultType="cc.mrbird.febs.dapp.entity.MallGoods"> |
| | | select |
| | | a.* |
| | | a.*, |
| | | b.name categoryName |
| | | from mall_goods a |
| | | left join mall_goods_category b on a.category_id = b.id |
| | | <where> |
| | | <if test="record != null"> |
| | | <if test="record.goodsName != null and record.goodsName != ''"> |
| | |
| | | select * from mall_goods a where a.category_id = #{categaryId} |
| | | </select> |
| | | |
| | | <select id="getMallOrderInfoById" resultType="cc.mrbird.febs.dapp.vo.AdminMallOrderVo"> |
| | | select b.* from mall_address_info b |
| | | where b.id = (select a.address_id from mall_order_info a where a.id = #{id}) |
| | | </select> |
| | | |
| | | </mapper> |