Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-auth
Overview
Overview
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
base_platform_enterprise
gic-platform-auth
Commits
a05b986c
Commit
a05b986c
authored
Sep 09, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单资源修改
parent
08222b30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
OrderResourceDTO.java
...-api/src/main/java/com/gic/auth/dto/OrderResourceDTO.java
+9
-0
ResourceApiServiceImpl.java
...m/gic/auth/service/outer/impl/ResourceApiServiceImpl.java
+4
-0
No files found.
gic-platform-auth-api/src/main/java/com/gic/auth/dto/OrderResourceDTO.java
View file @
a05b986c
...
@@ -15,6 +15,7 @@ public class OrderResourceDTO implements Serializable {
...
@@ -15,6 +15,7 @@ public class OrderResourceDTO implements Serializable {
private
Integer
type
;
private
Integer
type
;
//
//
private
List
<
Integer
>
storeIdList
;
private
List
<
Integer
>
storeIdList
;
private
List
<
Integer
>
storeInfoIdList
;
// 达摩微商城
// 达摩微商城
private
List
<
Long
>
shopIdList
;
private
List
<
Long
>
shopIdList
;
...
@@ -53,4 +54,12 @@ public class OrderResourceDTO implements Serializable {
...
@@ -53,4 +54,12 @@ public class OrderResourceDTO implements Serializable {
public
void
setWmStoreList
(
List
<
Long
>
wmStoreList
)
{
public
void
setWmStoreList
(
List
<
Long
>
wmStoreList
)
{
this
.
wmStoreList
=
wmStoreList
;
this
.
wmStoreList
=
wmStoreList
;
}
}
public
void
setStoreInfoIdList
(
List
<
Integer
>
storeInfoIdList
)
{
this
.
storeInfoIdList
=
storeInfoIdList
;
}
public
List
<
Integer
>
getStoreInfoIdList
()
{
return
storeInfoIdList
;
}
}
}
gic-platform-auth-service/src/main/java/com/gic/auth/service/outer/impl/ResourceApiServiceImpl.java
View file @
a05b986c
...
@@ -382,6 +382,10 @@ public class ResourceApiServiceImpl implements ResourceApiService {
...
@@ -382,6 +382,10 @@ public class ResourceApiServiceImpl implements ResourceApiService {
if
(
CollectionUtils
.
isNotEmpty
(
result
))
{
if
(
CollectionUtils
.
isNotEmpty
(
result
))
{
defaultResource
.
setStoreIdList
(
result
);
defaultResource
.
setStoreIdList
(
result
);
}
}
List
<
Integer
>
result2
=
storeWidgetApiService
.
listStoreInfoIdByStoreWidgetId
(
user
.
getEnterpriseId
(),
orderResourceContentDTO
.
getStoreWidgetId
()).
getResult
();
if
(
CollectionUtils
.
isNotEmpty
(
result2
))
{
defaultResource
.
setStoreInfoIdList
(
result2
);
}
}
else
if
(
OrderResourceChannelEnum
.
DAMO_MALL
.
getCode
().
equals
(
orderResourceContentDTO
.
getChannel
()))
{
}
else
if
(
OrderResourceChannelEnum
.
DAMO_MALL
.
getCode
().
equals
(
orderResourceContentDTO
.
getChannel
()))
{
defaultResource
.
setShopIdList
(
orderResourceContentDTO
.
getStoreContent
());
defaultResource
.
setShopIdList
(
orderResourceContentDTO
.
getStoreContent
());
}
}
...
...
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