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
f065b2d6
Commit
f065b2d6
authored
Jun 13, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
派工状态bugfix
parent
eceb8b93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
ServiceHGZL002.java
.../java/com/baosight/hggp/hg/zl/service/ServiceHGZL002.java
+4
-3
No files found.
src/main/java/com/baosight/hggp/hg/zl/service/ServiceHGZL002.java
View file @
f065b2d6
...
@@ -36,7 +36,7 @@ public class ServiceHGZL002 extends ServiceBase {
...
@@ -36,7 +36,7 @@ public class ServiceHGZL002 extends ServiceBase {
@OperationLogAnnotation
(
operModul
=
"工序质检单"
,
operType
=
"查询"
,
operDesc
=
"初始化查询"
)
@OperationLogAnnotation
(
operModul
=
"工序质检单"
,
operType
=
"查询"
,
operDesc
=
"初始化查询"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
customQuery
(
inInfo
);
inInfo
=
customQuery
(
inInfo
);
EiInfoUtils
.
addBlock
(
inInfo
,
"userBlockId"
,
UserSessionUtils
.
getUser
(),
User
.
class
);
EiInfoUtils
.
addBlock
(
inInfo
,
"userBlockId"
,
UserSessionUtils
.
getUser
(),
User
.
class
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
...
@@ -44,7 +44,7 @@ public class ServiceHGZL002 extends ServiceBase {
...
@@ -44,7 +44,7 @@ public class ServiceHGZL002 extends ServiceBase {
return
inInfo
;
return
inInfo
;
}
}
private
void
customQuery
(
EiInfo
inInfo
){
private
EiInfo
customQuery
(
EiInfo
inInfo
){
Long
taskId
=
MapUtils
.
getLong
(
EiInfoUtils
.
getFirstRow
(
inInfo
),
HGSC008
.
FIELD_task_id
);
Long
taskId
=
MapUtils
.
getLong
(
EiInfoUtils
.
getFirstRow
(
inInfo
),
HGSC008
.
FIELD_task_id
);
if
(
Objects
.
nonNull
(
taskId
)&&
taskId
>
0
){
if
(
Objects
.
nonNull
(
taskId
)&&
taskId
>
0
){
List
<
HGSC008
>
hgsc008s
=
HGSCTools
.
THGSC008
.
getByTaskId
(
taskId
);
List
<
HGSC008
>
hgsc008s
=
HGSCTools
.
THGSC008
.
getByTaskId
(
taskId
);
...
@@ -58,6 +58,7 @@ public class ServiceHGZL002 extends ServiceBase {
...
@@ -58,6 +58,7 @@ public class ServiceHGZL002 extends ServiceBase {
}
else
{
}
else
{
inInfo
=
super
.
query
(
inInfo
,
HGZL002
.
QUERY
,
new
HGZL002
());
inInfo
=
super
.
query
(
inInfo
,
HGZL002
.
QUERY
,
new
HGZL002
());
}
}
return
inInfo
}
}
/**
/**
...
@@ -70,7 +71,7 @@ public class ServiceHGZL002 extends ServiceBase {
...
@@ -70,7 +71,7 @@ public class ServiceHGZL002 extends ServiceBase {
@OperationLogAnnotation
(
operModul
=
"工序质检单"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"工序质检单"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
customQuery
(
inInfo
);
inInfo
=
customQuery
(
inInfo
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
}
...
...
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