| | |
| | | import java.util.Map; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.ruoyi.common.annotation.AddOrgId; |
| | | import com.ruoyi.common.constant.HttpStatus; |
| | | import com.ruoyi.common.core.domain.entity.SysDept; |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | |
| | | * 查询患者门诊记录列表 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patouthosp:list')") |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/selectPatMedOuthospList") |
| | | @ApiOperation("查询患者门诊记录列表") |
| | | public TableDataInfo selectPatMedOuthosplist(@RequestBody PatMedOuthosp patMedOuthosp) { |
| | |
| | | /** |
| | | * 查询患者门诊记录列表 |
| | | */ |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/selectPatMedOuthospCount") |
| | | @ApiOperation("查询门诊看病人次和人数") |
| | | public AjaxResult selectPatMedOuthospCount(@RequestBody PatMedReq patMedReq) { |
| | |
| | | @ApiOperation("新增患者门诊记录") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patouthosp:add')") |
| | | @Log(title = "患者门诊记录", businessType = BusinessType.INSERT) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMedOuthosp patMedOuthosp) { |
| | | SysUser user = getLoginUser().getUser(); |
| | |
| | | @ApiOperation("修改患者门诊记录") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:patouthosp:edit')") |
| | | @Log(title = "患者门诊记录", businessType = BusinessType.UPDATE) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMedOuthosp patMedOuthosp) { |
| | | return toAjax(patMedOuthospService.updatePatMedOuthosp(patMedOuthosp)); |