提交 fbf7ed2e authored 作者: luzhangjian's avatar luzhangjian

feat:修正错误

上级 bc5f3904
...@@ -26,5 +26,5 @@ public interface PatientSignMapper extends BaseMapper<PatientSignEntity> { ...@@ -26,5 +26,5 @@ public interface PatientSignMapper extends BaseMapper<PatientSignEntity> {
List<OrderListResVo> orderList(OrderListReqDTO param); List<OrderListResVo> orderList(OrderListReqDTO param);
QueryOrderTotalVo countSumOrder(); QueryOrderTotalVo countSumOrder(OrderListReqDTO param);
} }
...@@ -54,7 +54,7 @@ public class OrderManagementServiceImpl implements OrderManagementService { ...@@ -54,7 +54,7 @@ public class OrderManagementServiceImpl implements OrderManagementService {
List<OrderListResVo> records = patientSignMapper.orderList(param); List<OrderListResVo> records = patientSignMapper.orderList(param);
PageUtil<OrderListResVo> pageUtil = new PageUtil<>(); PageUtil<OrderListResVo> pageUtil = new PageUtil<>();
pageUtil.setList(records); pageUtil.setList(records);
QueryOrderTotalVo totalVo = patientSignMapper.countSumOrder(); QueryOrderTotalVo totalVo = patientSignMapper.countSumOrder(param);
pageUtil.setObject(totalVo); pageUtil.setObject(totalVo);
return BaseResponse.success(pageUtil); return BaseResponse.success(pageUtil);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论