| | |
| | | import java.util.List; |
| | | |
| | | import com.github.pagehelper.ISelect; |
| | | import com.ruoyi.common.annotation.AddOrgId; |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import com.ruoyi.common.core.domain.model.LoginUser; |
| | | import com.ruoyi.common.utils.PageUtils; |
| | |
| | | */ |
| | | @ApiOperation("查询患者满意度列表") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:satisfaction:list')") |
| | | @PostMapping("/list") |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("list") |
| | | public TableDataInfo list(@RequestBody PatSatisfaction patSatisfaction) { |
| | | PageUtils.startPageByPost(patSatisfaction.getPageNum(), patSatisfaction.getPageSize()); |
| | | List<PatSatisfaction> list = patSatisfactionService.selectPatSatisfactionList(patSatisfaction); |
| | |
| | | patSatisfactionService.selectPatSatisfactionList(patSatisfaction); |
| | | } |
| | | }); |
| | | return getDataTable2(total,list); |
| | | return getDataTable2(total, list); |
| | | } |
| | | |
| | | /** |
| | |
| | | @ApiOperation("新增患者满意度") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:satisfaction:add')") |
| | | @Log(title = "患者满意度", businessType = BusinessType.INSERT) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatSatisfaction patSatisfaction) { |
| | | LoginUser loginUser = getLoginUser(); |
| | |
| | | @ApiOperation("修改患者满意度") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:satisfaction:edit')") |
| | | @Log(title = "患者满意度", businessType = BusinessType.UPDATE) |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatSatisfaction patSatisfaction) { |
| | | LoginUser loginUser = getLoginUser(); |