Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
refined-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
refined-platform
Commits
7ff7b1f3
Commit
7ff7b1f3
authored
May 05, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加服务追踪
parent
ff88c2ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
refined-manager/src/main/java/com/mortals/xhx/daemon/task/SyncAppointWaitAndFinTaskImpl.java
...ortals/xhx/daemon/task/SyncAppointWaitAndFinTaskImpl.java
+2
-1
No files found.
refined-manager/src/main/java/com/mortals/xhx/daemon/task/SyncAppointWaitAndFinTaskImpl.java
View file @
7ff7b1f3
...
@@ -269,11 +269,12 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
...
@@ -269,11 +269,12 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
private
boolean
checkCareServiceMaxNum
(
CareConfigEntity
careConfigEntity
)
{
private
boolean
checkCareServiceMaxNum
(
CareConfigEntity
careConfigEntity
)
{
Integer
maxServicePersonNum
=
careConfigEntity
.
getMaxServicePersonNum
();
Integer
maxServicePersonNum
=
careConfigEntity
.
getMaxServicePersonNum
();
CareRecordsQuery
careRecordsQuery
=
new
CareRecordsQuery
();
CareRecordsQuery
careRecordsQuery
=
new
CareRecordsQuery
();
careRecordsQuery
.
setCareCountStart
(
1
);
careRecordsQuery
.
setCreateTimeStart
(
DateUtils
.
getCurrStrDate
());
careRecordsQuery
.
setCreateTimeStart
(
DateUtils
.
getCurrStrDate
());
careRecordsQuery
.
setCreateTimeEnd
(
DateUtils
.
getCurrStrDate
());
careRecordsQuery
.
setCreateTimeEnd
(
DateUtils
.
getCurrStrDate
());
int
dayServiceNum
=
careRecordsService
.
count
(
careRecordsQuery
,
null
);
int
dayServiceNum
=
careRecordsService
.
count
(
careRecordsQuery
,
null
);
if
(
dayServiceNum
>
maxServicePersonNum
)
{
if
(
dayServiceNum
>
maxServicePersonNum
)
{
log
.
info
(
"关怀服务人数超过最大数量!
"
);
log
.
info
(
"关怀服务人数超过最大数量!
当天关怀人数:{},配置最大关怀人数:{}"
,
dayServiceNum
,
maxServicePersonNum
);
return
true
;
return
true
;
}
}
return
false
;
return
false
;
...
...
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