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
726efbf6
Commit
726efbf6
authored
Jul 06, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
c28830aa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
OrgUsrMapper.xml
...ule-common-api/src/main/resources/mapper/OrgUsrMapper.xml
+1
-1
RuleAlertCalledService.java
...t/module/jcs/biz/service/impl/RuleAlertCalledService.java
+5
-1
pom.xml
pom.xml
+1
-1
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/OrgUsrMapper.xml
View file @
726efbf6
...
...
@@ -808,7 +808,7 @@ LEFT JOIN (
*
FROM
cb_org_usr
WHERE is_delete = false AND biz_org_code LIKE CONCAT(#{bizOrgCode} '%') AND( biz_org_type = 'COMPANY' || biz_org_type = 'DEPARTMENT')
WHERE is_delete = false AND biz_org_code LIKE CONCAT(#{bizOrgCode}
,
'%') AND( biz_org_type = 'COMPANY' || biz_org_type = 'DEPARTMENT')
</select>
<select
id=
"companyDeptListWithPersonCount"
...
...
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 @
726efbf6
...
...
@@ -6,6 +6,7 @@ import java.util.List;
import
java.util.Set
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.yeejoin.amos.boot.biz.common.enums.RuleTypeEnum
;
import
com.yeejoin.amos.component.rule.config.ClazzUtils
;
import
com.yeejoin.amos.feign.rule.Rule
;
...
...
@@ -90,7 +91,10 @@ public class RuleAlertCalledService {
FactBaseModel
factBaseModel
=
new
FactBaseModel
();
factBaseModel
.
setPackageId
(
"西咸机场119接处警规则/alertCalledRule"
);
HashMap
<
String
,
byte
[]>
map
=
new
HashMap
<>();
map
.
put
(
"com.yeejoin.amos.boot.module.jcs.api.dto.AlertCalledRo"
,
ClazzUtils
.
serializableObject
(
alertCalledRo
));
// map.put("com.yeejoin.amos.boot.module.jcs.api.dto.AlertCalledRo", ClazzUtils.serializableObject(alertCalledRo));
map
.
put
(
"com.yeejoin.amos.boot.module.jcs.api.dto.AlertCalledRo"
,
JSONObject
.
toJSON
(
alertCalledRo
).
toString
().
getBytes
());
factBaseModel
.
setFactMap
(
map
);
Rule
.
ruleClient
.
fireRule
(
factBaseModel
);
return
true
;
...
...
pom.xml
View file @
726efbf6
...
...
@@ -243,7 +243,7 @@
<dependency>
<groupId>
com.yeejoin
</groupId>
<artifactId>
amos-component-rule
</artifactId>
<version>
${amos.version}
</version>
<version>
1.7.9-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
com.baomidou
</groupId>
...
...
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