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
9cc2a867
Commit
9cc2a867
authored
May 26, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导购配置
parent
143b2c29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
ApplicationController.java
...c/haoban/manage/web/controller/ApplicationController.java
+9
-10
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/ApplicationController.java
View file @
9cc2a867
...
...
@@ -129,7 +129,6 @@ public class ApplicationController extends WebBaseController {
closeList
=
applicationApiService
.
listByApplications
(
applicationIds
);
}
List
<
ApplicationVO
>
allList
=
new
ArrayList
<>();
list
.
forEach
(
item
->{
ApplicationVO
vo
=
EntityUtil
.
changeEntity
(
ApplicationVO
.
class
,
item
)
;
...
...
@@ -157,16 +156,16 @@ public class ApplicationController extends WebBaseController {
WebLoginDTO
login
=
AuthWebRequestUtil
.
getLoginUser
();
String
wxEnterpriseId
=
login
.
getWxEnterpriseId
();
String
enterpriseId
=
login
.
getEnterpriseId
();
log
.
info
(
"dataJson={}"
,
dataJson
);
if
(
StringUtils
.
isBlank
(
dataJson
))
{
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
}
JSONArray
jsonArr
=
JSONArray
.
parseArray
(
dataJson
)
;
if
(
jsonArr
.
size
()<=
0
)
{
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
log
.
info
(
"dataJson={},{}"
,
dataJson
,
JSON
.
toJSONString
(
clerkEditInfo
));
if
(
StringUtils
.
isNotBlank
(
dataJson
))
{
JSONArray
jsonArr
=
JSONArray
.
parseArray
(
dataJson
)
;
if
(
jsonArr
.
size
()<=
0
)
{
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
}
this
.
applicationSettingApiService
.
saveSetting
(
wxEnterpriseId
,
jsonArr
);
}
else
{
this
.
wxEnterpriseRelatedApiService
.
saveClerkEditFlag
(
wxEnterpriseId
,
enterpriseId
,
ClerkEditInfoVO
.
getValue
(
clerkEditInfo
));
}
this
.
wxEnterpriseRelatedApiService
.
saveClerkEditFlag
(
wxEnterpriseId
,
enterpriseId
,
ClerkEditInfoVO
.
getValue
(
clerkEditInfo
));
applicationSettingApiService
.
saveSetting
(
wxEnterpriseId
,
jsonArr
);
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