Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes
Project
Project
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
ximai
mes
Commits
93490505
Commit
93490505
authored
Jan 15, 2025
by
温志超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新生产排产BUG
parent
63fdb315
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
WorkOrderProgressRequest.java
...om/ximai/mes/report/request/WorkOrderProgressRequest.java
+3
-1
ProWorkorderMapper.xml
.../resources/mapper/pro/proWorkOrder/ProWorkorderMapper.xml
+7
-1
No files found.
mes/src/main/java/com/ximai/mes/report/request/WorkOrderProgressRequest.java
View file @
93490505
...
@@ -4,6 +4,8 @@ import com.ximai.common.annotation.Excel;
...
@@ -4,6 +4,8 @@ import com.ximai.common.annotation.Excel;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.List
;
@Data
@Data
public
class
WorkOrderProgressRequest
{
public
class
WorkOrderProgressRequest
{
/**
/**
...
@@ -42,7 +44,7 @@ public class WorkOrderProgressRequest {
...
@@ -42,7 +44,7 @@ public class WorkOrderProgressRequest {
private
String
productName
;
private
String
productName
;
@ApiModelProperty
(
"工单状态"
)
@ApiModelProperty
(
"工单状态"
)
private
String
workOrderStatus
;
private
List
<
String
>
workOrderStatus
;
@ApiModelProperty
(
"产线"
)
@ApiModelProperty
(
"产线"
)
private
String
lineName
;
private
String
lineName
;
...
...
mes/src/main/resources/mapper/pro/proWorkOrder/ProWorkorderMapper.xml
View file @
93490505
...
@@ -274,7 +274,13 @@
...
@@ -274,7 +274,13 @@
<if
test=
"productCode != null and productCode != ''"
>
and pw.product_code = #{productCode}
</if>
<if
test=
"productCode != null and productCode != ''"
>
and pw.product_code = #{productCode}
</if>
<if
test=
"orderCode != null and orderCode !=''"
>
and pw.order_code = #{orderCode}
</if>
<if
test=
"orderCode != null and orderCode !=''"
>
and pw.order_code = #{orderCode}
</if>
<if
test=
"customerProjectNo != null and customerProjectNo !=''"
>
and pw.customer_project_no = #{customerProjectNo}
</if>
<if
test=
"customerProjectNo != null and customerProjectNo !=''"
>
and pw.customer_project_no = #{customerProjectNo}
</if>
<if
test=
"workOrderStatus != null and workOrderStatus !=''"
>
and pw.status = #{workOrderStatus}
</if>
<if
test=
"workOrderStatus != null"
>
and
<foreach
collection=
"workOrderStatus"
item=
"status"
separator=
" or "
open=
"("
close=
")"
>
pw.status = #{status}
</foreach>
</if>
<if
test=
"lineName != null and lineName !=''"
>
and item.line_name = #{lineName}
</if>
<if
test=
"lineName != null and lineName !=''"
>
and item.line_name = #{lineName}
</if>
</where>
</where>
GROUP BY
GROUP BY
...
...
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