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
796b3800
Commit
796b3800
authored
Oct 19, 2024
by
lyy
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://129.211.46.84:8800/platform/hp-smart
into dev-sx
parents
73712050
106dff4b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
+20
-8
ServiceHPBI003.java
.../java/com/baosight/hpjx/hp/bi/service/ServiceHPBI003.java
+20
-8
No files found.
src/main/java/com/baosight/hpjx/hp/bi/service/ServiceHPBI003.java
View file @
796b3800
...
@@ -209,7 +209,9 @@ public class ServiceHPBI003 extends ServiceBase {
...
@@ -209,7 +209,9 @@ public class ServiceHPBI003 extends ServiceBase {
if
(
params
.
containsKey
(
"date"
)){
if
(
params
.
containsKey
(
"date"
)){
params
.
put
(
"date"
,
DateUtils
.
formatShort
(
params
.
get
(
"date"
)));
params
.
put
(
"date"
,
DateUtils
.
formatShort
(
params
.
get
(
"date"
)));
}
}
return
super
.
query
(
inInfo
,
"HPBI003.queryDayWt"
);
List
<
Map
>
listMap
=
DaoBase
.
getInstance
().
query
(
"HPBI003.queryDayWt"
,
params
,
0
,
100
);
inInfo
.
set
(
EiConstant
.
resultBlock
,
listMap
);
return
inInfo
;
}
}
/**
/**
...
@@ -222,7 +224,9 @@ public class ServiceHPBI003 extends ServiceBase {
...
@@ -222,7 +224,9 @@ public class ServiceHPBI003 extends ServiceBase {
if
(
params
.
containsKey
(
"date"
)){
if
(
params
.
containsKey
(
"date"
)){
params
.
put
(
"date"
,
DateUtils
.
formatShort
(
params
.
get
(
"date"
)));
params
.
put
(
"date"
,
DateUtils
.
formatShort
(
params
.
get
(
"date"
)));
}
}
return
super
.
query
(
inInfo
,
"HPBI003.queryMonthWt"
);
List
<
Map
>
listMap
=
DaoBase
.
getInstance
().
query
(
"HPBI003.queryMonthWt"
,
params
,
0
,
100
);
inInfo
.
set
(
EiConstant
.
resultBlock
,
listMap
);
return
inInfo
;
}
}
/**
/**
...
@@ -235,7 +239,9 @@ public class ServiceHPBI003 extends ServiceBase {
...
@@ -235,7 +239,9 @@ public class ServiceHPBI003 extends ServiceBase {
if
(
params
.
containsKey
(
"date"
)){
if
(
params
.
containsKey
(
"date"
)){
params
.
put
(
"date"
,
DateUtils
.
formatShort
(
params
.
get
(
"date"
)));
params
.
put
(
"date"
,
DateUtils
.
formatShort
(
params
.
get
(
"date"
)));
}
}
return
super
.
query
(
inInfo
,
"HPBI003.queryYearWt"
);
List
<
Map
>
listMap
=
DaoBase
.
getInstance
().
query
(
"HPBI003.queryYearWt"
,
params
,
0
,
100
);
inInfo
.
set
(
EiConstant
.
resultBlock
,
listMap
);
return
inInfo
;
}
}
/**
/**
...
@@ -248,7 +254,9 @@ public class ServiceHPBI003 extends ServiceBase {
...
@@ -248,7 +254,9 @@ public class ServiceHPBI003 extends ServiceBase {
if
(
params
.
containsKey
(
"date"
)){
if
(
params
.
containsKey
(
"date"
)){
params
.
put
(
"date"
,
DateUtils
.
formatShort
(
params
.
get
(
"date"
)));
params
.
put
(
"date"
,
DateUtils
.
formatShort
(
params
.
get
(
"date"
)));
}
}
return
super
.
query
(
inInfo
,
"HPBI003.queryZCL"
);
List
<
Map
>
listMap
=
DaoBase
.
getInstance
().
query
(
"HPBI003.queryZCL"
,
params
,
0
,
100
);
inInfo
.
set
(
EiConstant
.
resultBlock
,
listMap
);
return
inInfo
;
}
}
/**
/**
...
@@ -272,7 +280,7 @@ public class ServiceHPBI003 extends ServiceBase {
...
@@ -272,7 +280,7 @@ public class ServiceHPBI003 extends ServiceBase {
}
}
result
.
add
(
map
);
result
.
add
(
map
);
}
}
inInfo
.
set
(
"result"
,
result
);
inInfo
.
set
(
EiConstant
.
resultBlock
,
result
);
return
inInfo
;
return
inInfo
;
}
}
...
@@ -286,7 +294,9 @@ public class ServiceHPBI003 extends ServiceBase {
...
@@ -286,7 +294,9 @@ public class ServiceHPBI003 extends ServiceBase {
if
(
params
.
containsKey
(
"date"
)){
if
(
params
.
containsKey
(
"date"
)){
params
.
put
(
"date"
,
DateUtils
.
formatShort
(
params
.
get
(
"date"
)));
params
.
put
(
"date"
,
DateUtils
.
formatShort
(
params
.
get
(
"date"
)));
}
}
return
super
.
query
(
inInfo
,
"HPBI003.queryProducItem"
);
List
<
Map
>
listMap
=
DaoBase
.
getInstance
().
query
(
"HPBI003.queryProducItem"
,
params
,
0
,
100
);
inInfo
.
set
(
EiConstant
.
resultBlock
,
listMap
);
return
inInfo
;
}
}
/**
/**
...
@@ -299,7 +309,9 @@ public class ServiceHPBI003 extends ServiceBase {
...
@@ -299,7 +309,9 @@ public class ServiceHPBI003 extends ServiceBase {
if
(
params
.
containsKey
(
"date"
)){
if
(
params
.
containsKey
(
"date"
)){
params
.
put
(
"date"
,
DateUtils
.
formatShort
(
params
.
get
(
"date"
)));
params
.
put
(
"date"
,
DateUtils
.
formatShort
(
params
.
get
(
"date"
)));
}
}
return
super
.
query
(
inInfo
,
"HPBI003.queryProjNameWt"
);
List
<
Map
>
listMap
=
DaoBase
.
getInstance
().
query
(
"HPBI003.queryProjNameWt"
,
params
,
0
,
100
);
inInfo
.
set
(
EiConstant
.
resultBlock
,
listMap
);
return
inInfo
;
}
}
/**
/**
...
@@ -330,7 +342,7 @@ public class ServiceHPBI003 extends ServiceBase {
...
@@ -330,7 +342,7 @@ public class ServiceHPBI003 extends ServiceBase {
}
}
inInfo
.
set
(
"date"
,
listMap2
);
inInfo
.
set
(
"date"
,
listMap2
);
inInfo
.
set
(
"name"
,
listMap1
.
keySet
());
inInfo
.
set
(
"name"
,
listMap1
.
keySet
());
inInfo
.
set
(
"result"
,
result
);
inInfo
.
set
(
EiConstant
.
resultBlock
,
result
);
return
inInfo
;
return
inInfo
;
}
}
...
...
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