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
2bed7bca
Commit
2bed7bca
authored
May 27, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导购设置
parent
6feeb455
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
11 deletions
+18
-11
ApplicationController.java
...c/haoban/manage/web/controller/ApplicationController.java
+18
-11
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/ApplicationController.java
View file @
2bed7bca
...
@@ -128,20 +128,27 @@ public class ApplicationController extends WebBaseController {
...
@@ -128,20 +128,27 @@ public class ApplicationController extends WebBaseController {
}
}
@RequestMapping
(
"open-or-close"
)
@RequestMapping
(
"open-or-close"
)
public
HaobanResponse
applicationList
(
String
dataJson
,
ClerkEditInfoVO
clerkEditInfo
)
{
public
HaobanResponse
saveOpenOrClose
(
String
dataJson
)
{
WebLoginDTO
login
=
AuthWebRequestUtil
.
getLoginUser
();
WebLoginDTO
login
=
AuthWebRequestUtil
.
getLoginUser
();
String
wxEnterpriseId
=
login
.
getWxEnterpriseId
();
String
wxEnterpriseId
=
login
.
getWxEnterpriseId
();
String
enterpriseId
=
login
.
getEnterpriseId
();
log
.
info
(
"dataJson={}"
,
dataJson
);
log
.
info
(
"dataJson={},{}"
,
dataJson
,
JSON
.
toJSONString
(
clerkEditInfo
));
if
(
StringUtils
.
isBlank
(
dataJson
))
{
if
(
StringUtils
.
isNotBlank
(
dataJson
))
{
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
JSONArray
jsonArr
=
JSONArray
.
parseArray
(
dataJson
)
;
}
if
(
jsonArr
.
size
()<=
0
)
{
JSONArray
jsonArr
=
JSONArray
.
parseArray
(
dataJson
)
;
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
if
(
jsonArr
.
size
()<=
0
)
{
}
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
this
.
applicationSettingApiService
.
saveSetting
(
wxEnterpriseId
,
jsonArr
);
}
else
{
this
.
wxEnterpriseRelatedApiService
.
saveClerkEditFlag
(
wxEnterpriseId
,
enterpriseId
,
ClerkEditInfoVO
.
getValue
(
clerkEditInfo
));
}
}
this
.
applicationSettingApiService
.
saveSetting
(
wxEnterpriseId
,
jsonArr
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
@RequestMapping
(
"save-clerk-edit-flag"
)
public
HaobanResponse
saveClerkEditFlag
(
ClerkEditInfoVO
clerkEditInfo
)
{
WebLoginDTO
login
=
AuthWebRequestUtil
.
getLoginUser
();
String
wxEnterpriseId
=
login
.
getWxEnterpriseId
();
String
enterpriseId
=
login
.
getEnterpriseId
();
this
.
wxEnterpriseRelatedApiService
.
saveClerkEditFlag
(
wxEnterpriseId
,
enterpriseId
,
ClerkEditInfoVO
.
getValue
(
clerkEditInfo
));
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
return
resultResponse
(
HaoBanErrCode
.
ERR_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