| | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.github.pagehelper.ISelect; |
| | | import com.ruoyi.common.utils.PageUtils; |
| | | import com.smartor.domain.PatMedReq; |
| | | import com.smartor.domain.PatMedRes; |
| | | import io.swagger.annotations.Api; |
| | |
| | | @PostMapping("/selectPatMedOuthospList") |
| | | @ApiOperation("查询患者门诊记录列表") |
| | | public TableDataInfo selectPatMedOuthosplist(@RequestBody PatMedOuthosp patMedOuthosp) { |
| | | startPage(); |
| | | PageUtils.startPageByPost(patMedOuthosp.getPageNum(), patMedOuthosp.getPageSize()); |
| | | List<PatMedOuthosp> list = patMedOuthospService.selectPatMedOuthospList(patMedOuthosp); |
| | | return getDataTable(list); |
| | | |
| | | long count = PageUtils.count(new ISelect() { |
| | | @Override |
| | | public void doSelect() { |
| | | patMedOuthospService.selectPatMedOuthospList(patMedOuthosp); |
| | | } |
| | | }); |
| | | return getDataTable2(count, list); |
| | | } |
| | | |
| | | /** |