| | |
| | | from |
| | | sd.`order` as o |
| | | where |
| | | o.quantity=#{order.quantity} and o.area=#{order.area} and o.project=#{order.project} and o.customer_id=#{order.customerId} and o.money=#{order.money} |
| | | o.quantity=#{order.quantity} and o.area=#{order.area} and o.project=#{order.project} and o.customer_id=#{order.customerId} |
| | | </select> |
| | | |
| | | <select id="selectMaxOrderId"> |
| | |
| | | and o.delivery_address REGEXP #{order.deliveryAddress} |
| | | </if> |
| | | order by o.id desc |
| | | limit #{offset},#{pageSize} |
| | | </select> |
| | | |
| | | <update id="reviewOrderById"> |
| | |
| | | </update> |
| | | |
| | | <update id="updateMoney"> |
| | | update `order` set money = #{order.money} where order_id = #{order.orderId} |
| | | update `order` set money = #{order.money},calculate_type = #{order.calculateType} where order_id = #{order.orderId} |
| | | </update> |
| | | |
| | | <update id="cancelOrder"> |