Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
95fb4672
Commit
95fb4672
authored
Mar 29, 2023
by
jinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
钉钉消息模板修改
parent
2698522d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
LicenceOrderServiceImpl.java
...service/service/licence/impl/LicenceOrderServiceImpl.java
+4
-4
LicenceOrderApiServiceImpl.java
.../service/out/impl/licence/LicenceOrderApiServiceImpl.java
+2
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/licence/impl/LicenceOrderServiceImpl.java
View file @
95fb4672
...
@@ -195,8 +195,8 @@ public class LicenceOrderServiceImpl implements LicenceOrderService {
...
@@ -195,8 +195,8 @@ public class LicenceOrderServiceImpl implements LicenceOrderService {
int
secondLastIndex
=
host
.
lastIndexOf
(
"/"
,
lastIndex
-
1
);
int
secondLastIndex
=
host
.
lastIndexOf
(
"/"
,
lastIndex
-
1
);
String
subHost
=
host
.
substring
(
0
,
secondLastIndex
+
1
);
String
subHost
=
host
.
substring
(
0
,
secondLastIndex
+
1
);
String
url
=
subHost
+
"enterprise-operation/#/finance-config/wx-order-detail?tabId=wx_account_order&orderId="
+
orderId
;
String
url
=
subHost
+
"enterprise-operation/#/finance-config/wx-order-detail?tabId=wx_account_order&orderId="
+
orderId
;
String
msg
=
"标题:企微账号许可通知\n品牌名称
:"
+
enterpriseName
+
"\n"
+
"企业名称:"
+
wxEnterpriseName
+
"\n"
+
"消息内容:"
+
dateToStr
+
String
msg
=
"标题:企微账号许可通知\n品牌名称
:"
+
enterpriseName
+
"\n"
+
"企业名称:"
+
wxEnterpriseName
+
"\n"
+
"消息内容:"
+
dateToStr
+
"
订单编号为"
+
tabHaobanLicenceOrder
.
getOrderNumber
()+
",请尽快处理!\n"
+
url
;
"
新增订单(编号:"
+
tabHaobanLicenceOrder
.
getOrderNumber
()
+
"),请尽快处理!\n"
+
url
;
DingUtils
.
send
(
msg
,
"https://oapi.dingtalk.com/robot/send?access_token=63074c9fc1ac2c00aa62477facdf16e5fa2388cf6a621edba1fb05d6e55d031f"
,
false
);
DingUtils
.
send
(
msg
,
"https://oapi.dingtalk.com/robot/send?access_token=63074c9fc1ac2c00aa62477facdf16e5fa2388cf6a621edba1fb05d6e55d031f"
,
false
);
return
true
;
return
true
;
}
}
...
@@ -282,7 +282,7 @@ public class LicenceOrderServiceImpl implements LicenceOrderService {
...
@@ -282,7 +282,7 @@ public class LicenceOrderServiceImpl implements LicenceOrderService {
//更新微信订单状态
//更新微信订单状态
tabHaobanLicenceOrderMapper
.
saveOrderCheckReason
(
orderId
,
reason
,
0
);
tabHaobanLicenceOrderMapper
.
saveOrderCheckReason
(
orderId
,
reason
,
0
);
//记录订单进度
//记录订单进度
saveOrderProgress
(
orderId
,
"审核未通过,请重新上传凭证"
,
enterpriseId
,
wxEnterpriseId
,
creatorName
,
0
,
null
,
reason
);
saveOrderProgress
(
orderId
,
"审核未通过,请重新上传凭证"
,
enterpriseId
,
wxEnterpriseId
,
creatorName
,
1
,
null
,
reason
);
//短信通知
//短信通知
ClerkDTO
clerkDTO
=
clerkService
.
getClerkByClerkId
(
order
.
getCreatorId
());
ClerkDTO
clerkDTO
=
clerkService
.
getClerkByClerkId
(
order
.
getCreatorId
());
if
(
clerkDTO
!=
null
){
if
(
clerkDTO
!=
null
){
...
@@ -297,7 +297,7 @@ public class LicenceOrderServiceImpl implements LicenceOrderService {
...
@@ -297,7 +297,7 @@ public class LicenceOrderServiceImpl implements LicenceOrderService {
//更新微信订单状态
//更新微信订单状态
tabHaobanLicenceOrderMapper
.
updateLicenceOrderType
(
orderId
,
1
);
tabHaobanLicenceOrderMapper
.
updateLicenceOrderType
(
orderId
,
1
);
//记录订单进度
//记录订单进度
saveOrderProgress
(
orderId
,
"已支付"
,
enterpriseId
,
wxEnterpriseId
,
creatorName
,
0
,
null
,
null
);
saveOrderProgress
(
orderId
,
"已支付"
,
enterpriseId
,
wxEnterpriseId
,
creatorName
,
1
,
null
,
null
);
}
}
return
true
;
return
true
;
}
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/licence/LicenceOrderApiServiceImpl.java
View file @
95fb4672
...
@@ -232,8 +232,8 @@ public class LicenceOrderApiServiceImpl implements LicenceOrderApiService {
...
@@ -232,8 +232,8 @@ public class LicenceOrderApiServiceImpl implements LicenceOrderApiService {
int
secondLastIndex
=
host
.
lastIndexOf
(
"/"
,
lastIndex
-
1
);
int
secondLastIndex
=
host
.
lastIndexOf
(
"/"
,
lastIndex
-
1
);
String
subHost
=
host
.
substring
(
0
,
secondLastIndex
+
1
);
String
subHost
=
host
.
substring
(
0
,
secondLastIndex
+
1
);
String
url
=
subHost
+
"enterprise-operation/#/finance-config/wx-order-detail?tabId=wx_account_order&orderId="
+
licenceOrder
.
getOrderId
();
String
url
=
subHost
+
"enterprise-operation/#/finance-config/wx-order-detail?tabId=wx_account_order&orderId="
+
licenceOrder
.
getOrderId
();
String
msg
=
"标题:企微账号许可通知\n品牌名称
:
"
+
enterpriseName
+
"\n"
+
"企业名称:"
+
wxEnterpriseName
+
"\n"
+
"消息内容:"
+
dateToStr
+
String
msg
=
"标题:企微账号许可通知\n品牌名称
:
"
+
enterpriseName
+
"\n"
+
"企业名称:"
+
wxEnterpriseName
+
"\n"
+
"消息内容:"
+
dateToStr
+
"
订单编号为"
+
licenceOrder
.
getOrderNumber
()
+
"
,请尽快处理!\n"
+
url
;
"
新增订单(编号:"
+
licenceOrder
.
getOrderNumber
()
+
")
,请尽快处理!\n"
+
url
;
DingUtils
.
send
(
msg
,
"https://oapi.dingtalk.com/robot/send?access_token=63074c9fc1ac2c00aa62477facdf16e5fa2388cf6a621edba1fb05d6e55d031f"
,
false
);
DingUtils
.
send
(
msg
,
"https://oapi.dingtalk.com/robot/send?access_token=63074c9fc1ac2c00aa62477facdf16e5fa2388cf6a621edba1fb05d6e55d031f"
,
false
);
return
ServiceResponse
.
success
(
true
);
return
ServiceResponse
.
success
(
true
);
}
}
...
...
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