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 @@ + + +
+ +
+ + + + + +