KKSU
2024-05-30 1a6e8123db395b7e3661bea01b3e35ff3bd24f57
图片上传
1 files modified
4 ■■■ changed files
src/main/resources/mapper/modules/MallProductBuyMapper.xml 4 ●●● patch | view | raw | blame | history
src/main/resources/mapper/modules/MallProductBuyMapper.xml
@@ -71,7 +71,9 @@
    </select>
    <select id="selectTotalPerk" resultType="cc.mrbird.febs.mall.entity.MallProductBuy">
        select IFNULL(sum(total_perk), 0) from mall_product_buy
        select IFNULL(sum(total_perk), 0)
             ,member_id
        from mall_product_buy
        where state = 3
        GROUP BY member_id;
    </select>