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
93b2d3e8
Commit
93b2d3e8
authored
May 21, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产计划排产
parent
d0289a14
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ServiceHGSC005.java
.../java/com/baosight/hggp/hg/sc/service/ServiceHGSC005.java
+1
-1
HGSCTools.java
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
+3
-3
No files found.
src/main/java/com/baosight/hggp/hg/sc/service/ServiceHGSC005.java
View file @
93b2d3e8
...
...
@@ -62,7 +62,7 @@ public class ServiceHGSC005 extends ServiceBase {
this
.
checkCommitDate
(
hgsc005AList
);
List
<
Long
>
ids
=
ObjectUtils
.
listKey
(
resultRows
,
HGSC005
.
FIELD_id
);
DaoUtils
.
update
(
HGSC005
.
BATCH_COMMIT
,
new
HashMap
<
String
,
Object
>(){{
put
(
"ids"
,
ids
);}});
//TODO 生成生产
计划
//TODO 生成生产
订单
inInfo
=
this
.
query
(
inInfo
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据提交成功!"
);
...
...
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
View file @
93b2d3e8
...
...
@@ -215,8 +215,8 @@ public class HGSCTools {
Map
paramMap
=
new
HashMap
();
paramMap
.
put
(
HGSC005A
.
FIELD_mat_id
,
hgsc005a
.
getMatId
());
paramMap
.
put
(
HGSC005A
.
FIELD_product_code
,
hgsc005a
.
getProductCode
());
//构建计划物料明细ID唯一
TODO
if
(
hgsc005a
.
getProductType
()
==
1
){
//构建计划物料明细ID唯一
if
(
hgsc005a
.
getProductType
()
.
compareTo
(
ProductTypeEnum
.
STRUCT
.
getCode
())==
0
){
paramMap
.
put
(
HGSC005A
.
FIELD_mat_detail_id
,
hgsc005a
.
getMatDetailId
());
}
List
<
HGSC005A
>
oldObjList
=
DaoBase
.
getInstance
().
query
(
HGSC005A
.
QUERY
,
paramMap
);
...
...
@@ -251,7 +251,7 @@ public class HGSCTools {
}
if
(
CollectionUtils
.
isNotEmpty
(
updateList
)){
updateList
.
forEach
(
obj
->
{
DaoUtils
.
insert
(
HGSC005A
.
UPDATE
,
obj
);
DaoUtils
.
update
(
HGSC005A
.
UPDATE
,
obj
);
});
}
return
hgsc005a
;
...
...
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