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
3dbc1855
Commit
3dbc1855
authored
Jul 24, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-07-24 报工提交添加附件保存
parent
ff7c524f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
ServiceHGSC007A.java
...java/com/baosight/hggp/hg/sc/service/ServiceHGSC007A.java
+15
-3
No files found.
src/main/java/com/baosight/hggp/hg/sc/service/ServiceHGSC007A.java
View file @
3dbc1855
...
@@ -4,9 +4,11 @@ import com.baosight.hggp.aspect.annotation.OperationLogAnnotation;
...
@@ -4,9 +4,11 @@ import com.baosight.hggp.aspect.annotation.OperationLogAnnotation;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.hg.constant.HGConstant
;
import
com.baosight.hggp.hg.constant.HGConstant
;
import
com.baosight.hggp.hg.sb.domain.HGSB004A
;
import
com.baosight.hggp.hg.sc.domain.HGSC006A
;
import
com.baosight.hggp.hg.sc.domain.HGSC006A
;
import
com.baosight.hggp.hg.sc.domain.HGSC007
;
import
com.baosight.hggp.hg.sc.domain.HGSC007
;
import
com.baosight.hggp.hg.sc.domain.HGSC008
;
import
com.baosight.hggp.hg.sc.domain.HGSC008
;
import
com.baosight.hggp.hg.sc.domain.HGSC099
;
import
com.baosight.hggp.hg.sc.tools.HGSCTools
;
import
com.baosight.hggp.hg.sc.tools.HGSCTools
;
import
com.baosight.hggp.hg.zl.tools.HGZLTools
;
import
com.baosight.hggp.hg.zl.tools.HGZLTools
;
import
com.baosight.hggp.util.*
;
import
com.baosight.hggp.util.*
;
...
@@ -62,7 +64,19 @@ public class ServiceHGSC007A extends ServiceEPBase {
...
@@ -62,7 +64,19 @@ public class ServiceHGSC007A extends ServiceEPBase {
@OperationLogAnnotation
(
operModul
=
"生产报工"
,
operType
=
"报工"
,
operDesc
=
"保存"
)
@OperationLogAnnotation
(
operModul
=
"生产报工"
,
operType
=
"报工"
,
operDesc
=
"保存"
)
public
EiInfo
save
(
EiInfo
inInfo
)
{
public
EiInfo
save
(
EiInfo
inInfo
)
{
try
{
try
{
HGSCTools
.
THGSC008
.
add
(
inInfo
);
Map
resultMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
,
EiConstant
.
resultBlock
);
HGSC008
hgsc008
=
HGSCTools
.
THGSC008
.
add
(
inInfo
);
String
docId
=
org
.
apache
.
commons
.
collections
.
MapUtils
.
getString
(
resultMap
,
HGSB004A
.
FIELD_DOC_ID
);
if
(
StringUtils
.
isNotEmpty
(
docId
))
{
String
[]
docIds
=
docId
.
split
(
","
);
for
(
String
docIdStr
:
docIds
){
HGSC099
hgsc099
=
new
HGSC099
();
hgsc099
.
setBizType
(
"SCBG"
);
hgsc099
.
setDocId
(
docIdStr
);
hgsc099
.
setMatId
(
hgsc008
.
getMatId
());
DaoUtils
.
insert
(
HGSC099
.
INSERT
,
hgsc099
);
}
}
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"保存成功!"
);
inInfo
.
setMsg
(
"保存成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
@@ -70,8 +84,6 @@ public class ServiceHGSC007A extends ServiceEPBase {
...
@@ -70,8 +84,6 @@ public class ServiceHGSC007A extends ServiceEPBase {
}
}
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