controllers/location_product_amount.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
controllers/location_product_amount.go
@@ -77,10 +77,12 @@ return } } else { records[k].AdjustAmount = operation.Details[0].Amount if len(operation.Details) > 0 { records[k].AdjustAmount = operation.Details[0].Amount records[k].DifferenceAmount = v.Amount.Add(v.AdjustAmount) } records[k].OperationId = operation.Id records[k].Status = operation.Status records[k].DifferenceAmount = v.Amount.Add(v.AdjustAmount) } } util.ResponseFormatListWithPage(c, code.Success, records, int(total), params.Page, params.PageSize)