add 消费处理完成
This commit is contained in:
@@ -39,7 +39,9 @@ public class SysDataService : ISysDataService
|
||||
case "GainfoMeal":
|
||||
{
|
||||
var codes = await _dbContext.Queryable<GainfoEntity>().Where(x => x.Factory == factory).Select(x => x.Code).ToListAsync();
|
||||
return await _dbContext.Queryable<GainfoMealEntity>().Where(x => codes.Contains(x.UserCode)).Select(x => (object)x).ToListAsync();
|
||||
return null;
|
||||
//todo 余额
|
||||
///return await _dbContext.Queryable<GainfoMealEntity>().Where(x => codes.Contains(x.UserCode)).Select(x => (object)x).ToListAsync();
|
||||
}
|
||||
default:
|
||||
return await _dbContext.Client.SqlQueryable<object>(sql).ToListAsync();
|
||||
|
||||
Reference in New Issue
Block a user