Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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-enterprise
Commits
2cc3fb26
Commit
2cc3fb26
authored
Aug 09, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
2893c47d
fe8e8cf5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
PlatformBrandApiService.java
...a/com/gic/enterprise/service/PlatformBrandApiService.java
+10
-0
PlatformBrandApiServiceImpl.java
...enterprise/service/outer/PlatformBrandApiServiceImpl.java
+9
-0
No files found.
gic-platform-enterprise-api/src/main/java/com/gic/enterprise/service/PlatformBrandApiService.java
View file @
2cc3fb26
...
...
@@ -61,6 +61,16 @@ public interface PlatformBrandApiService {
ServiceResponse
<
Page
<
PlatformBrandDTO
>>
listPlatformBrand
(
PlatformBrandDTO
platformBrandDTO
,
Integer
pageNum
,
Integer
pageSize
);
/**
* @Title: listPlatformBrand
* @Description:
* @author zhiwj
* @param brandName 平台品牌name
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.enterprise.dto.PlatformBrandDTO>>
* @throws
*/
ServiceResponse
<
List
<
PlatformBrandDTO
>>
listPlatformBrand
(
String
brandName
);
/**
* 添加商户品牌和平台品牌的关联关系
* @Title: addRef
* @Description: 添加商户品牌和平台品牌的关联关系
...
...
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/service/outer/PlatformBrandApiServiceImpl.java
View file @
2cc3fb26
...
...
@@ -121,6 +121,15 @@ public class PlatformBrandApiServiceImpl implements PlatformBrandApiService {
}
@Override
public
ServiceResponse
<
List
<
PlatformBrandDTO
>>
listPlatformBrand
(
String
brandName
)
{
PlatformBrandDTO
platformBrandDTO
=
new
PlatformBrandDTO
();
platformBrandDTO
.
setPlatformBrandName
(
brandName
);
com
.
github
.
pagehelper
.
Page
<
TabPlatformBrand
>
storeBrandList
=
platformBrandService
.
listPlatformBrand
(
platformBrandDTO
,
1
,
10
);
List
<
PlatformBrandDTO
>
list
=
EntityUtil
.
changeEntityListNew
(
PlatformBrandDTO
.
class
,
storeBrandList
);
return
ServiceResponse
.
success
(
list
);
}
@Override
public
ServiceResponse
<
Integer
>
addRef
(
Integer
enterpriseId
,
Integer
enterpriseBrandId
,
String
enterpriseBrandName
,
String
enterpriseBrandCode
,
String
categoryCode
)
{
// 先判断后执行 可能并发
TabPlatformBrand
platformBrand
=
platformBrandService
.
getByBrandName
(
enterpriseBrandName
);
...
...
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