| | |
| | | * @author ls |
| | | * @date 2026-01-20 |
| | | */ |
| | | @Api(description = "患者死亡信息") |
| | | @Api(description = "捐献者死亡判定",tags={"捐献者死亡判定"}) |
| | | @RestController |
| | | @RequestMapping("/project/deathinfo") |
| | | public class ServiceDeathinfoController extends BaseController { |
| | |
| | | /** |
| | | * 查询患者死亡信息列表 |
| | | */ |
| | | @ApiOperation("查询患者死亡基本信息") |
| | | @ApiOperation("查询捐赠者死亡基本信息") |
| | | @PostMapping("/queryDathInfoBaseInfo") |
| | | public Map<String, Object> queryDathInfoBaseInfo(@RequestBody DeathBaseInfoVO deathBaseInfoVO) { |
| | | Integer offset = PageUtils.getOffset(deathBaseInfoVO.getPageNum(), deathBaseInfoVO.getPageSize()); |
| | |
| | | /** |
| | | * 导出患者死亡信息列表 |
| | | */ |
| | | @ApiOperation("导出患者死亡信息列表") |
| | | @ApiOperation("导出捐献者死亡信息列表") |
| | | // @PreAuthorize("@ss.hasPermi('project:deathinfo:export')") |
| | | @Log(title = "患者死亡信息", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | |
| | | /** |
| | | * 获取患者死亡信息详细信息 |
| | | */ |
| | | @ApiOperation("获取患者死亡信息详细信息") |
| | | @ApiOperation("获取捐献者死亡信息详细信息") |
| | | // @PreAuthorize("@ss.hasPermi('project:deathinfo:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | |
| | | /** |
| | | * 新增患者死亡信息 |
| | | */ |
| | | @ApiOperation("新增患者死亡信息") |
| | | @ApiOperation("新增捐献者死亡信息") |
| | | @UniqueCheck( |
| | | fields = {"infoid"}, |
| | | entityClass = ServiceDeathinfo.class, |
| | |
| | | /** |
| | | * 修改患者死亡信息 |
| | | */ |
| | | @ApiOperation("修改患者死亡信息") |
| | | @ApiOperation("修改捐献死亡信息") |
| | | // @PreAuthorize("@ss.hasPermi('project:deathinfo:edit')") |
| | | @Log(title = "患者死亡信息", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | |
| | | /** |
| | | * 删除患者死亡信息 |
| | | */ |
| | | @ApiOperation("删除患者死亡信息") |
| | | @ApiOperation("删除捐献者死亡信息") |
| | | // @PreAuthorize("@ss.hasPermi('project:deathinfo:remove')") |
| | | @Log(title = "患者死亡信息", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |