Browse Source

2025-12-04

领料申请管理优化
master
fengyuan_yang 1 month ago
parent
commit
57ac278b4a
  1. 1
      src/main/java/com/gaotao/modules/orderIssure/entity/SOIssueNotifyHeaderData.java
  2. 8
      src/main/resources/mapper/orderIssure/IssureNotifyMapper.xml

1
src/main/java/com/gaotao/modules/orderIssure/entity/SOIssueNotifyHeaderData.java

@ -21,6 +21,7 @@ public class SOIssueNotifyHeaderData extends SOIssueNotifyHeader {
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date endDate;
private List<String> workShopList;
private List<String> workCenterNoList;
private String workShopId;
private String buDesc;
private String userDisplay;

8
src/main/resources/mapper/orderIssure/IssureNotifyMapper.xml

@ -255,7 +255,7 @@
a.work_center_no,
w.WorkCenterDesc as workCenterDesc
from SOIssueNotifyHeader a
left join workcenter w on a.site = w.site and a.bu = a.bu_no and a.work_center_no = w.WorkCenterNo
left join workcenter w on a.site = w.site and a.bu = w.bu_no and a.work_center_no = w.WorkCenterNo
<where>
a.site in (select site from AccessSite where userID = #{query.loginUserName})
and bu in (select bu_no from AccessBu where username = #{query.loginUserName})
@ -274,6 +274,12 @@
<if test="query.issueResult != null and query.issueResult != ''">
AND a.issueResult LIKE '%' + #{query.issueResult} + '%'
</if>
<if test="query.workCenterNoList != null and query.workCenterNoList.size() > 0">
AND a.work_center_no IN
<foreach collection="query.workCenterNoList" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
<if test="query.startDate != null">
AND a.NotifyDate >= #{query.startDate}
</if>

Loading…
Cancel
Save