Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
ba67e365
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1175
Star
154
Fork
127
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
ba67e365
编写于
11月 06, 2021
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
邮件模板后台修改
上级
1831fde9
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
7 addition
and
3 deletion
+7
-3
skyeye-email/src/main/java/com/skyeye/eve/service/impl/EmailSendModelServiceImpl.java
...om/skyeye/eve/service/impl/EmailSendModelServiceImpl.java
+1
-0
skyeye-email/src/main/resources/mapper/email/EmailSendModelMapper.xml
.../src/main/resources/mapper/email/EmailSendModelMapper.xml
+5
-2
skyeye-mq/src/main/java/com/skyeye/mq/job/impl/ComplexMailDeliveryServiceImpl.java
...om/skyeye/mq/job/impl/ComplexMailDeliveryServiceImpl.java
+0
-1
skyeye-mq/src/main/java/com/skyeye/service/impl/JobMateMationServiceImpl.java
...ava/com/skyeye/service/impl/JobMateMationServiceImpl.java
+1
-0
未找到文件。
skyeye-email/src/main/java/com/skyeye/eve/service/impl/EmailSendModelServiceImpl.java
浏览文件 @
ba67e365
...
...
@@ -28,6 +28,7 @@ public class EmailSendModelServiceImpl implements EmailSendModelService {
public
void
queryEmailSendModelList
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
inputParams
=
inputObject
.
getParams
();
Page
pages
=
PageHelper
.
startPage
(
Integer
.
parseInt
(
inputParams
.
get
(
"page"
).
toString
()),
Integer
.
parseInt
(
inputParams
.
get
(
"limit"
).
toString
()));
inputParams
.
put
(
"userId"
,
inputObject
.
getLogParams
().
get
(
"id"
));
List
<
Map
<
String
,
Object
>>
emailSendModelList
=
emailSendModelDao
.
queryEmailSendModelList
(
inputParams
);
outputObject
.
setBeans
(
emailSendModelList
);
outputObject
.
settotal
(
pages
.
getTotal
());
...
...
skyeye-email/src/main/resources/mapper/email/EmailSendModelMapper.xml
浏览文件 @
ba67e365
...
...
@@ -6,6 +6,9 @@
SELECT
esm.id,
esm.title,
esm.to_people toPeople,
IFNULL(esm.to_cc, '') toCc,
IFNULL(esm.to_bcc, '') toBcc,
b.user_name createName,
CONVERT(esm.create_time, char) createTime,
c.user_name lastUpdateName,
...
...
@@ -14,9 +17,9 @@
email_send_model esm
LEFT JOIN sys_eve_user_staff b ON esm.create_id = b.user_id
LEFT JOIN sys_eve_user_staff c ON esm.last_update_id = c.user_id
WHERE
1 = 1
WHERE
esm.create_id = #{userId}
<if
test=
"title != null and title != ''"
>
AND esm.title
=
'%${title}%'
AND esm.title
LIKE
'%${title}%'
</if>
ORDER BY esm.create_time DESC
</select>
...
...
skyeye-mq/src/main/java/com/skyeye/mq/job/impl/ComplexMailDeliveryServiceImpl.java
浏览文件 @
ba67e365
...
...
@@ -50,7 +50,6 @@ public class ComplexMailDeliveryServiceImpl implements JobMateService {
@Autowired
private
SystemFoundationSettingsService
systemFoundationSettingsService
;
@SuppressWarnings
(
"unchecked"
)
@Override
public
void
call
(
String
data
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
JSONUtil
.
toBean
(
data
,
null
);
...
...
skyeye-mq/src/main/java/com/skyeye/service/impl/JobMateMationServiceImpl.java
浏览文件 @
ba67e365
...
...
@@ -175,6 +175,7 @@ public class JobMateMationServiceImpl implements JobMateMationService {
private
void
sendJobResultMseeage
(
String
jobId
,
String
status
)
throws
Exception
{
Map
<
String
,
Object
>
jobMation
=
jobMateMationDao
.
queryJobMationByJobId
(
jobId
);
String
userId
=
jobMation
.
get
(
"createId"
).
toString
();
LOGGER
.
info
(
"job is success, jobId is {}"
,
jobId
);
if
(
MqConstants
.
JOB_TYPE_IS_SUCCESS
.
equals
(
status
)
||
MqConstants
.
JOB_TYPE_IS_FAIL
.
equals
(
status
)
||
MqConstants
.
JOB_TYPE_IS_PARTIAL_SUCCESS
.
equals
(
status
))
{
// 成功/失败/部分成功
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录