修改查询

This commit is contained in:
yangjun 2024-08-06 21:55:03 +08:00
parent c90328033c
commit 37c475669b
2 changed files with 4 additions and 2 deletions

View File

@ -87,7 +87,9 @@ public class PayClassifyController {
@ApiOperation("查询充值分类")
public Result selectPayClassifyList(Integer page,Integer limit){
Page<PayClassify> pages=new Page<>(page,limit);
IPage<PayClassify> page1 = payClassifyService.page(pages);
QueryWrapper<PayClassify> payClassifyQueryWrapper = new QueryWrapper<>();
payClassifyQueryWrapper.orderByDesc("create_time");
IPage<PayClassify> page1 = payClassifyService.page(pages,payClassifyQueryWrapper);
List<PayClassify> records = page1.getRecords();
for(PayClassify payClassify:records){
List<PayClassifyDetail> list = payClassifyDetailService.findList(payClassify.getPayClassifyId());

View File

@ -304,7 +304,7 @@ public class AllTaskServiceImpl implements AllTaskSercice {
//赠送盛安豆定时任务
@Scheduled(cron = "0 00 21 * * ?")
@Scheduled(cron = "0 0/1 * * * ?")
public void updateSadJob() {
QueryWrapper<BlSadJob> query = new QueryWrapper<>();
query.eq("sfwc",0);