Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
self-service
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
廖旭伟
self-service
Commits
d320b712
Commit
d320b712
authored
2 years ago
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自助终端获取应用集市应用时增加类型限制
parent
89ae14cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
sst-manager/src/main/java/com/mortals/xhx/module/apps/service/impl/AppsInfoServiceImpl.java
...als/xhx/module/apps/service/impl/AppsInfoServiceImpl.java
+4
-0
sst-manager/src/main/java/com/mortals/xhx/module/sst/web/SstBasicController.java
...va/com/mortals/xhx/module/sst/web/SstBasicController.java
+2
-0
No files found.
sst-manager/src/main/java/com/mortals/xhx/module/apps/service/impl/AppsInfoServiceImpl.java
View file @
d320b712
...
...
@@ -63,6 +63,8 @@ public class AppsInfoServiceImpl extends AbstractCRUDServiceImpl<AppsInfoDao, Ap
AppPdu
appPdu
=
new
AppPdu
();
appPdu
.
setSiteId
(
entity
.
getSiteId
());
appPdu
.
setSize
(
999
);
appPdu
.
setType
(
1
);
appPdu
.
setShelves
(
1
);
Rest
<
RespData
<
List
<
AppPdu
>>>
rest
=
appFeign
.
list
(
appPdu
);
if
(
rest
.
getCode
().
equals
(
YesNoEnum
.
YES
.
getValue
()))
{
List
<
AppsInfoEntity
>
appsInfoEntities
=
new
ArrayList
<>();
...
...
@@ -80,6 +82,8 @@ public class AppsInfoServiceImpl extends AbstractCRUDServiceImpl<AppsInfoDao, Ap
AppPdu
appPdu
=
new
AppPdu
();
appPdu
.
setSiteId
(
entity
.
getSiteId
());
appPdu
.
setSize
(
999
);
appPdu
.
setType
(
1
);
appPdu
.
setShelves
(
1
);
Rest
<
RespData
<
List
<
AppPdu
>>>
rest
=
appFeign
.
list
(
appPdu
);
Result
result
=
new
Result
();
if
(
rest
.
getCode
().
equals
(
YesNoEnum
.
YES
.
getValue
()))
{
...
...
This diff is collapsed.
Click to expand it.
sst-manager/src/main/java/com/mortals/xhx/module/sst/web/SstBasicController.java
View file @
d320b712
...
...
@@ -253,6 +253,8 @@ public class SstBasicController extends BaseCRUDJsonBodyMappingController<SstBas
AppPdu
appPdu
=
new
AppPdu
();
appPdu
.
setSiteId
(
query
.
getSiteId
());
appPdu
.
setSize
(
999
);
appPdu
.
setType
(
1
);
appPdu
.
setShelves
(
1
);
Rest
<
RespData
<
List
<
AppPdu
>>>
rest
=
appFeign
.
list
(
appPdu
);
if
(
rest
.
getCode
().
equals
(
YesNoEnum
.
YES
.
getValue
()))
{
model
.
put
(
"dict"
,
rest
.
getData
().
getDict
());
...
...
This diff is collapsed.
Click to expand it.
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