xiaoyong931011
2022-09-01 1b97bd4f4d8bdc316d5ef6cf1f2dbc11582f0b23
src/main/resources/mapper/modules/MallOrderItemMapper.xml
@@ -8,9 +8,9 @@
        where a.goods_id=#{goodsId} and b.member_id=#{memberId}
    </select>
    <select id="selectListByStateAndOrderId" resultType="cc.mrbird.febs.mall.entity.MallOrderItem">
    <select id="selectListByNotInStateAndOrderId" resultType="cc.mrbird.febs.mall.entity.MallOrderItem">
        select a.* from mall_order_item a
        where a.state=#{state} and a.order_id=#{orderId}
        where a.state != #{state} and a.order_id=#{orderId}
    </select>
</mapper>