fix 电子餐券余额查询问题
This commit is contained in:
@@ -553,7 +553,7 @@ public class OrderService : BaseOrderService, IOrderService
|
|||||||
//获取餐券余额
|
//获取餐券余额
|
||||||
var data = await DbContext.Queryable<EMealVoucherEntity>()
|
var data = await DbContext.Queryable<EMealVoucherEntity>()
|
||||||
.LeftJoin<EMealVoucherDetailEntity>((x, d) => x.No == d.No)
|
.LeftJoin<EMealVoucherDetailEntity>((x, d) => x.No == d.No)
|
||||||
.Where((x, d) => d.IdNo == idNo)
|
.Where((x, d) => x.No == no && d.IdNo == idNo)
|
||||||
.Select((x, d) => new OrderResultResponse
|
.Select((x, d) => new OrderResultResponse
|
||||||
{
|
{
|
||||||
CurrentBalance = d.Balance
|
CurrentBalance = d.Balance
|
||||||
|
|||||||
Reference in New Issue
Block a user