Commit 6404622b authored by huangjiamin's avatar huangjiamin

充值赠送

parent ffeac422
...@@ -24,7 +24,7 @@ public class PayBackServiceImpl implements PayBackService { ...@@ -24,7 +24,7 @@ public class PayBackServiceImpl implements PayBackService {
@Override @Override
public List<PayBack> findAll() { public List<PayBack> findAll() {
return payBackRepository.findAll(); return payBackRepository.findAll().stream().sorted(Comparator.comparing(PayBack::getPay)).collect(Collectors.toList());
} }
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment