收银台
This commit is contained in:
parent
53524364dc
commit
5568c13c04
@ -157,10 +157,10 @@ public class ActiveExchangeServiceImpl implements ActiveExchangeService {
|
||||
MaxoutVO maxoutVO = new MaxoutVO();
|
||||
BeanUtils.copyProperties(activeFullminus,maxoutVO);
|
||||
LambdaQueryWrapper<ActiveDiscountChild> queryWrappers = new LambdaQueryWrapper<>();
|
||||
queryWrappers.eq(ActiveDiscountChild::getActiveDiscountId,activeFullminus.getId());
|
||||
queryWrappers.eq(ActiveDiscountChild::getActiveFullminusId,activeFullminus.getId());
|
||||
//判断符合金额
|
||||
queryWrappers.le(ActiveDiscountChild::getAmount,transferDTO.getOilPrice() * transferDTO.getOilLiters());
|
||||
queryWrappers.orderByDesc(ActiveDiscountChild::getCreateTime);
|
||||
queryWrappers.orderByDesc(ActiveDiscountChild::getAmount);
|
||||
maxoutVO.setActiveDiscountChildList(activeDiscountChildService.list(queryWrappers));
|
||||
maxoutVOArrayList.add(maxoutVO);
|
||||
}
|
||||
@ -184,7 +184,7 @@ public class ActiveExchangeServiceImpl implements ActiveExchangeService {
|
||||
queryWrappers.eq(ActiveDiscountChild::getActiveDiscountId,activeDiscount.getId());
|
||||
//判断符合金额
|
||||
queryWrappers.le(ActiveDiscountChild::getAmount,transferDTO.getOilPrice() * transferDTO.getOilLiters());
|
||||
queryWrappers.orderByDesc(ActiveDiscountChild::getCreateTime);
|
||||
queryWrappers.orderByDesc(ActiveDiscountChild::getAmount);
|
||||
maxoutVO.setActiveDiscountChildList(activeDiscountChildService.list(queryWrappers));
|
||||
maxoutVOArrayList.add(maxoutVO);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user