mirror of
https://gitee.com/elegant_wings/dbd-meeting.git
synced 2025-06-21 13:39:37 +08:00
修改了上海对应bug
This commit is contained in:
parent
6310953379
commit
e7cdc255a7
@ -147,6 +147,7 @@ public class ReservationPersonServiceImpl extends ServiceImpl<ReservationPersonM
|
|||||||
IPage<Reservation> iPage = new Page<>(page,limit);
|
IPage<Reservation> iPage = new Page<>(page,limit);
|
||||||
QueryWrapper<Reservation> wrapper = new QueryWrapper<>();
|
QueryWrapper<Reservation> wrapper = new QueryWrapper<>();
|
||||||
wrapper.in("id",collect);
|
wrapper.in("id",collect);
|
||||||
|
wrapper.orderByDesc("start_time");
|
||||||
IPage<Reservation> iPage1 = reservationMapper.selectPage(iPage, wrapper);
|
IPage<Reservation> iPage1 = reservationMapper.selectPage(iPage, wrapper);
|
||||||
List<Reservation> records = iPage1.getRecords();
|
List<Reservation> records = iPage1.getRecords();
|
||||||
for (Reservation reservation1 : records) {
|
for (Reservation reservation1 : records) {
|
||||||
|
@ -351,4 +351,10 @@ public class ApiVisitorController extends BaseController {
|
|||||||
return R.data(policyService.selectPolicyById(11L));
|
return R.data(policyService.selectPolicyById(11L));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@RequiresPermissions("member:center:view")
|
||||||
|
@GetMapping("/policyById/{id}")
|
||||||
|
public R policyById(@PathVariable Long id) {
|
||||||
|
return R.data(policyService.selectPolicyById(id));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user