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
32b1222e
Commit
32b1222e
authored
Mar 17, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:新增是否能查询客户详情接口
parent
03205d94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
WxEnterpriseInfoController.java
...ban/manage/web/controller/WxEnterpriseInfoController.java
+5
-5
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/WxEnterpriseInfoController.java
View file @
32b1222e
package
com
.
gic
.
haoban
.
manage
.
web
.
controller
;
import
cn.hutool.core.collection.CollectionUtil
;
import
cn.hutool.core.convert.Convert
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.gic.clerk.api.dto.ClerkDTO
;
...
...
@@ -394,9 +395,9 @@ public class WxEnterpriseInfoController extends WebBaseController {
* @return
*/
@RequestMapping
(
"get-member-clerk-flag"
)
public
Haoban
Response
getMemberFlag
(
String
clerkId
,
String
memberId
,
String
storeId
,
String
enterpriseId
)
{
public
Rest
Response
getMemberFlag
(
String
clerkId
,
String
memberId
,
String
storeId
,
String
enterpriseId
)
{
if
(
StringUtils
.
isAnyBlank
(
clerkId
,
memberId
,
storeId
))
{
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
return
RestResponse
.
failure
(
Convert
.
toStr
(
HaoBanErrCode
.
ERR_2
.
getCode
()),
HaoBanErrCode
.
ERR_2
.
getMsg
()
);
}
CustomerDTO
params
=
new
CustomerDTO
();
params
.
setClerkType
(
"0"
);
...
...
@@ -414,14 +415,13 @@ public class WxEnterpriseInfoController extends WebBaseController {
filterListDTO
.
setChild
(
childDTO
);
List
<
FilterListDTO
>
filterList
=
new
ArrayList
<>();
filterList
.
add
(
filterListDTO
);
memberInfoListParamsDTO
.
setFilterList
(
filterList
);
boolean
flag
=
customerApiService
.
checkMemberRangeByMemberId
(
params
,
memberInfoListParamsDTO
);
if
(
flag
)
{
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
true
);
return
RestResponse
.
successResult
(
true
);
}
else
{
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
false
);
return
RestResponse
.
successResult
(
false
);
}
}
...
...
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