From c40a8f7017424a56195bdad6ee638153d8450e51 Mon Sep 17 00:00:00 2001 From: Vinjor Date: Mon, 21 Oct 2024 17:44:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../order/vo/RepairOrderInfoRespVO.java | 9 +- .../mapper/notice/DlBaseNoticeMapper.xml | 3 +- .../mapper/order/RepairOrderInfoMapper.xml | 20 ++++- .../rescue/utils/RedissonDelayQueue.java | 2 +- .../vo/template/NotifyTemplateSendReqVO.java | 1 - .../notify/ApiNotifyMessageController.java | 84 +++++++++++++++++++ .../dal/mysql/notify/NotifyMessageMapper.java | 14 +++- .../service/notify/NotifyMessageService.java | 32 +++++++ .../notify/NotifyMessageServiceImpl.java | 21 +++++ .../src/main/resources/application-local.yaml | 1 + 10 files changed, 178 insertions(+), 9 deletions(-) create mode 100644 yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/app/notify/ApiNotifyMessageController.java diff --git a/dl-module-base/src/main/java/cn/iocoder/yudao/module/order/vo/RepairOrderInfoRespVO.java b/dl-module-base/src/main/java/cn/iocoder/yudao/module/order/vo/RepairOrderInfoRespVO.java index 94280d00..50325bec 100644 --- a/dl-module-base/src/main/java/cn/iocoder/yudao/module/order/vo/RepairOrderInfoRespVO.java +++ b/dl-module-base/src/main/java/cn/iocoder/yudao/module/order/vo/RepairOrderInfoRespVO.java @@ -1,6 +1,5 @@ package cn.iocoder.yudao.module.order.vo; -import cn.iocoder.yudao.module.company.entity.Company; import cn.iocoder.yudao.module.order.entity.RepairOrderInfo; import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; import io.swagger.v3.oas.annotations.media.Schema; @@ -11,9 +10,15 @@ import lombok.Data; @ExcelIgnoreUnannotated public class RepairOrderInfoRespVO extends RepairOrderInfo { - /** 订单状态(工单的状态) */ + /** 订单状态(工单的维修子状态) */ private String status; + /** 订单状态(工单的主状态) */ + private String mainStatus; + //订单描述 private String description; + + /** 查询订单类型(null-所有 |working-维修中|waitingPay-待支付|waitingComment-待评价) */ + private String selectType; } diff --git a/dl-module-base/src/main/resources/mapper/notice/DlBaseNoticeMapper.xml b/dl-module-base/src/main/resources/mapper/notice/DlBaseNoticeMapper.xml index 02e19db8..39946bb0 100644 --- a/dl-module-base/src/main/resources/mapper/notice/DlBaseNoticeMapper.xml +++ b/dl-module-base/src/main/resources/mapper/notice/DlBaseNoticeMapper.xml @@ -21,7 +21,8 @@ type, status, parent_server, - server + server, + create_time from dl_base_notice dbn where dbn.deleted = '0' diff --git a/dl-module-base/src/main/resources/mapper/order/RepairOrderInfoMapper.xml b/dl-module-base/src/main/resources/mapper/order/RepairOrderInfoMapper.xml index 3872bffb..71a6d781 100644 --- a/dl-module-base/src/main/resources/mapper/order/RepairOrderInfoMapper.xml +++ b/dl-module-base/src/main/resources/mapper/order/RepairOrderInfoMapper.xml @@ -39,7 +39,9 @@