fix 根据营业点号获取餐次名称为null
This commit is contained in:
@@ -98,10 +98,10 @@ public class BusinessPlaceShiftService : IBusinessPlaceShiftService
|
||||
var tenantInfo = tenantResult.Data;
|
||||
|
||||
var list = new List<BusinessPlaceShiftTinyResponse>();
|
||||
foreach (var shiftinfo in shifts)
|
||||
foreach (CanteenBusinessShiftEntity shiftinfo in shifts)
|
||||
{
|
||||
var name = _dbContext.Queryable<BasicTypeEntity>()
|
||||
.Where(x => x.Code == shiftinfo.Code.ToString())
|
||||
.Where(x => x.Code == shiftinfo.CustomCode.ToString())
|
||||
.Select(x => x.Display)
|
||||
.First();
|
||||
var shift = new BusinessPlaceShiftTinyResponse
|
||||
|
||||
Reference in New Issue
Block a user