KKSU
2023-12-07 c5d750c054ba7c06757f024d51a379f5bef0b6d0
src/main/resources/mapper/modules/MallProductSellRecordMapper.xml
@@ -17,6 +17,7 @@
        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">
@@ -26,4 +27,10 @@
            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>