KKSU
2024-06-04 0c5aa03415bfad1fa085e5db88a0a2a51f356c3e
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}