From be9179e444b22bf7d4b69c64745decd91696d67b Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 06 五月 2025 19:28:48 +0800 Subject: [PATCH] 1.诉求新增录音 2.上级多角色调整 --- springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/IComplaintService.java | 72 +++++++++++++++++++++++++++++++++++- 1 files changed, 70 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/IComplaintService.java b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/IComplaintService.java index 728cb97..360408e 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/IComplaintService.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/service/IComplaintService.java @@ -2,6 +2,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.panzhihua.common.model.vos.LoginUserInfoVO; +import com.panzhihua.common.model.vos.sangeshenbian.SystemUserVo; import com.panzhihua.sangeshenbian.model.dto.ComplaintCompletionDTO; import com.panzhihua.sangeshenbian.model.dto.ComplaintProcessDTO; import com.panzhihua.sangeshenbian.model.dto.*; @@ -14,7 +15,10 @@ import com.panzhihua.sangeshenbian.model.vo.ComplaintTodoVO; import com.panzhihua.sangeshenbian.model.vo.ComplaintVO; import com.panzhihua.sangeshenbian.model.vo.DispatchVO; +import com.panzhihua.sangeshenbian.warpper.MgtComplaintQuery; +import javax.validation.Valid; +import java.io.IOException; import java.util.List; /** @@ -26,7 +30,7 @@ * @since 2025-02-22 */ public interface IComplaintService extends IService<Complaint> { - void saveComplaint(Complaint complaint,Long userId); + void saveComplaint(Complaint complaint,LoginUserInfoVO loginUserInfoVO); /** * 诉求列表 @@ -42,7 +46,7 @@ * @param id * @return */ - ComplaintVO detail(Long id); + ComplaintVO detail(Long id, LoginUserInfoVO loginUserInfoVO); /** * 保存办理进度 * @@ -65,10 +69,22 @@ * @return */ List<ComplaintProgress> progress(Long complaintId); + + void saveAndReport(ComplaintVO complaintVO, LoginUserInfoVO loginUserInfo); + /** * 诉求上报 */ void saveReport(ComplaintReportDTO dto, LoginUserInfoVO loginUserInfoVO); + + void saveAndComplete(@Valid ComplaintSaveAndCompleteDTO complaintVO, LoginUserInfoVO loginUserInfo); + + /** + * 诉求上报撤回 + */ + void reportWithdraw(ComplaintReportWithdrawDTO dto, LoginUserInfoVO loginUserInfoVO); + + /** * 诉求下派 @@ -108,4 +124,56 @@ * @return */ ComplaintAuditRecord delayDetail(Long complaintId); + + /** + * 管理后台-诉求列表 + * + * @param query + * @param loginUserInfo + * @return + */ + Page<ComplaintVO> pageList(MgtComplaintQuery query, SystemUserVo loginUserInfo); + + /** + * 管理后台-诉求详情 + * @param id + * @return + */ + ComplaintVO getDetailMgt(Long id); + + /** + * 诉求列表导出 + * @param query + * @param loginUserInfo + */ + void export(MgtComplaintQuery query, SystemUserVo loginUserInfo) throws IOException; + + /** + * 社区问题单、问题处理单、协调通知单 下载 + * + * @param id + * @param loginUserInfo + */ + String downloadFile(Long id, Integer type, SystemUserVo loginUserInfo) throws IOException; + + /** + * 获取超时未评价的数据 + * @return + */ + List<Complaint> getTimeoutAndNotComment(); + + + /** + * 修改办理进度 + * @param dto + */ + void updateProgress(ComplaintProcessUpdateDto dto); + + + /** + * 删除办理进度 + * @param id + */ + void delProgress(Long id); + } -- Gitblit v1.7.1