mitao
2025-03-18 35168aa5267f61747fe4dbb4a35f0e1a7bdbd7e1
springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/ComplaintController.java
@@ -187,6 +187,17 @@
        complaintComment.setUpdateTime(new Date());
        complaintComment.setDelFlag(0);
        complaintCommentService.save(complaintComment);
        Complaint complaint = complaintService.getById(complaintComment.getComplaintId());
        complaint.setStatus(8);
        complaintService.updateById(complaint);
        return R.ok();
    }
    @GetMapping("/getComplaintCommentInfo/{id}")
    @ApiOperation(value = "获取诉求评价")
    public R<ComplaintComment> getComplaintCommentInfo(@PathVariable("id") Long id){
        ComplaintComment one = complaintCommentService.getOne(new LambdaQueryWrapper<ComplaintComment>().eq(ComplaintComment::getComplaintId, id).eq(ComplaintComment::getDelFlag, 0));
        return R.ok(one);
    }
}