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}