Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
朱海
/
VVAS-PicGroup
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f9f593c3
authored
Aug 07, 2024
by
朱海
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[chg]顾客批次,店内区域匹配修改逻辑
1 parent
36e83d16
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/viontech/keliu/service/impl/PersonRecordServiceImpl.java
src/main/java/com/viontech/keliu/service/impl/PersonRecordServiceImpl.java
View file @
f9f593c
...
@@ -183,9 +183,9 @@ public class PersonRecordServiceImpl implements PersonRecordService {
...
@@ -183,9 +183,9 @@ public class PersonRecordServiceImpl implements PersonRecordService {
}*/
}*/
List
<
DPersonBatch
>
personBatchList
=
dPersonBatchDao
.
getPersonBatchList
(
mallId
,
countDate
);
List
<
DPersonBatch
>
personBatchList
=
dPersonBatchDao
.
getPersonBatchList
(
mallId
,
countDate
);
if
(
CollectionUtils
.
isNotEmpty
(
personBatchList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
personBatchList
))
{
Map
<
String
,
String
>
batchMap
=
personBatchList
.
stream
().
collect
(
Collectors
.
toMap
(
v
->
v
.
getPersonUnid
()
+
DateUtil
.
formatDateTime
(
v
.
getArriveTime
())
,
DPersonBatch:
:
getBatchId
,
(
v1
,
v2
)
->
v1
));
Map
<
String
,
String
>
batchMap
=
personBatchList
.
stream
().
collect
(
Collectors
.
toMap
(
v
->
v
.
getPersonUnid
(),
DPersonBatch:
:
getBatchId
,
(
v1
,
v2
)
->
v1
));
for
(
PersonInOutDetail
personInOutDetail
:
personList
)
{
for
(
PersonInOutDetail
personInOutDetail
:
personList
)
{
String
key
=
personInOutDetail
.
getPersonUnid
()
+
DateUtil
.
formatDateTime
(
personInOutDetail
.
getArriveTime
())
;
String
key
=
personInOutDetail
.
getPersonUnid
();
String
batchId
=
batchMap
.
get
(
key
);
String
batchId
=
batchMap
.
get
(
key
);
if
(
StringUtils
.
hasLength
(
batchId
))
{
if
(
StringUtils
.
hasLength
(
batchId
))
{
personInOutDetail
.
setGroupUnid
(
batchId
);
personInOutDetail
.
setGroupUnid
(
batchId
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment