Commit dd2e5ca5 authored by lings's avatar lings

浙里办20210318浙里办登陆

parent 43149cf1
......@@ -61,7 +61,8 @@ public class AppointmentOrderController {
@ApiImplicitParam(name = Constant.ORDER, value = "排序方式,可选值(asc、desc)", paramType = "query", dataType="String"),
@ApiImplicitParam(name = "flag", value = "预约或取号,预约传Y,取号传Q", paramType = "query", dataType="String")
})
public Result<PageData<AppointmentOrderDTO>> page(@ApiIgnore @RequestParam Map<String, Object> params){
public Result<PageData<AppointmentOrderDTO>> page(@LoginUser UserEntity user, @ApiIgnore @RequestParam Map<String, Object> params){
params.put("userdId",user.getId());
PageData<AppointmentOrderDTO> page = appointmentOrderService.page(params);
page.getList().forEach(l->{
//判断已取号或者消除过号
......
......@@ -56,6 +56,7 @@ public class AppointmentOrderServiceImpl extends CrudServiceImpl<AppointmentOrde
@Override
public QueryWrapper<AppointmentOrderEntity> getWrapper(Map<String, Object> params){
String id = (String)params.get("id");
String userId = (String)params.get("userId");
String flag = (String)params.get("flag");
QueryWrapper<AppointmentOrderEntity> wrapper = new QueryWrapper<>();
......
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