作者 tangxvhui

修复bug

@@ -246,10 +246,12 @@ func (service OrderService) UpdateOrderPurpose(command command.UpdateOrderComman @@ -246,10 +246,12 @@ func (service OrderService) UpdateOrderPurpose(command command.UpdateOrderComman
246 } 246 }
247 err = orderData.Update(map[string]interface{}{ 247 err = orderData.Update(map[string]interface{}{
248 //订单编号 248 //订单编号
249 - "orderCode": command.OrderCode,  
250 - "oderName": command.OrderName,  
251 - "orderCount": command.OrderCount,  
252 - "orderAmount": command.OrderAmount, 249 + "orderCode": command.OrderCode,
  250 + "oderName": command.OrderName,
  251 + "orderCount": command.OrderCount,
  252 + "orderAmount": command.OrderAmount,
  253 + "orderActualCount": command.OrderCount,
  254 + "orderActualAmount": command.OrderCount,
253 "buyer": domain.Buyer{ 255 "buyer": domain.Buyer{
254 BuyerName: orderData.Buyer.BuyerName, 256 BuyerName: orderData.Buyer.BuyerName,
255 ContactInfo: command.BuyerPhone, 257 ContactInfo: command.BuyerPhone,