src/main/resources/mapper/modules/MallProductBuyMapper.xml
@@ -55,4 +55,17 @@ where a.member_id = #{memberId} </select> <select id="selectSellListInPage" resultType="cc.mrbird.febs.mall.vo.ApiOrderSellVo"> select a.* from mall_product_sell a where a.member_id = #{record.memberId} order by a.CREATED_TIME desc </select> <select id="selectTotalPerk" resultType="cc.mrbird.febs.mall.entity.MallProductBuy"> select SUM(total_perk) from mall_product_buy where state = 3 GROUP BY member_id; </select> </mapper>