Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
3985f9fc
Commit
3985f9fc
authored
Apr 22, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:增加提示
parent
95789ee7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
ClerkController.java
...com/gic/haoban/manage/web/controller/ClerkController.java
+5
-5
HaoBanErrCode.java
...java/com/gic/haoban/manage/web/errCode/HaoBanErrCode.java
+1
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/ClerkController.java
View file @
3985f9fc
...
...
@@ -223,23 +223,23 @@ public class ClerkController extends WebBaseController {
ClerkMainStoreRelatedDTO
mainStore
=
clerkMainStoreRelatedApiService
.
getWxEnterpriseIdAndStaffId
(
wxEnterpriseId
,
staffId
);
if
(
mainStore
==
null
)
{
logger
.
info
(
"该门店不存在"
);
return
resultResponse
(
HaoBanErrCode
.
ERR_
5
);
return
resultResponse
(
HaoBanErrCode
.
ERR_
400023
);
}
String
mainStoreId
=
mainStore
.
getStoreId
();
StoreDTO
storeDTO
=
storeService
.
getStore
(
mainStoreId
);
if
(
null
==
storeDTO
)
{
logger
.
info
(
"该门店不存在"
);
return
resultResponse
(
HaoBanErrCode
.
ERR_
5
);
return
resultResponse
(
HaoBanErrCode
.
ERR_
400023
);
}
WxEnterpriseRelationDetailDTO
enterpriseBindInfo
=
wxEnterpriseRelatedApiService
.
getEnterpriseBindInfo
(
wxEnterpriseId
,
storeDTO
.
getEnterpriseId
());
if
(
null
==
enterpriseBindInfo
)
{
logger
.
info
(
"该企业未关联"
);
return
resultResponse
(
HaoBanErrCode
.
ERR_
5
);
return
resultResponse
(
HaoBanErrCode
.
ERR_
400022
);
}
WxEnterpriseDTO
wxEnterpriseDTO
=
wxEnterpriseApiService
.
getOne
(
wxEnterpriseId
);
if
(
null
==
wxEnterpriseDTO
)
{
logger
.
info
(
"该企业
未关联
"
);
return
resultResponse
(
HaoBanErrCode
.
ERR_
8
);
logger
.
info
(
"该企业
不存在
"
);
return
resultResponse
(
HaoBanErrCode
.
ERR_
400002
);
}
Integer
agreeExternalUseridFlag
=
wxEnterpriseDTO
.
getAgreeExternalUseridFlag
();
int
memberOpenCardFlag
=
enterpriseBindInfo
.
getMemberOpenCardFlag
();
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/errCode/HaoBanErrCode.java
View file @
3985f9fc
...
...
@@ -96,6 +96,7 @@ public enum HaoBanErrCode {
ERR_400020
(
400020
,
"门店图片不能为空"
),
ERR_400021
(
400021
,
"您还未绑定主门店,请前往好办-我的-设置中操作设为主门店"
),
ERR_400022
(
400022
,
" 抱歉,您的企业还未和GIC系统关联,无法查找到对应的导购账号"
),
ERR_400023
(
400023
,
"员工门店不存在"
),
/**
* 文件不存在
...
...
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