Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
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
platform
hp-smart
Commits
83d8c903
Commit
83d8c903
authored
Apr 10, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.注释掉平台已删除的代码
parent
97b66809
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
ServiceXSResourceManage.java
...aosight/xservices/xs/service/ServiceXSResourceManage.java
+13
-13
No files found.
src/main/java/com/baosight/xservices/xs/service/ServiceXSResourceManage.java
View file @
83d8c903
...
...
@@ -336,19 +336,19 @@ public class ServiceXSResourceManage extends ServiceEPBase {
return
inInfo
;
}
}
map
.
put
(
"authResourceId"
,
resourceId
);
List
resourceAsDataObjects
=
this
.
dao
.
query
(
"XS10.query"
,
map
);
eiInfo
.
set
(
EiConstant
.
serviceId
,
"S_XS_31"
);
if
(
null
!=
resourceAsDataObjects
&&
resourceAsDataObjects
.
size
()
>
0
)
{
block
.
setRows
(
resourceAsDataObjects
);
EiInfo
outInfo
=
XServiceManager
.
call
(
eiInfo
);
if
(
outInfo
.
getStatus
()
<
0
)
{
inInfo
.
setMsg
(
outInfo
.
getMsg
());
inInfo
.
setStatus
(-
1
);
return
inInfo
;
}
}
// 平台已删除XS10的SQL文件 modify by songx at 2024-04-10
//
map.put("authResourceId", resourceId);
//
List resourceAsDataObjects = this.dao.query("XS10.query", map);
//
eiInfo.set(EiConstant.serviceId, "S_XS_31");
//
if (null != resourceAsDataObjects && resourceAsDataObjects.size() > 0) {
//
block.setRows(resourceAsDataObjects);
//
EiInfo outInfo = XServiceManager.call(eiInfo);
//
if (outInfo.getStatus() < 0) {
//
inInfo.setMsg(outInfo.getMsg());
//
inInfo.setStatus(-1);
//
return inInfo;
//
}
//
}
this
.
dao
.
delete
(
"XS04.delete"
,
inInfoRowMap
);
deletedResourceList
.
add
(
resourceMap
);
...
...
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