KKSU
2023-11-27 62fcbc4dda69e739f05d547cd0b9a042004186b4
src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
@@ -249,4 +249,16 @@
        ORDER BY
            a.created_time ASC
    </select>
    <select id="selectByOrderAndType" resultType="cc.mrbird.febs.mall.entity.MallMoneyFlow">
        SELECT
            *
        FROM
            mall_money_flow a
        WHERE
            a.type = #{type}
          AND a.flow_type = #{flowType}
          AND a.member_id = #{memberId}
          AND a.order_no = #{orderNo}
    </select>
</mapper>