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
a13c62ab
Commit
a13c62ab
authored
Oct 20, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-10-19
1.生产驾驶舱接口调整
parent
06663f64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
ServiceHGSC007.java
.../java/com/baosight/hggp/hg/sc/service/ServiceHGSC007.java
+1
-0
HGSC007.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC007.xml
+4
-1
No files found.
src/main/java/com/baosight/hggp/hg/sc/service/ServiceHGSC007.java
View file @
a13c62ab
...
@@ -307,6 +307,7 @@ public class ServiceHGSC007 extends ServiceEPBase {
...
@@ -307,6 +307,7 @@ public class ServiceHGSC007 extends ServiceEPBase {
if
(
queryRow
.
containsKey
(
"depositDate"
))
{
if
(
queryRow
.
containsKey
(
"depositDate"
))
{
queryRow
.
put
(
"depositDate"
,
DateUtils
.
formatShort
(
queryRow
.
get
(
"depositDate"
)));
queryRow
.
put
(
"depositDate"
,
DateUtils
.
formatShort
(
queryRow
.
get
(
"depositDate"
)));
}
}
queryRow
.
put
(
"processNames"
,
Arrays
.
asList
(
"组立"
,
"油漆"
,
"埋弧盖面"
,
"抛丸除锈"
,
"拼装"
,
"焊接"
));
List
<
Map
>
result
=
DaoBase
.
getInstance
().
query
(
"HGSC007.queryBySunWt"
,
queryRow
);
List
<
Map
>
result
=
DaoBase
.
getInstance
().
query
(
"HGSC007.queryBySunWt"
,
queryRow
);
inInfo
.
set
(
EiConstant
.
resultBlock
,
result
);
inInfo
.
set
(
EiConstant
.
resultBlock
,
result
);
}
catch
(
PlatException
e
)
{
}
catch
(
PlatException
e
)
{
...
...
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC007.xml
View file @
a13c62ab
...
@@ -1098,10 +1098,13 @@
...
@@ -1098,10 +1098,13 @@
</isNotEmpty>
</isNotEmpty>
group by h2.process_code
group by h2.process_code
) B on A.process_code = B.process_code
) B on A.process_code = B.process_code
where
A.process_name in ('组立','油漆','埋弧盖面','抛丸除锈','拼装','焊接')
where
1=1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
A.account_code = #accountCode#
A.account_code = #accountCode#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"processNames"
>
A.process_name IN
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"processNames"
>
#processNames[]#
</iterate>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"factoryName"
>
<isNotEmpty
prepend=
" AND "
property=
"factoryName"
>
C.factory_name = #factoryName#
C.factory_name = #factoryName#
</isNotEmpty>
</isNotEmpty>
...
...
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