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
9e280787
Commit
9e280787
authored
Apr 08, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加消息发送
parent
b8f5d925
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
193 additions
and
195 deletions
+193
-195
refined-manager/src/main/java/com/mortals/xhx/daemon/task/SyncAppointWaitAndFinTaskImpl.java
...ortals/xhx/daemon/task/SyncAppointWaitAndFinTaskImpl.java
+193
-195
No files found.
refined-manager/src/main/java/com/mortals/xhx/daemon/task/SyncAppointWaitAndFinTaskImpl.java
View file @
9e280787
...
...
@@ -117,7 +117,7 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
private
void
syncWaitAndFinQueue
()
{
RedisTemplate
<
String
,
String
>
redisTemplate
=
cacheService
.
selectDbRedisTemplate
(
redisDb
);
// cacheService.select(redisDb);//
Thread
thread
=
new
Thread
(()
->
{
List
<
WaitPersonInfo
>
waitPersonInfos
=
new
ArrayList
<>();
List
<
FinPersonInfo
>
finPersonInfos
=
new
ArrayList
<>();
List
<
EndPersonInfo
>
endPersonInfos
=
new
ArrayList
<>();
...
...
@@ -325,8 +325,7 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
alarmRecordsService
.
save
(
recordsEntity
);
}
}
});
ThreadPool
.
getInstance
().
execute
(
thread
);
}
...
...
@@ -495,15 +494,14 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
System.out.println(isIn);*/
String
value
=
"{\"id\":\"76007\",\"peopleid\":\"0\",\"idcardData_PhotoFileName\":\"\",\"option_id\":\"不满意\",\"content_ids\":\"6,22\",\"pic_url\":\"\",\"sectionid\":\"424\",\"source\":\"安卓评价\",\"opinion\":\"\",\"siteid\":\"1\",\"windowid\":\"205\",\"queueid\":\"752197\",\"create_time\":\"2025-04-08 09:45:46\",\"update_time\":\"2025-04-08 09:45:46\",\"pjxt\":\"1\",\"workman_id\":\"1062\",\"device_id\":\"226\",\"evaluatestatus\":\"2\",\"evaluatetype\":\"1\",\"photobefor\":\"\",\"photoautograph\":\"\",\"picture\":\"\",\"process\":\"\",\"eyevaluate\":\"0\",\"type\":\"phpj\",\"hallid\":\"8\",\"devicenum\":\"08-00-27-E1-42-F7\",\"window_name\":\"行政审批窗口\",\"window_fronum\":\"2E32\",\"workman_name\":\"陈莹\",\"workman_number\":\"RS107\",\"section\":\"市人力资源社会保障局\",\"flounum\":\"EP005\",\"content\":\"等待时间长,服务态度差\",\"idcard_Name\":\"\",\"idcard_IDCardNo\":\"\",\"phone\":\"\"}"
;
String
value
=
"{\"id\":\"76007\",\"peopleid\":\"0\",\"idcardData_PhotoFileName\":\"\",\"option_id\":\"不满意\",\"content_ids\":\"6,22\",\"pic_url\":\"\",\"sectionid\":\"424\",\"source\":\"安卓评价\",\"opinion\":\"\",\"siteid\":\"1\",\"windowid\":\"205\",\"queueid\":\"752197\",\"create_time\":\"2025-04-08 09:45:46\",\"update_time\":\"2025-04-08 09:45:46\",\"pjxt\":\"1\",\"workman_id\":\"1062\",\"device_id\":\"226\",\"evaluatestatus\":\"2\",\"evaluatetype\":\"1\",\"photobefor\":\"\",\"photoautograph\":\"\",\"picture\":\"\",\"process\":\"\",\"eyevaluate\":\"0\",\"type\":\"phpj\",\"hallid\":\"8\",\"devicenum\":\"08-00-27-E1-42-F7\",\"window_name\":\"行政审批窗口\",\"window_fronum\":\"2E32\",\"workman_name\":\"陈莹\",\"workman_number\":\"RS107\",\"section\":\"市人力资源社会保障局\",\"flounum\":\"EP005\",\"content\":\"等待时间长,服务态度差\",\"idcard_Name\":\"\",\"idcard_IDCardNo\":\"\",\"phone\":\"\"}"
;
log
.
info
(
"cp:{}"
,
value
);
log
.
info
(
"cp:{}"
,
value
);
CpPersonInfo
cpPersonInfo
=
JSON
.
parseObject
(
value
,
CpPersonInfo
.
class
);
log
.
info
(
"cp obj:{}"
,
JSON
.
toJSONString
(
cpPersonInfo
));
log
.
info
(
"cp obj:{}"
,
JSON
.
toJSONString
(
cpPersonInfo
));
double
result
=
NumberUtil
.
div
(
Double
.
parseDouble
((
63
-
53
)+
""
),
60
,
1
);
// 保留1位小数,四舍五入
double
result
=
NumberUtil
.
div
(
Double
.
parseDouble
((
63
-
53
)
+
""
),
60
,
1
);
// 保留1位小数,四舍五入
System
.
out
.
println
(
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