|
|
@ -50,7 +50,9 @@ namespace Service.Charger.Handler
|
|
|
|
if (ObjUtils.IsNotEmpty(orders))
|
|
|
|
if (ObjUtils.IsNotEmpty(orders))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
List<int> list = orders.Select(it => it.Id).ToList();
|
|
|
|
List<int> list = orders.Select(it => it.Id).ToList();
|
|
|
|
ChargeOrderRepository.Update(it => it.CanUpload == 1 && it.ReportingTimes==0,
|
|
|
|
|
|
|
|
|
|
|
|
ChargeOrderRepository.Update(it => new ChargeOrder()
|
|
|
|
|
|
|
|
{CanUpload = 1 ,ReportingTimes=0 },
|
|
|
|
it => list.Contains(it.Id));
|
|
|
|
it => list.Contains(it.Id));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|