Browse Source

举报投诉模块

yq 4 years ago
parent
commit
8d287d28bb

+ 26 - 0
mhfire-service/src/main/java/com/bizmatics/mhfire/service/ReportComplaintService.java

@@ -0,0 +1,26 @@
+package com.bizmatics.mhfire.service;
+
+import com.bizmatics.mhfire.service.vo.ReportComplaintVO;
+import com.bizmatics.mhfire.service.vo.ReportStatisticsVO;
+
+/**
+ * @author yq
+ * @date 2021/5/28 16:58
+ * 举报投诉情况
+ */
+public interface ReportComplaintService {
+
+
+    /**
+     * 举报投诉分类汇总
+     * @return
+     */
+    ReportStatisticsVO getReportStatistics();
+
+    /**
+     * 举报情况信息
+     * @return
+     */
+    ReportComplaintVO getReportComplaint();
+
+}

+ 25 - 0
mhfire-service/src/main/java/com/bizmatics/mhfire/service/impl/ReportComplaintServiceImpl.java

@@ -0,0 +1,25 @@
+package com.bizmatics.mhfire.service.impl;
+
+import com.bizmatics.mhfire.service.ReportComplaintService;
+import com.bizmatics.mhfire.service.vo.ReportComplaintVO;
+import com.bizmatics.mhfire.service.vo.ReportStatisticsVO;
+import org.springframework.stereotype.Service;
+
+/**
+ * @author yq
+ * @date 2021/5/28 17:27
+ */
+@Service
+public class ReportComplaintServiceImpl implements ReportComplaintService {
+    @Override
+    public ReportStatisticsVO getReportStatistics() {
+        //TODO 从其他平台获取
+        return null;
+    }
+
+    @Override
+    public ReportComplaintVO getReportComplaint() {
+        //TODO 从其他平台获取
+        return null;
+    }
+}

+ 23 - 0
mhfire-service/src/main/java/com/bizmatics/mhfire/service/vo/ReportComplaintVO.java

@@ -0,0 +1,23 @@
+package com.bizmatics.mhfire.service.vo;
+
+import lombok.Data;
+
+/**
+ * @author yq
+ * @date 2021/5/28 17:22
+ * 举报投诉情况
+ */
+@Data
+public class ReportComplaintVO {
+
+    /**
+     * 类型
+      */
+    private String type;
+
+
+    /**
+     * 数量
+     */
+    private Integer number;
+}

+ 36 - 0
mhfire-service/src/main/java/com/bizmatics/mhfire/service/vo/ReportStatisticsVO.java

@@ -0,0 +1,36 @@
+package com.bizmatics.mhfire.service.vo;
+
+import lombok.Data;
+import org.omg.CORBA.INTERNAL;
+
+/**
+ * @author yq
+ * @date 2021/5/28 17:23
+ * 举报投诉统计
+ */
+@Data
+public class ReportStatisticsVO {
+
+    /**
+     * 投诉数
+     */
+    private Integer complaintNumber;
+
+    /**
+     * 办结数
+     */
+    private Integer concludeNumber;
+
+    /**
+     * 检查数
+     */
+    private Integer checkNumber;
+
+    /**
+     * 满意率
+     */
+    private Double  satisfactionRate;
+
+
+
+}