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
3b0d4d14
Commit
3b0d4d14
authored
May 24, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排产bugfix
parent
f2c6017c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
HGSC005A.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC005A.xml
+1
-1
HGSC006A.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC006A.xml
+1
-1
HGSC007.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC007.xml
+1
-1
HGSCTools.java
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
+1
-1
No files found.
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC005A.xml
View file @
3b0d4d14
...
...
@@ -199,7 +199,7 @@
$orderBy$
</isNotEmpty>
<isEmpty
property=
"orderBy"
>
product_type asc ,process_order desc
product_type asc ,
product_name,
process_order desc
</isEmpty>
</dynamic>
...
...
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC006A.xml
View file @
3b0d4d14
...
...
@@ -245,7 +245,7 @@
$orderBy$
</isNotEmpty>
<isEmpty
property=
"orderBy"
>
product_type asc
,
process_order desc
product_type asc
, product_name,
process_order desc
</isEmpty>
</dynamic>
...
...
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC007.xml
View file @
3b0d4d14
...
...
@@ -224,7 +224,7 @@
$orderBy$
</isNotEmpty>
<isEmpty
property=
"orderBy"
>
id desc, product_type asc
,
process_order desc
id desc, product_type asc
, product_name,
process_order desc
</isEmpty>
</dynamic>
...
...
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
View file @
3b0d4d14
...
...
@@ -468,7 +468,7 @@ public class HGSCTools {
public
static
int
schedule
(
String
planCode
)
{
List
<
HGSC005A
>
hgsc005AList
=
queryByPlanCode
(
planCode
);
hgsc005AList
.
sort
(
Comparator
.
comparing
(
HGSC005A:
:
getProductType
).
thenComparing
(
HGSC005A:
:
getProcessOrder
,
Comparator
.
reverseOrder
()));
//
hgsc005AList.sort(Comparator.comparing(HGSC005A::getProductType).thenComparing(HGSC005A::getProcessOrder,Comparator.reverseOrder()));
//通过工序编码查询工序设置
List
<
String
>
processCodes
=
hgsc005AList
.
stream
().
map
(
HGSC005A:
:
getProcessCode
).
collect
(
Collectors
.
toList
());
List
<
HGSJ001
>
hgsj001List
=
HGSJTools
.
Hgsj001
.
queryByProcessCodes
(
processCodes
);
...
...
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