liusheng
2024-09-04 9526971c403417c1c007804f24884c443b9e6cd7
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.smartor.domain.PatMedReq;
import com.smartor.domain.PatMedRes;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
@@ -52,6 +54,22 @@
    }
    /**
     * 查询患者门诊记录列表
     */
    @PostMapping("/selectPatMedOuthospCount")
    @ApiOperation("查询门诊看病人次和人数")
    public AjaxResult selectPatMedOuthospCount(@RequestBody PatMedReq patMedReq) {
        PatMedRes patMedRes = patMedOuthospService.selectPatMedOuthospCount(patMedReq);
        return success(patMedRes);
    }
    @PostMapping("/getDeptCodeByPatId")
    @ApiOperation("查询部门编码通过userId")
    public AjaxResult getDeptCodeByPatId(@RequestBody PatMedOuthosp patMedOuthosp) {
        return success(patMedOuthospService.getDeptCodeByPatId(patMedOuthosp));
    }
    /**
     * 导出患者门诊记录列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:patouthosp:export')")