记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
5dfb34ba
Commit
5dfb34ba
authored
Aug 05, 2022
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getActiveType == 1
parent
9366a52d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
KylinRecommendActiveServiceImpl.java
...i/kylin/service/impl/KylinRecommendActiveServiceImpl.java
+13
-6
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/kylin/service/impl/KylinRecommendActiveServiceImpl.java
View file @
5dfb34ba
...
@@ -163,12 +163,12 @@ public class KylinRecommendActiveServiceImpl extends ServiceImpl<KylinRecommendA
...
@@ -163,12 +163,12 @@ public class KylinRecommendActiveServiceImpl extends ServiceImpl<KylinRecommendA
List
<
KylinRecommendActiveRelation
>
kylinRecommendActiveRelations
=
kylinRecommendActiveRelationMapper
.
selectList
(
queryWrapper
);
List
<
KylinRecommendActiveRelation
>
kylinRecommendActiveRelations
=
kylinRecommendActiveRelationMapper
.
selectList
(
queryWrapper
);
for
(
KylinRecommendActiveRelation
r
:
kylinRecommendActiveRelations
)
{
for
(
KylinRecommendActiveRelation
r
:
kylinRecommendActiveRelations
)
{
//1NFT2组合购3演出4商品
//1NFT2组合购3演出4商品
if
(
r
.
getType
()
==
1
||
r
.
getType
()
==
4
)
{
if
(
r
.
getType
()
==
1
)
{
LambdaQueryWrapper
<
GoblinGoods
>
queryWrapperg
=
Wrappers
.
lambdaQuery
(
GoblinGoods
.
class
);
LambdaQueryWrapper
<
GoblinGoods
Sku
>
queryWrapperg
=
Wrappers
.
lambdaQuery
(
GoblinGoodsSku
.
class
);
queryWrapperg
.
eq
(
GoblinGoods
:
:
getSp
uId
,
r
.
getRecommendBindId
());
queryWrapperg
.
eq
(
GoblinGoods
Sku:
:
getSk
uId
,
r
.
getRecommendBindId
());
GoblinGoods
goblinGoods
=
goblinGoods
Mapper
.
selectOne
(
queryWrapperg
);
GoblinGoods
Sku
goblinGoodsSku
=
goblinGoodsSku
Mapper
.
selectOne
(
queryWrapperg
);
if
(
null
!=
goblinGoods
)
{
if
(
null
!=
goblinGoods
Sku
)
{
r
.
setName
(
goblinGoods
.
getName
());
r
.
setName
(
goblinGoods
Sku
.
getName
());
}
}
}
else
if
(
r
.
getType
()
==
2
)
{
}
else
if
(
r
.
getType
()
==
2
)
{
LambdaQueryWrapper
<
GoblinMix
>
queryWrapperm
=
Wrappers
.
lambdaQuery
(
GoblinMix
.
class
);
LambdaQueryWrapper
<
GoblinMix
>
queryWrapperm
=
Wrappers
.
lambdaQuery
(
GoblinMix
.
class
);
...
@@ -184,6 +184,13 @@ public class KylinRecommendActiveServiceImpl extends ServiceImpl<KylinRecommendA
...
@@ -184,6 +184,13 @@ public class KylinRecommendActiveServiceImpl extends ServiceImpl<KylinRecommendA
if
(
null
!=
kylinPerformances
)
{
if
(
null
!=
kylinPerformances
)
{
r
.
setName
(
kylinPerformances
.
getTitle
());
r
.
setName
(
kylinPerformances
.
getTitle
());
}
}
}
else
if
(
r
.
getType
()
==
4
)
{
LambdaQueryWrapper
<
GoblinGoods
>
queryWrapperg
=
Wrappers
.
lambdaQuery
(
GoblinGoods
.
class
);
queryWrapperg
.
eq
(
GoblinGoods:
:
getSpuId
,
r
.
getRecommendBindId
());
GoblinGoods
goblinGoods
=
goblinGoodsMapper
.
selectOne
(
queryWrapperg
);
if
(
null
!=
goblinGoods
)
{
r
.
setName
(
goblinGoods
.
getName
());
}
}
}
}
}
kylinRecommendActive
.
setList
(
kylinRecommendActiveRelations
);
kylinRecommendActive
.
setList
(
kylinRecommendActiveRelations
);
...
...
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