Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-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
hg-smart
Commits
be13a4f8
Commit
be13a4f8
authored
Oct 31, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复首页log显示
parent
8c80b4d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
ServiceHGPZ009.java
.../java/com/baosight/hggp/hg/pz/service/ServiceHGPZ009.java
+5
-1
iPlatV7-index.js
src/main/resources/META-INF/resources/iPlatV7-index.js
+1
-1
No files found.
src/main/java/com/baosight/hggp/hg/pz/service/ServiceHGPZ009.java
View file @
be13a4f8
...
@@ -67,7 +67,11 @@ public class ServiceHGPZ009 extends ServiceBase {
...
@@ -67,7 +67,11 @@ public class ServiceHGPZ009 extends ServiceBase {
Map
queryRow
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
Map
queryRow
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
// 排除虚拟企业
// 排除虚拟企业
queryRow
.
put
(
"exValidFlag"
,
ValidFlagEnum
.
VIRTUALLY
.
getCode
());
queryRow
.
put
(
"exValidFlag"
,
ValidFlagEnum
.
VIRTUALLY
.
getCode
());
queryRow
.
put
(
"accountCode"
,
UserSessionUtils
.
getAccountCode
());
if
(
queryRow
.
containsKey
(
"loginName"
)
&&
!
"admin"
.
equals
(
queryRow
.
get
(
"loginName"
).
toString
())){
queryRow
.
put
(
"accountCode"
,
UserSessionUtils
.
getAccountCode
());
}
else
{
queryRow
.
remove
(
"loginName"
);
}
inInfo
=
super
.
query
(
inInfo
,
HGPZ009
.
QUERY
,
new
HGPZ009
());
inInfo
=
super
.
query
(
inInfo
,
HGPZ009
.
QUERY
,
new
HGPZ009
());
//String projectEnv = ProjectInfo.getProjectEnv();
//String projectEnv = ProjectInfo.getProjectEnv();
//inInfo.setCell(EiConstant.resultBlock, ACConstants.ROW_CODE_0, "projectEnv", projectEnv);
//inInfo.setCell(EiConstant.resultBlock, ACConstants.ROW_CODE_0, "projectEnv", projectEnv);
...
...
src/main/resources/META-INF/resources/iPlatV7-index.js
View file @
be13a4f8
...
@@ -2100,7 +2100,7 @@ $(function () {
...
@@ -2100,7 +2100,7 @@ $(function () {
try
{
try
{
if
(
loginName
!==
"admin"
){
if
(
loginName
!==
"admin"
){
var
info
=
new
EiInfo
()
var
info
=
new
EiInfo
()
//info.set("inqu_status-0-accountCod
e", loginName)
info
.
set
(
"inqu_status-0-loginNam
e"
,
loginName
)
EiCommunicator
.
send
(
"HGPZ009"
,
"query"
,
info
,
{
EiCommunicator
.
send
(
"HGPZ009"
,
"query"
,
info
,
{
onSuccess
:
function
(
ei
)
{
//返回结果集
onSuccess
:
function
(
ei
)
{
//返回结果集
if
(
ei
.
blocks
.
result
!==
undefined
){
if
(
ei
.
blocks
.
result
!==
undefined
){
...
...
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