Fix: 販売情報取得時の並び順を修正
This commit is contained in:
parent
cd6959c673
commit
f8ac2bbddb
@ -84,7 +84,7 @@ public class MySqlStockRepository : IStockRepository
|
||||
public async ValueTask<IEnumerable<StockTable>> FetchStockRecordByIdAsync(int productId)
|
||||
{
|
||||
var ret = await this.database.FetchAsync<StockTable>(
|
||||
$"SELECT * FROM stocks WHERE product_id = @0 ORDER BY date DESC",
|
||||
$"SELECT * FROM stocks WHERE product_id = @0 ORDER BY date ASC",
|
||||
productId
|
||||
).ConfigureAwait(false);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user