From 3a8da212516aa11ba2a7d95c91dc87815fb23740 Mon Sep 17 00:00:00 2001 From: ruanqi Date: Thu, 13 Apr 2023 17:24:24 +0800 Subject: [PATCH] =?UTF-8?q?0412=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/production/entity/SfdcCancel.java | 1 + .../service/impl/DailyPlanServiceImpl.java | 5 +++- src/main/resources/mapper/pad/PadMapper.xml | 4 +-- .../mapper/production/AbnormalMapper.xml | 2 +- .../mapper/production/DailyPlanMapper.xml | 2 +- .../static/js/pOReceipt/partInspect.js | 2 +- .../resources/templates/pda/IssueReturn3.ftl | 30 +++++++++++++++++++ 7 files changed, 40 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/heai/modules/production/entity/SfdcCancel.java b/src/main/java/com/heai/modules/production/entity/SfdcCancel.java index b00d7ba..2011999 100644 --- a/src/main/java/com/heai/modules/production/entity/SfdcCancel.java +++ b/src/main/java/com/heai/modules/production/entity/SfdcCancel.java @@ -12,6 +12,7 @@ public class SfdcCancel { private String site; private String orderNo; private Double itemNo; + private Double stopTime; private String operationDesc; private Integer seqNo; private String partNo; diff --git a/src/main/java/com/heai/modules/production/service/impl/DailyPlanServiceImpl.java b/src/main/java/com/heai/modules/production/service/impl/DailyPlanServiceImpl.java index c493cb7..6a2d511 100644 --- a/src/main/java/com/heai/modules/production/service/impl/DailyPlanServiceImpl.java +++ b/src/main/java/com/heai/modules/production/service/impl/DailyPlanServiceImpl.java @@ -1074,7 +1074,10 @@ public class DailyPlanServiceImpl implements DailyPlanService { //判断是否群发所有部门异常信息 通过沟通看板,abnormalUser 表设定群发人员 if("Y".equals(abList.get(0).getNeedInspectFlag())){ Date date=DateUtil.getDateToDate(new Date(),"yyyy-MM-dd"); - TaskDto taskDto=abnormalMapper.getOriginator(); + // TaskDto taskDto=abnormalMapper.getOriginator(); + TaskDto taskDto=new TaskDto(); + taskDto.setSite(inData.getSite()); + taskDto.setCreatedBy(inData.getFeedbackBy()); taskDto.setCustomer(inData.getSeqNo().toString()); taskDto.setProject("异常反馈"); taskDto.setFinalStatus("未完成"); diff --git a/src/main/resources/mapper/pad/PadMapper.xml b/src/main/resources/mapper/pad/PadMapper.xml index c94ea8f..efb977a 100644 --- a/src/main/resources/mapper/pad/PadMapper.xml +++ b/src/main/resources/mapper/pad/PadMapper.xml @@ -97,8 +97,8 @@ diff --git a/src/main/resources/mapper/production/AbnormalMapper.xml b/src/main/resources/mapper/production/AbnormalMapper.xml index 1713ab1..941a2f3 100644 --- a/src/main/resources/mapper/production/AbnormalMapper.xml +++ b/src/main/resources/mapper/production/AbnormalMapper.xml @@ -79,6 +79,6 @@ select a.site,a.userId AS responsiblePerson,b.department,#{createdBy} as CreatedBy,GetDate() as createdDate,'未完成' as finalStatus ,'未受理' as status FROM AbnormalUser a left join [Users] b on a.userId=b.userID and a.site=b.site - WHERE a.Originator='N' and b.department is not null + WHERE a.userId!=#{createdBy} and b.department is not null \ No newline at end of file diff --git a/src/main/resources/mapper/production/DailyPlanMapper.xml b/src/main/resources/mapper/production/DailyPlanMapper.xml index 6c84132..c7556d0 100644 --- a/src/main/resources/mapper/production/DailyPlanMapper.xml +++ b/src/main/resources/mapper/production/DailyPlanMapper.xml @@ -867,7 +867,7 @@ + + +
+ +
+ + + + + +