Helius
2021-05-20 d8fb05f44d8969921b7128d92be282176475ee80
src/main/resources/mapper/otc/OtcOrderDao.xml
@@ -37,4 +37,15 @@
            </if>
        </where>
    </select>
    <update id="updateOrderStatusByOrderNo">
        update otc_order
        set status=#{status}
        where order_no=#{orderNo}
    </update>
    <select id="selectOrderByOrderNoAndType" resultType="com.xcong.excoin.modules.otc.entity.OtcOrder">
        select * from otc_order
        where order_no=#{orderNo} and order_type=#{orderType}
    </select>
</mapper>