Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
ea5dbccb
Commit
ea5dbccb
authored
Dec 06, 2022
by
zhangyingbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 ugp 发短信不显示项目名称问题
parent
c2ccf87f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ProblemInitiationServiceImpl.java
...le/ugp/biz/service/impl/ProblemInitiationServiceImpl.java
+1
-1
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/ProblemInitiationServiceImpl.java
View file @
ea5dbccb
...
@@ -156,6 +156,7 @@ public class ProblemInitiationServiceImpl {
...
@@ -156,6 +156,7 @@ public class ProblemInitiationServiceImpl {
*/
*/
public
void
sendSms
(
JSONObject
object
,
String
smsCode
){
public
void
sendSms
(
JSONObject
object
,
String
smsCode
){
Long
sequenceNbr
=
object
.
getLong
(
"sequenceNbr"
);
Long
sequenceNbr
=
object
.
getLong
(
"sequenceNbr"
);
object
.
put
(
"projectName"
,
projectServiceImpl
.
getById
(
object
.
getLong
(
"projectId"
)).
getName
());
//设置短信发送的基本参数
//设置短信发送的基本参数
HashMap
<
String
,
String
>
smsParams
=
new
HashMap
();
HashMap
<
String
,
String
>
smsParams
=
new
HashMap
();
smsParams
.
put
(
"smsCode"
,
smsCode
);
smsParams
.
put
(
"smsCode"
,
smsCode
);
...
@@ -205,7 +206,6 @@ public class ProblemInitiationServiceImpl {
...
@@ -205,7 +206,6 @@ public class ProblemInitiationServiceImpl {
* @param object
* @param object
*/
*/
public
void
sendTo
(
String
nameKey
,
Long
projectId
,
Long
sequenceNbr
,
HashMap
<
String
,
String
>
smsParams
,
String
smsCode
,
JSONObject
object
){
public
void
sendTo
(
String
nameKey
,
Long
projectId
,
Long
sequenceNbr
,
HashMap
<
String
,
String
>
smsParams
,
String
smsCode
,
JSONObject
object
){
object
.
put
(
"projectName"
,
projectServiceImpl
.
getById
(
projectId
).
getName
());
if
(
OrgEnum
.
监检机构
.
getKey
().
equals
(
nameKey
)){
if
(
OrgEnum
.
监检机构
.
getKey
().
equals
(
nameKey
)){
LambdaQueryWrapper
<
SuperviseRule
>
wrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
SuperviseRule
>
wrapper
=
new
LambdaQueryWrapper
<>();
wrapper
.
eq
(
SuperviseRule:
:
getAdminRegionCode
,
projectServiceImpl
.
getById
(
projectId
).
getInstallRegionCode
());
wrapper
.
eq
(
SuperviseRule:
:
getAdminRegionCode
,
projectServiceImpl
.
getById
(
projectId
).
getInstallRegionCode
());
...
...
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