liusheng
15 小时以前 c410c133f21297fc2bf6fc32335652eb07eb6d52
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatMedOuthospController.java
@@ -4,6 +4,8 @@
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;
@@ -48,9 +50,16 @@
    @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);
    }
    /**