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
8436aa0c
Commit
8436aa0c
authored
Jun 09, 2023
by
曹盼盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改发短信smsCode
parent
7fe706bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
DispatchTaskServiceImpl.java
.../module/tzs/biz/service/impl/DispatchTaskServiceImpl.java
+1
-1
TzsAppService.java
.../amos/boot/module/tzs/biz/service/impl/TzsAppService.java
+11
-7
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/service/impl/DispatchTaskServiceImpl.java
View file @
8436aa0c
...
@@ -921,7 +921,7 @@ public class DispatchTaskServiceImpl extends BaseService<DispatchTaskDto,Dispatc
...
@@ -921,7 +921,7 @@ public class DispatchTaskServiceImpl extends BaseService<DispatchTaskDto,Dispatc
}
}
if
(
infoCode
.
indexOf
(
"1"
)
!=
-
1
&&
StringUtils
.
isNotBlank
(
dispatchTaskDto
.
getResponseUserTel
()))
{
// 下发了短信
if
(
infoCode
.
indexOf
(
"1"
)
!=
-
1
&&
StringUtils
.
isNotBlank
(
dispatchTaskDto
.
getResponseUserTel
()))
{
// 下发了短信
HashMap
<
String
,
String
>
params
=
new
HashMap
<>();
HashMap
<
String
,
String
>
params
=
new
HashMap
<>();
params
.
put
(
"smsCode"
,
"SMS_
JC
S_0001"
);
params
.
put
(
"smsCode"
,
"SMS_
TZ
S_0001"
);
params
.
put
(
"mobile"
,
dispatchTaskDto
.
getResponseUserTel
());
params
.
put
(
"mobile"
,
dispatchTaskDto
.
getResponseUserTel
());
params
.
put
(
"address"
,
"测试传参短信通知"
);
params
.
put
(
"address"
,
"测试传参短信通知"
);
FeignClientResult
<
SmsRecordModel
>
result
=
Systemctl
.
smsClient
.
sendCommonSms
(
params
);
FeignClientResult
<
SmsRecordModel
>
result
=
Systemctl
.
smsClient
.
sendCommonSms
(
params
);
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/service/impl/TzsAppService.java
View file @
8436aa0c
...
@@ -265,22 +265,26 @@ public class TzsAppService {
...
@@ -265,22 +265,26 @@ public class TzsAppService {
List
entityList
=
service
.
list
(
wrapper
);
List
entityList
=
service
.
list
(
wrapper
);
Iterator
iterator
=
entityList
.
iterator
();
Iterator
iterator
=
entityList
.
iterator
();
JSONObject
result
=
new
JSONObject
();
if
(!
isOne
)
{
if
(!
isOne
)
{
if
(!
ValidationUtil
.
isEmpty
(
entityList
))
{
if
(!
ValidationUtil
.
isEmpty
(
entityList
))
{
while
(
iterator
.
hasNext
())
{
if
(
entityList
.
size
()>
0
)
{
JSONObject
jsonObject
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
iterator
.
next
()));
while
(
iterator
.
hasNext
())
{
JSONObject
result
=
getFieldList
(
dto
,
jsonObject
,
null
);
JSONObject
jsonObject
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
iterator
.
next
()));
list
.
add
(
result
);
result
=
getFieldList
(
dto
,
jsonObject
,
null
);
list
.
add
(
result
);
}
}
}
}
}
}
else
{
}
else
{
if
(
entityList
.
size
()>
0
)
{
int
count
=
entityList
.
size
();
int
count
=
entityList
.
size
();
JSONObject
jsonObject
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
iterator
.
next
()));
JSONObject
jsonObject
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
iterator
.
next
()));
JSONObject
result
=
getFieldList
(
dto
,
jsonObject
,
count
);
result
=
getFieldList
(
dto
,
jsonObject
,
count
);
list
.
add
(
result
);
list
.
add
(
result
);
}
}
}
...
...
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