xiaoyong931011
2022-09-05 6aeb0a551f3e71f7dfafacaabf5e5d6bd45a17d0
src/main/resources/mapper/modules/MallOrderItemMapper.xml
@@ -13,4 +13,11 @@
        where a.state != #{state} and a.order_id=#{orderId}
    </select>
    <update id="updateStateByOrderId">
        update mall_order_item
        set state = #{state}
        where order_id = #{orderId}
    </update>
</mapper>