Commit c30e13b6 authored by mlchun's avatar mlchun

1.注册信息优化

parent d774347f
......@@ -261,7 +261,7 @@ public class PensionOrderController {
@ApiImplicitParams({
@ApiImplicitParam(name = Constant.PAGE, value = "当前页码,从1开始", paramType = "query", required = true, dataType="int") ,
@ApiImplicitParam(name = Constant.LIMIT, value = "每页显示记录数", paramType = "query",required = true, dataType="int") ,
@ApiImplicitParam(name = "status", value = "订单状态: 0未接单 6待完成 3已取消 4待评价 留空全部", paramType = "query", dataType="int") ,
@ApiImplicitParam(name = "status", value = "订单状态: 6待完成 3已取消 4待评价 留空全部", paramType = "query", dataType="int") ,
@ApiImplicitParam(name = Constant.ORDER_FIELD, value = "排序字段", paramType = "query", dataType="String") ,
@ApiImplicitParam(name = Constant.ORDER, value = "排序方式,可选值(asc、desc)", paramType = "query", dataType="String")
})
......
......@@ -123,8 +123,10 @@ public class PensionOrderServiceImpl extends CrudServiceImpl<PensionOrderDao, Pe
}else if (status != 6) {
list = pensionOrderDao.getElderAllOrderOrByStatusList(params, creator, status);
}else {
List<PensionOrderDTO> list0 = pensionOrderDao.getElderAllOrderOrByStatusList(params, creator, 0);
List<PensionOrderDTO> list1 = pensionOrderDao.getElderAllOrderOrByStatusList(params, creator, 1);
List<PensionOrderDTO> list2 = pensionOrderDao.getElderAllOrderOrByStatusList(params, creator, 5);
list.addAll(list0);
list.addAll(list1);
list.addAll(list2);
}
......
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