KKSU
2024-06-03 1de5a4bf3d3248b6847cad2f73ce7ca8a4a6ba56
src/main/resources/mapper/modules/MallOrderItemMapper.xml
@@ -19,6 +19,11 @@
        where a.state != #{state} and a.order_id=#{orderId}
    </select>
    <select id="selectListByStateAndOrderId" resultType="cc.mrbird.febs.mall.entity.MallOrderItem">
        select a.* from mall_order_item a
        where a.state = #{state} and a.order_id=#{orderId}
    </select>
    <update id="updateStateByOrderId">
        update mall_order_item
        set state = #{state}