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
63fdb315
Commit
63fdb315
authored
Jan 14, 2025
by
温志超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新生产排产BUG
parent
779bbc8d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
WorkOrderProgressRequest.java
...om/ximai/mes/report/request/WorkOrderProgressRequest.java
+7
-0
ProWorkorderMapper.xml
.../resources/mapper/pro/proWorkOrder/ProWorkorderMapper.xml
+3
-0
No files found.
mes/src/main/java/com/ximai/mes/report/request/WorkOrderProgressRequest.java
View file @
63fdb315
...
...
@@ -40,4 +40,11 @@ public class WorkOrderProgressRequest {
*/
@ApiModelProperty
(
"产品名称"
)
private
String
productName
;
@ApiModelProperty
(
"工单状态"
)
private
String
workOrderStatus
;
@ApiModelProperty
(
"产线"
)
private
String
lineName
;
}
mes/src/main/resources/mapper/pro/proWorkOrder/ProWorkorderMapper.xml
View file @
63fdb315
...
...
@@ -267,12 +267,15 @@
pro_workorder pw
LEFT JOIN pro_feedback fe ON fe.workorder_id = pw.workorder_id
left join pro_task task on task.task_id = fe.task_id
left join md_item item on item.item_id = pw.product_id
<where>
<if
test=
"workorderCode != null and workorderCode != ''"
>
and pw.workorder_code = #{workorderCode}
</if>
<if
test=
"productId != null "
>
and pw.product_id = #{productId}
</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=
"customerProjectNo != null and customerProjectNo !=''"
>
and pw.customer_project_no = #{customerProjectNo}
</if>
<if
test=
"workOrderStatus != null and workOrderStatus !=''"
>
and pw.status = #{workOrderStatus}
</if>
<if
test=
"lineName != null and lineName !=''"
>
and item.line_name = #{lineName}
</if>
</where>
GROUP BY
pw.workorder_id,
...
...
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