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
bcde67be
Commit
bcde67be
authored
Nov 12, 2021
by
chenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
和代码
parent
ca609bb3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
PowerTransferAction.java
.../boot/module/jcs/biz/rule/action/PowerTransferAction.java
+6
-2
RuleAlertCalledService.java
...t/module/jcs/biz/service/impl/RuleAlertCalledService.java
+3
-3
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/rule/action/PowerTransferAction.java
View file @
bcde67be
...
...
@@ -24,7 +24,11 @@ import com.yeejoin.amos.component.rule.RuleMethod;
@RuleActionBean
(
beanLabel
=
"调派报送"
)
public
class
PowerTransferAction
{
public
static
final
Logger
log
=
LoggerFactory
.
getLogger
(
PowerTransferAction
.
class
);
/**
*
*/
public
static
final
Logger
log
=
LoggerFactory
.
getLogger
(
PowerTransferAction
.
class
);
@Autowired
private
AlertSubmittedServiceImpl
alertSubmittedService
;
...
...
@@ -41,7 +45,7 @@ public class PowerTransferAction {
* @throws Exception 异常
*/
@RuleMethod
(
methodLabel
=
"短信报送"
,
project
=
"西咸机场119接处警规则"
)
public
void
sendcmd
(
String
smsCode
,
String
sendType
,
List
<
String
>
sendIds
,
Object
object
)
throws
Exception
{
public
void
sendcmd
(
String
smsCode
,
String
sendType
,
List
sendIds
,
Object
object
)
throws
Exception
{
// alertSubmittedService.ruleCallbackAction(smsCode, sendIds, object);
System
.
out
.
println
(
"8796w39879873298798"
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/RuleAlertCalledService.java
View file @
bcde67be
...
...
@@ -196,9 +196,9 @@ public class RuleAlertCalledService {
alertCallePowerTransferRo
.
setCompany
(
new
ArrayList
<>(
i
));
alertCallePowerTransferRo
.
setPowerTransType
(
type
);
StringBuffer
stringBuffer
=
new
StringBuffer
();
stringBuffer
.
append
(
" 患者现状:"
+
ageGroup
);
stringBuffer
.
append
(
" 性别:"
+
presentSituation
);
stringBuffer
.
append
(
" 年龄段:"
+
gender
);
stringBuffer
.
append
(
" 患者现状:"
+
ageGroup
==
null
?
"无"
:
ageGroup
);
stringBuffer
.
append
(
" 性别:"
+
presentSituation
==
null
?
"无"
:
presentSituation
);
stringBuffer
.
append
(
" 年龄段:"
+
gender
==
null
?
"无"
:
gender
);
alertCallePowerTransferRo
.
setContent
(
stringBuffer
.
toString
());
}
// 触发规则
...
...
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