KKSU
2023-12-11 bd5a72ac28d745b4413a4eabeb1a8a388ee163e9
src/main/resources/mapper/modules/MallProductSellRecordMapper.xml
@@ -17,6 +17,20 @@
        left join mall_member b on a.member_id = b.id
        left join mall_member_payment c on a.member_id = c.member_id
        where a.sell_id = #{productSellId}
        and a.state != 0
    </select>
    <select id="selectListBySellId" resultType="cc.mrbird.febs.mall.entity.MallProductSellRecord">
        select a.*
        from mall_product_sell_record a
        where a.sell_id = #{sellId}
            and a.state = #{state}
    </select>
    <select id="selectListByState" resultType="cc.mrbird.febs.mall.entity.MallProductSellRecord">
        select a.*
        from mall_product_sell_record a
        where a.state = #{state}
    </select>
</mapper>