liusheng
2024-05-16 2f13f59f023fba63aa993172d48c14bcaaafb233
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceRelativesconfirmationController.java
@@ -71,7 +71,7 @@
     * 查询捐献亲属确认列表
     */
    @ApiOperation("获取亲属确认列表")
    //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:list')")
    //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:list')")
    @GetMapping("/list")
    public TableDataInfo list(ServiceRelativesconfirmation serviceRelativesconfirmation) {
        startPage();
@@ -91,7 +91,7 @@
     * 导出捐献亲属确认列表
     */
    @ApiOperation("导出亲属确认列表")
    //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:export')")
    //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:export')")
    @Log(title = "捐献亲属确认", businessType = BusinessType.EXPORT)
    @GetMapping("/export")
    public AjaxResult export(ServiceRelativesconfirmation serviceRelativesconfirmation) {
@@ -104,7 +104,7 @@
     * 获取捐献亲属确认详细信息
     */
    @ApiOperation("通过id获取亲属确认信息")
    //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:query')")
    //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id) {
        return AjaxResult.success(serviceRelativesconfirmationService.getById(id));
@@ -114,7 +114,7 @@
     * 新增捐献亲属确认
     */
    @ApiOperation("新增亲属确认")
    //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:add')")
    //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:add')")
    @Log(title = "捐献亲属确认", businessType = BusinessType.INSERT)
    @PostMapping("/add")
    @RepeatSubmit
@@ -127,7 +127,7 @@
     * 修改捐献亲属确认
     */
    @ApiOperation("修改亲属确认")
    //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:edit')")
    //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:edit')")
    @Log(title = "捐献亲属确认", businessType = BusinessType.UPDATE)
    @PostMapping("/edit")
    @RepeatSubmit
@@ -149,7 +149,7 @@
     * 删除捐献亲属确认
     */
    @ApiOperation("删除亲属确认")
    //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:remove')")
    //// @PreAuthorize("@ss.hasPermi('project:relativesconfirmation:remove')")
    @Log(title = "捐献亲属确认", businessType = BusinessType.DELETE)
    @GetMapping("/remove/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids) {
@@ -189,11 +189,6 @@
        try {
            out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(outFile), "utf-8"));
        } catch (FileNotFoundException e1) {
            e1.printStackTrace();
        }
        try {
            t.process(dataMap, out);
        } catch (TemplateException e) {
            e.printStackTrace();