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
50c482c9
Commit
50c482c9
authored
Aug 08, 2024
by
张森
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打卡触发预警问题处理
parent
eff9924d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
SignServiceImpl.java
...mos/boot/module/jcs/biz/service/impl/SignServiceImpl.java
+3
-4
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/service/impl/SignServiceImpl.java
View file @
50c482c9
...
@@ -192,10 +192,9 @@ public class SignServiceImpl extends BaseService<SignDto, Sign, SignMapper> impl
...
@@ -192,10 +192,9 @@ public class SignServiceImpl extends BaseService<SignDto, Sign, SignMapper> impl
log
.
info
(
"开始出勤统计========="
);
log
.
info
(
"开始出勤统计========="
);
List
<
Map
<
String
,
Object
>>
mapSign
=
this
.
baseMapper
.
querySignInfo
();
List
<
Map
<
String
,
Object
>>
mapSign
=
this
.
baseMapper
.
querySignInfo
();
List
<
Map
<
String
,
Object
>>
mapList
=
new
ArrayList
<>();
List
<
Map
<
String
,
Object
>>
mapList
=
new
ArrayList
<>();
for
(
Map
<
String
,
Object
>
m
:
mapSign
for
(
Map
<
String
,
Object
>
m
:
mapSign
)
{
)
{
// 判断至少8人出勤
// 判断至少8人出勤
if
(
Integer
.
parseInt
(
m
.
get
(
"num"
).
toString
())
<
8
)
{
if
(
Integer
.
parseInt
(
m
.
get
(
"num"
).
toString
())
>=
8
)
{
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"bizOrgCode"
,
m
.
get
(
"bizOrgCode"
));
map
.
put
(
"bizOrgCode"
,
m
.
get
(
"bizOrgCode"
));
map
.
put
(
"bizOrgName"
,
m
.
get
(
"bizOrgName"
));
map
.
put
(
"bizOrgName"
,
m
.
get
(
"bizOrgName"
));
...
@@ -209,7 +208,7 @@ public class SignServiceImpl extends BaseService<SignDto, Sign, SignMapper> impl
...
@@ -209,7 +208,7 @@ public class SignServiceImpl extends BaseService<SignDto, Sign, SignMapper> impl
log
.
info
(
String
.
format
(
"发送eqm转kafka消息失败:%s"
,
exp
.
getMessage
()));
log
.
info
(
String
.
format
(
"发送eqm转kafka消息失败:%s"
,
exp
.
getMessage
()));
}
}
}
}
if
(
map
Sign
.
size
()
==
0
)
{
if
(
map
List
.
size
()
==
0
)
{
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"bizOrgCode"
,
""
);
map
.
put
(
"bizOrgCode"
,
""
);
mapList
.
add
(
map
);
mapList
.
add
(
map
);
...
...
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