Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-store
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-store
Commits
b961c872
Commit
b961c872
authored
Feb 08, 2021
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店品牌变更
parent
1be12bfd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
13 deletions
+14
-13
TabStoreMapper.java
...rc/main/java/com/gic/store/dao/mapper/TabStoreMapper.java
+4
-4
StoreService.java
...ice/src/main/java/com/gic/store/service/StoreService.java
+5
-5
StoreServiceImpl.java
...ain/java/com/gic/store/service/impl/StoreServiceImpl.java
+2
-2
StoreAuthorizationApiServiceImpl.java
.../service/outer/impl/StoreAuthorizationApiServiceImpl.java
+0
-0
dubbo-gic-store-service.xml
...re-service/src/main/resources/dubbo-gic-store-service.xml
+1
-0
TabStoreMapper.xml
...tore-service/src/main/resources/mapper/TabStoreMapper.xml
+2
-2
No files found.
gic-store-service/src/main/java/com/gic/store/dao/mapper/TabStoreMapper.java
View file @
b961c872
...
...
@@ -105,15 +105,15 @@ public interface TabStoreMapper {
List
<
TabStore
>
getStoreNoStatus
(
@Param
(
"enterpriseId"
)
Integer
enterpriseId
,
@Param
(
"storeInfoId"
)
Integer
storeInfoId
);
/**
* listS
toreIdByFromEnterpris
eId
* @Title: listS
toreIdByFromEnterpris
eId
* listS
hareStor
eId
* @Title: listS
hareStor
eId
* @Description:
* @author zhiwj
* @param
fromE
nterpriseId
* @param
e
nterpriseId
* @return java.util.List<java.lang.Integer>
* @throws
*/
List
<
Integer
>
listS
toreIdByFromEnterpriseId
(
@Param
(
"fromEnterpriseId"
)
Integer
fromE
nterpriseId
);
List
<
Integer
>
listS
hareStoreId
(
@Param
(
"enterpriseId"
)
Integer
e
nterpriseId
);
/**
* cancelAuthStore
...
...
gic-store-service/src/main/java/com/gic/store/service/StoreService.java
View file @
b961c872
...
...
@@ -341,15 +341,15 @@ public interface StoreService {
int
authAddStore
(
StoreDTO
storeDTO
);
/**
* listS
toreIdByFromEnterpris
eId
* @Title: listS
toreIdByFromEnterpris
eId
* @Description:
* listS
hareStor
eId
* @Title: listS
hareStor
eId
* @Description:
查询当前商户下的共享门店
* @author zhiwj
* @param
fromE
nterpriseId
* @param
e
nterpriseId
* @return java.util.List<java.lang.Integer>
* @throws
*/
List
<
Integer
>
listS
toreIdByFromEnterpriseId
(
Integer
fromE
nterpriseId
);
List
<
Integer
>
listS
hareStoreId
(
Integer
e
nterpriseId
);
/**
* cancelAuthStore
...
...
gic-store-service/src/main/java/com/gic/store/service/impl/StoreServiceImpl.java
View file @
b961c872
...
...
@@ -485,8 +485,8 @@ public class StoreServiceImpl implements StoreService {
}
@Override
public
List
<
Integer
>
listS
toreIdByFromEnterpriseId
(
Integer
fromE
nterpriseId
)
{
return
this
.
tabStoreMapper
.
listS
toreIdByFromEnterpriseId
(
fromE
nterpriseId
);
public
List
<
Integer
>
listS
hareStoreId
(
Integer
e
nterpriseId
)
{
return
this
.
tabStoreMapper
.
listS
hareStoreId
(
e
nterpriseId
);
}
@Override
...
...
gic-store-service/src/main/java/com/gic/store/service/outer/impl/StoreAuthorizationApiServiceImpl.java
View file @
b961c872
This diff is collapsed.
Click to expand it.
gic-store-service/src/main/resources/dubbo-gic-store-service.xml
View file @
b961c872
...
...
@@ -74,4 +74,5 @@
<dubbo:reference
interface=
"com.gic.auth.service.ResourceGroupApiService"
id=
"resourceGroupApiService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.auth.service.UserResourceApiService"
id=
"userResourceApiService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.member.api.service.StoreUpdateApiService"
id=
"storeUpdateApiService"
timeout=
"6000"
/>
<dubbo:reference
interface=
"com.gic.enterprise.service.UnionEnterpriseAuthResDetailApiService"
id=
"unionEnterpriseAuthResDetailApiService"
timeout=
"6000"
/>
</beans>
gic-store-service/src/main/resources/mapper/TabStoreMapper.xml
View file @
b961c872
...
...
@@ -192,11 +192,11 @@
where enterprise_id = #{enterpriseId,jdbcType=INTEGER} and store_info_id=#{storeInfoId}
order by status desc,create_time desc
</select>
<select
id=
"listS
toreIdByFromEnterpris
eId"
resultType=
"java.lang.Integer"
>
<select
id=
"listS
hareStor
eId"
resultType=
"java.lang.Integer"
>
select
store_info_id
from tab_store
where from_enterprise_id = #{
fromE
nterpriseId,jdbcType=INTEGER} and status=1 and own_type=1
where from_enterprise_id = #{
e
nterpriseId,jdbcType=INTEGER} and status=1 and own_type=1
</select>
<update
id=
"cancelAuthStore"
>
update tab_store set status=0 where enterprise_id=#{toEnterpriseId} and status=1
...
...
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