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
b3f9d43e
Commit
b3f9d43e
authored
Oct 30, 2024
by
温志超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新工单查询
parent
5e3f00ff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
ProWorkorderController.java
...s/pro/controller/proWorkOrder/ProWorkorderController.java
+8
-0
ProWorkorderQuery.java
...n/java/com/ximai/mes/pro/domain/vo/ProWorkorderQuery.java
+3
-1
ProWorkorderMapper.xml
.../resources/mapper/pro/proWorkOrder/ProWorkorderMapper.xml
+2
-0
No files found.
mes/src/main/java/com/ximai/mes/pro/controller/proWorkOrder/ProWorkorderController.java
View file @
b3f9d43e
...
...
@@ -109,6 +109,14 @@ public class ProWorkorderController extends BaseController {
public
TableDataInfo
<
ProWorkorder
>
scheduleList
(
ProWorkorderQuery
proWorkorder
)
{
startPage
();
QueryWrapper
<
ProWorkorder
>
query
=
new
QueryWrapper
<>();
query
.
like
(
StringUtils
.
isNotEmpty
(
proWorkorder
.
getOrderCode
()),
"t1.order_code"
,
proWorkorder
.
getOrderCode
());
query
.
like
(
StringUtils
.
isNotEmpty
(
proWorkorder
.
getOrderSerial
()),
"t1.order_serial"
,
proWorkorder
.
getOrderSerial
());
query
.
like
(
StringUtils
.
isNotEmpty
(
proWorkorder
.
getCustomerProjectNo
()),
"t1.customer_project_no"
,
proWorkorder
.
getCustomerProjectNo
());
query
.
like
(
StringUtils
.
isNotEmpty
(
proWorkorder
.
getWorkorderCode
()),
"t1.workorder_code"
,
proWorkorder
.
getWorkorderCode
());
query
.
like
(
StringUtils
.
isNotEmpty
(
proWorkorder
.
getProductCode
()),
"t1.product_code"
,
...
...
mes/src/main/java/com/ximai/mes/pro/domain/vo/ProWorkorderQuery.java
View file @
b3f9d43e
...
...
@@ -229,9 +229,11 @@ public class ProWorkorderQuery extends BaseEntity {
private
String
parentId
;
@ApiModelProperty
(
"订单单号"
)
private
String
orderCode
;
@ApiModelProperty
(
"订单序号"
)
private
String
orderSerial
;
@ApiModelProperty
(
"项目号"
)
private
String
customerProjectNo
;
@TableField
(
exist
=
false
)
private
List
<
Long
>
workorderIds
;
...
...
mes/src/main/resources/mapper/pro/proWorkOrder/ProWorkorderMapper.xml
View file @
b3f9d43e
...
...
@@ -130,6 +130,8 @@
<if
test=
"parentId != null "
>
and pw.parent_id = #{parentId}
</if>
<if
test=
"status != null and status != ''"
>
and pw.status = #{status}
</if>
<if
test=
"arrangeCode != null and arrangeCode !=''"
>
and pw.arrange_code = #{arrangeCode}
</if>
<if
test=
"customerProjectNo != null and customerProjectNo !=''"
>
and pw.customer_project_no = #{customerProjectNo}
</if>
<if
test=
"orderSerial != null and orderSerial !=''"
>
and pw.order_serial = #{orderSerial}
</if>
<if
test=
"statusArr != null"
>
and pw.status in
<foreach
item=
"status"
collection=
"statusArr"
open=
"("
separator=
","
close=
")"
>
#{status}
...
...
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