作者 tangxvhui

bug修复

... ... @@ -336,7 +336,7 @@ func (c *OrderController) OrderPurposeToReal() {
return
}
orderSrv := orderService.NewOrderService(nil)
if param.Id == 0 {
if param.Id > 0 {
err = orderSrv.UpdateOrderReal(orderCmd.UpdateOrderRealCommand{
Id: param.Id,
OrderCode: param.OrderId,
... ...