From 2d06f4da853925eb0cadd7696d5ef2c0623d7bc1 Mon Sep 17 00:00:00 2001
From: weizhiqiang <>
Date: Mon, 1 Aug 2022 15:30:19 +0800
Subject: [PATCH] =?UTF-8?q?=E7=AC=94=E8=AE=B0=E6=A8=A1=E5=9D=97=E6=8B=86?=
=?UTF-8?q?=E5=88=86=EF=BC=8Cmq=E5=88=87=E6=8D=A2=E4=B8=BArocketmq?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
skyeye-promote/pom.xml | 1 -
.../skyeye/common/constans/MqConstants.java | 128 -----
.../skyeye/common/constans/NoteConstants.java | 56 --
skyeye-promote/skyeye-mq/pom.xml | 14 -
.../controller/JobMateMationController.java | 18 +-
.../com/skyeye/mq/config/QueueConfig.java | 30 --
.../java/com/skyeye/mq/consumer/Consumer.java | 44 --
.../job/impl/MailDraftsEditServiceImpl.java | 2 +-
.../job/impl/MailDraftsSaveServiceImpl.java | 2 +-
.../job/impl/MailDraftsSendServiceImpl.java | 2 +-
.../mq/job/impl/NoticeSendServiceImpl.java | 2 +-
.../impl/OrdinaryMailDeliveryServiceImpl.java | 2 +-
.../job/impl/WatiWorkerSendServiceImpl.java | 1 -
.../skyeye/service/JobMateMationService.java | 2 +
.../impl/JobMateMationServiceImpl.java | 41 +-
.../mapper/mqmapper/JobMateMationMapper.xml | 4 +-
skyeye-promote/skyeye-note/.gitignore | 1 -
skyeye-promote/skyeye-note/.project | 23 -
skyeye-promote/skyeye-note/pom.xml | 32 --
.../eve/controller/MyNoteController.java | 177 -------
.../java/com/skyeye/eve/dao/MyNoteDao.java | 64 ---
.../com/skyeye/eve/service/MyNoteService.java | 40 --
.../eve/service/impl/MyNoteServiceImpl.java | 477 ------------------
.../job/impl/OutputNotesIsZipServiceImpl.java | 193 -------
.../resources/mapper/note/MyNoteMapper.xml | 363 -------------
.../resources/reqmapping/mapping/note.xml | 68 ---
.../impl/AllScheduleMationService.java | 1 -
.../impl/MyScheduleDayMationService.java | 1 -
.../consumer/impl/MySysWorkMationService.java | 1 -
skyeye-promote/skyeye-web/pom.xml | 7 -
30 files changed, 54 insertions(+), 1743 deletions(-)
delete mode 100644 skyeye-promote/skyeye-common/src/main/java/com/skyeye/common/constans/MqConstants.java
delete mode 100644 skyeye-promote/skyeye-common/src/main/java/com/skyeye/common/constans/NoteConstants.java
delete mode 100644 skyeye-promote/skyeye-mq/src/main/java/com/skyeye/mq/config/QueueConfig.java
delete mode 100644 skyeye-promote/skyeye-mq/src/main/java/com/skyeye/mq/consumer/Consumer.java
delete mode 100644 skyeye-promote/skyeye-note/.gitignore
delete mode 100644 skyeye-promote/skyeye-note/.project
delete mode 100644 skyeye-promote/skyeye-note/pom.xml
delete mode 100644 skyeye-promote/skyeye-note/src/main/java/com/skyeye/eve/controller/MyNoteController.java
delete mode 100644 skyeye-promote/skyeye-note/src/main/java/com/skyeye/eve/dao/MyNoteDao.java
delete mode 100644 skyeye-promote/skyeye-note/src/main/java/com/skyeye/eve/service/MyNoteService.java
delete mode 100644 skyeye-promote/skyeye-note/src/main/java/com/skyeye/eve/service/impl/MyNoteServiceImpl.java
delete mode 100644 skyeye-promote/skyeye-note/src/main/java/com/skyeye/mq/job/impl/OutputNotesIsZipServiceImpl.java
delete mode 100644 skyeye-promote/skyeye-note/src/main/resources/mapper/note/MyNoteMapper.xml
delete mode 100644 skyeye-promote/skyeye-note/src/main/resources/reqmapping/mapping/note.xml
diff --git a/skyeye-promote/pom.xml b/skyeye-promote/pom.xml
index a5009005..83027d83 100644
--- a/skyeye-promote/pom.xml
+++ b/skyeye-promote/pom.xml
@@ -27,7 +27,6 @@
skyeye-knowlg
skyeye-forum
skyeye-disk-cloud
- skyeye-note
skyeye-light-app
skyeye-code-doc
skyeye-jobdiary
diff --git a/skyeye-promote/skyeye-common/src/main/java/com/skyeye/common/constans/MqConstants.java b/skyeye-promote/skyeye-common/src/main/java/com/skyeye/common/constans/MqConstants.java
deleted file mode 100644
index 908d8e09..00000000
--- a/skyeye-promote/skyeye-common/src/main/java/com/skyeye/common/constans/MqConstants.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*******************************************************************************
- * Copyright 卫志强 QQ:598748873@qq.com Inc. All rights reserved. 开源地址:https://gitee.com/doc_wei01/skyeye
- ******************************************************************************/
-
-package com.skyeye.common.constans;
-
-/**
- * @ClassName: MqConstants
- * @Description: MQ消息队列常量类
- * @author: skyeye云系列--卫志强
- * @date: 2021/7/4 21:56
- * @Copyright: 2021 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
- * 注意:本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目的
- */
-public class MqConstants {
-
- /**
- * 等待处理
- */
- public static final String JOB_TYPE_IS_WAIT = "1";
-
- /**
- * 处理中
- */
- public static final String JOB_TYPE_IS_PROCESSING = "2";
-
- /**
- * 执行失败
- */
- public static final String JOB_TYPE_IS_FAIL = "3";
-
- /**
- * 执行成功
- */
- public static final String JOB_TYPE_IS_SUCCESS = "4";
-
- /**
- * 部分成功
- */
- public static final String JOB_TYPE_IS_PARTIAL_SUCCESS = "5";
-
- public static enum JobMateMationJobType {
- ORDINARY_MAIL_DELIVERY(2, 1, false, "邮件通知", "ordinaryMailDeliveryService"),
- MAIL_ACCESS_INBOX(3, 2, true, "收件箱邮件获取", "mailAccessInboxService"),
- MAIL_ACCESS_SENDED(3, 3, true, "已发送邮件获取", "mailAccessSendedService"),
- MAIL_ACCESS_DELETE(3, 4, true, "已删除邮件获取", "mailAccessDeleteService"),
- MAIL_ACCESS_DRAFTS(3, 5, true, "草稿箱邮件获取", "mailAccessDraftsService"),
- COMPLEX_MAIL_DELIVERY(2, 6, false, "邮件发送", "complexMailDeliveryService"),
- MAIL_DRAFTS_SAVE(2, 7, false, "保存草稿同步", "mailDraftsSaveService"),
- MAIL_DRAFTS_EDIT(2, 8, false, "草稿编辑同步", "mailDraftsEditService"),
- MAIL_DRAFTS_SEND(2, 9, false, "草稿箱邮件发送", "mailDraftsSendService"),
- NOTICE_SEND(2, 10, false, "消息通知", "noticeSendService"),
- WATI_WORKER_SEND(2, 11, false, "派工通知", "watiWorkerSendService"),
- OUTPUT_NOTES_IS_ZIP(1, 100, true, "笔记输出压缩包", "outputNotesIsZipService");
-
- // 所属大类 1.我的输出 2.我的发送 3.我的获取
- private int bigType;
- private int jobType;
- private boolean sendMsgToPage;
- private String typeName;
- private String serviceName;
-
- JobMateMationJobType(int bigType, int jobType, boolean sendMsgToPage, String typeName, String serviceName) {
- this.bigType = bigType;
- this.jobType = jobType;
- this.sendMsgToPage = sendMsgToPage;
- this.typeName = typeName;
- this.serviceName = serviceName;
- }
-
- public static String getTypeNameByJobType(String jobType) {
- for (JobMateMationJobType bean : JobMateMationJobType.values()) {
- if (bean.getJobType() == Integer.parseInt(jobType)) {
- return bean.getTypeName();
- }
- }
- return "";
- }
-
- public static String getServiceNameByJobType(String jobType) {
- for (JobMateMationJobType bean : JobMateMationJobType.values()) {
- if (bean.getJobType() == Integer.parseInt(jobType)) {
- return bean.getServiceName();
- }
- }
- return "";
- }
-
- public static int getBigTypeByJobType(String jobType) {
- for (JobMateMationJobType bean : JobMateMationJobType.values()) {
- if (bean.getJobType() == Integer.parseInt(jobType)) {
- return bean.getBigType();
- }
- }
- return 0;
- }
-
- public static boolean getSendMsgToPageByJobType(String jobType) {
- for (JobMateMationJobType bean : JobMateMationJobType.values()) {
- if (bean.getJobType() == Integer.parseInt(jobType)) {
- return bean.isSendMsgToPage();
- }
- }
- return false;
- }
-
- public int getBigType() {
- return bigType;
- }
-
- public int getJobType() {
- return jobType;
- }
-
- public String getTypeName() {
- return typeName;
- }
-
- public String getServiceName() {
- return serviceName;
- }
-
- public boolean isSendMsgToPage() {
- return sendMsgToPage;
- }
- }
-
-}
diff --git a/skyeye-promote/skyeye-common/src/main/java/com/skyeye/common/constans/NoteConstants.java b/skyeye-promote/skyeye-common/src/main/java/com/skyeye/common/constans/NoteConstants.java
deleted file mode 100644
index 1a299b47..00000000
--- a/skyeye-promote/skyeye-common/src/main/java/com/skyeye/common/constans/NoteConstants.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright 卫志强 QQ:598748873@qq.com Inc. All rights reserved. 开源地址:https://gitee.com/doc_wei01/skyeye
- ******************************************************************************/
-
-package com.skyeye.common.constans;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-/**
- * @ClassName: NoteConstants
- * @Description: 笔记系统相关的常量类
- * @author: skyeye云系列--卫志强
- * @date: 2021/6/14 11:55
- * @Copyright: 2021 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
- * 注意:本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目的
- */
-public class NoteConstants {
-
- // 笔记管理---目录logo图片
- public static final String SYS_FILE_CONSOLE_IS_FOLDER_LOGO_PATH = "../../assets/images/folder-show.png";
-
- // 笔记文件夹目录集合
- public static final String SYS_FILE_MYNOTE_LIST_MATION = "sys_file_mynote_list_mation_";
-
- public static String getSysFileMyNoteListMation(String folderId, String userId) {
- return SYS_FILE_MYNOTE_LIST_MATION + folderId + "_" + userId;
- }
-
- /**
- * 获取我的笔记默认的文件夹
- *
- * @return
- */
- public static final List