add 新增后管管理员处理用户反馈信息接口

This commit is contained in:
Lemon
2025-07-01 09:18:42 +08:00
parent 0f2f25ef0b
commit 2de93f190e
3 changed files with 31 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ package com.jsowell.pile.service;
import java.util.List;
import com.jsowell.common.core.domain.AjaxResult;
import com.jsowell.pile.domain.MemberFeedbackInfo;
import com.jsowell.pile.dto.MemberFeedbackInfoDTO;
import com.jsowell.pile.vo.uniapp.customer.MemberFeedbackInfoVO;
@@ -80,4 +81,10 @@ public interface MemberFeedbackInfoService {
* @return
*/
MemberFeedbackInfoVO getMemberFeedbackDetailByCode(String feedbackCode);
/**
* 后台管理员处理用户反馈信息
* @param memberFeedbackInfo
*/
void dealUserFeedback(MemberFeedbackInfo memberFeedbackInfo);
}

View File

@@ -133,4 +133,16 @@ public class MemberFeedbackInfoServiceImpl implements MemberFeedbackInfoService
return memberFeedbackInfoMapper.getMemberFeedbackDetailByCode(feedbackCode);
}
/**
* 后管管理员处理用户反馈信息(实际调用修改方法,将该反馈信息状态改为处理中)
* @param memberFeedbackInfo
* @return
*/
@Override
public void dealUserFeedback(MemberFeedbackInfo memberFeedbackInfo) {
// 将本条反馈信息状态改为 1-处理中
memberFeedbackInfo.setStatus(Constants.ONE);
// 修改数据库
this.updateMemberFeedbackInfo(memberFeedbackInfo);
}
}