Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡园园
yanxuan-qc-change-system
Commits
4fc4ddfc
Commit
4fc4ddfc
authored
Dec 09, 2022
by
“zcwang”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify:邮件发送
parent
e0158808
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
ChangeFlowBiz.java
...om/netease/mail/yanxuan/change/biz/biz/ChangeFlowBiz.java
+5
-0
SupplierSendService.java
...l/yanxuan/change/biz/service/rpc/SupplierSendService.java
+4
-0
ChangeFlowDeliverReq.java
...nxuan/change/dal/meta/model/req/ChangeFlowDeliverReq.java
+0
-2
No files found.
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/biz/ChangeFlowBiz.java
View file @
4fc4ddfc
...
@@ -317,6 +317,7 @@ public class ChangeFlowBiz {
...
@@ -317,6 +317,7 @@ public class ChangeFlowBiz {
*/
*/
public
void
qcSendEmail
(
String
changeCommander
,
String
subjectParam
,
EmailTemplateEnum
emailTemplateEnum
,
public
void
qcSendEmail
(
String
changeCommander
,
String
subjectParam
,
EmailTemplateEnum
emailTemplateEnum
,
Map
<
String
,
Object
>
param
)
{
Map
<
String
,
Object
>
param
)
{
try
{
IusDepartmentReq
iusDepartmentReq
=
new
IusDepartmentReq
();
IusDepartmentReq
iusDepartmentReq
=
new
IusDepartmentReq
();
iusDepartmentReq
.
setHasOrgPos
(
true
);
iusDepartmentReq
.
setHasOrgPos
(
true
);
iusDepartmentReq
.
setIcac
(
true
);
iusDepartmentReq
.
setIcac
(
true
);
...
@@ -332,6 +333,10 @@ public class ChangeFlowBiz {
...
@@ -332,6 +333,10 @@ public class ChangeFlowBiz {
ccList
.
add
(
appConfig
.
getChangeManageQM
());
ccList
.
add
(
appConfig
.
getChangeManageQM
());
iEmailService
.
sendEmail
(
Collections
.
singletonList
(
changeCommander
),
ccList
,
param
,
emailTemplateEnum
,
iEmailService
.
sendEmail
(
Collections
.
singletonList
(
changeCommander
),
ccList
,
param
,
emailTemplateEnum
,
subjectParam
);
subjectParam
);
}
catch
(
Exception
e
)
{
log
.
error
(
"[op:qcSendEmail] error,changeCommander:{}, subjectParam:{}, e:{}"
,
changeCommander
,
subjectParam
,
e
);
}
}
}
private
List
<
ChangeFile
>
buildChangeFileRecord
(
Long
changeRecordId
,
List
<
ChangeFlowFile
>
files
,
Integer
type
)
{
private
List
<
ChangeFile
>
buildChangeFileRecord
(
Long
changeRecordId
,
List
<
ChangeFlowFile
>
files
,
Integer
type
)
{
...
...
yanxuan-qc-change-system-biz/src/main/java/com/netease/mail/yanxuan/change/biz/service/rpc/SupplierSendService.java
View file @
4fc4ddfc
...
@@ -39,6 +39,7 @@ public class SupplierSendService {
...
@@ -39,6 +39,7 @@ public class SupplierSendService {
public
void
sendSupplierEmail
(
String
supplier
,
String
subjectParam
,
EmailTemplateEnum
emailTemplateEnum
,
public
void
sendSupplierEmail
(
String
supplier
,
String
subjectParam
,
EmailTemplateEnum
emailTemplateEnum
,
Map
<
String
,
Object
>
param
)
{
Map
<
String
,
Object
>
param
)
{
try
{
SupplierSendEmailReq
req
=
new
SupplierSendEmailReq
();
SupplierSendEmailReq
req
=
new
SupplierSendEmailReq
();
req
.
setSupplierId
(
supplier
);
req
.
setSupplierId
(
supplier
);
req
.
setMailSubject
(
subjectParam
);
req
.
setMailSubject
(
subjectParam
);
...
@@ -47,6 +48,9 @@ public class SupplierSendService {
...
@@ -47,6 +48,9 @@ public class SupplierSendService {
req
.
setMailContent
(
this
.
content
(
factor
));
req
.
setMailContent
(
this
.
content
(
factor
));
log
.
debug
(
"[sendSupplierEmail] 发送供应商邮件内容 subjectParam:{}, req:{}"
,
subjectParam
,
JSON
.
toJSONString
(
req
));
log
.
debug
(
"[sendSupplierEmail] 发送供应商邮件内容 subjectParam:{}, req:{}"
,
subjectParam
,
JSON
.
toJSONString
(
req
));
flowRpcSupplierSendService
.
sendEmail
(
req
);
flowRpcSupplierSendService
.
sendEmail
(
req
);
}
catch
(
Exception
e
)
{
log
.
error
(
"[op:sendSupplierEmail] error,supplier:{},subjectParam:{}, e:{}"
,
supplier
,
subjectParam
,
e
);
}
}
}
/**
/**
...
...
yanxuan-qc-change-system-dal/src/main/java/com/netease/mail/yanxuan/change/dal/meta/model/req/ChangeFlowDeliverReq.java
View file @
4fc4ddfc
...
@@ -33,6 +33,5 @@ public class ChangeFlowDeliverReq {
...
@@ -33,6 +33,5 @@ public class ChangeFlowDeliverReq {
/**
/**
* 转交备注
* 转交备注
*/
*/
@NotBlank
(
message
=
"转交备注不可为空"
)
private
String
remark
;
private
String
remark
;
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment