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
55fe43b5
Commit
55fe43b5
authored
Apr 15, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
二维码
parent
c080c139
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
CustomStoreApiService.java
...ava/com/gic/enterprise/service/CustomStoreApiService.java
+2
-0
CustomStoreApiServiceImpl.java
...erprise/service/outer/impl/CustomStoreApiServiceImpl.java
+6
-0
CustomStoreController.java
.../gic/enterprise/web/controller/CustomStoreController.java
+1
-0
No files found.
gic-platform-enterprise-api/src/main/java/com/gic/enterprise/service/CustomStoreApiService.java
View file @
55fe43b5
...
...
@@ -15,6 +15,8 @@ public interface CustomStoreApiService {
ServiceResponse
<
Integer
>
openCustomStore
(
Integer
enterpriseId
,
String
appid
,
Integer
customStoreId
);
ServiceResponse
<
Integer
>
closeCustomStore
(
Integer
enterpriseId
,
String
appid
);
ServiceResponse
<
CustomStoreDTO
>
getCustomStore
(
Integer
enterpriseId
,
String
appid
);
ServiceResponse
<
Void
>
customSettingHasCommpleted
(
Integer
enterpriseId
);
...
...
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/service/outer/impl/CustomStoreApiServiceImpl.java
View file @
55fe43b5
...
...
@@ -65,6 +65,12 @@ public class CustomStoreApiServiceImpl implements CustomStoreApiService {
}
@Override
public
ServiceResponse
<
Integer
>
closeCustomStore
(
Integer
enterpriseId
,
String
appid
)
{
int
i
=
this
.
customStoreService
.
closeCustomStore
(
enterpriseId
,
appid
);
return
ServiceResponse
.
success
(
i
);
}
@Override
public
ServiceResponse
<
CustomStoreDTO
>
getCustomStore
(
Integer
enterpriseId
,
String
appid
)
{
TabCustomStore
customStore
=
this
.
customStoreService
.
getCustomStore
(
enterpriseId
,
appid
);
return
ServiceResponse
.
success
(
EntityUtil
.
changeEntityByJSON
(
CustomStoreDTO
.
class
,
customStore
));
...
...
gic-platform-enterprise-web/src/main/java/com/gic/enterprise/web/controller/CustomStoreController.java
View file @
55fe43b5
...
...
@@ -35,6 +35,7 @@ public class CustomStoreController {
dto
.
setEnterpriseId
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
());
dto
.
setStoreWidgetId
(
customStoreQO
.
getStorewidgetId
());
if
(
customStoreQO
.
getSaveType
()
==
2
){
this
.
customStoreApiService
.
closeCustomStore
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
(),
customStoreQO
.
getAppId
());
dto
.
setStatus
(
1
);
}
else
{
if
(
customStoreQO
.
getCustomStoreId
()
==
null
){
...
...
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