add 消费处理完成

This commit is contained in:
2024-10-25 17:10:18 +08:00
parent 8cf195eb77
commit 0e0c5db6b8
38 changed files with 1280 additions and 1192 deletions

View File

@@ -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();