Browse Source

2022-05-07 产量报告日期的BUG

master
rui_li 4 years ago
parent
commit
7e13a44516
  1. 11
      src/main/java/com/gaotao/modules/schedule/service/impl/ScheduleServiceImpl.java

11
src/main/java/com/gaotao/modules/schedule/service/impl/ScheduleServiceImpl.java

@ -3484,6 +3484,9 @@ public class ScheduleServiceImpl implements ScheduleService {
String username = pageData.getUsername(); String username = pageData.getUsername();
String operatorId = pageData.getOperatorId(); String operatorId = pageData.getOperatorId();
Float defectedQty = pageData.getDefectedQty(); Float defectedQty = pageData.getDefectedQty();
String scheduledDate = pageData.getScheduledDate();
String shiftNo = pageData.getShiftDesc();
String currentTime = pageData.getReportedTime();
Float sfdcReportedQty = pageData.getSfdcReportedQty();//报告数量 Float sfdcReportedQty = pageData.getSfdcReportedQty();//报告数量
Float sfdcApprovedQty = pageData.getSfdcApprovedQty();//合格数量 Float sfdcApprovedQty = pageData.getSfdcApprovedQty();//合格数量
@ -3504,7 +3507,7 @@ public class ScheduleServiceImpl implements ScheduleService {
//1.调用存储过程 处理Sfdc和派工单 //1.调用存储过程 处理Sfdc和派工单
this.finishPartRollProcessSfdcAndSchedule(site, orderNo, itemNo, seqNo, rollNo, sfdcReportedQty, sfdcApprovedQty, this.finishPartRollProcessSfdcAndSchedule(site, orderNo, itemNo, seqNo, rollNo, sfdcReportedQty, sfdcApprovedQty,
sfdcSetupTime, sfdcProdTime, sfdcDownTime, eventTime, tillTime, remark, sfdcSetupTime, sfdcProdTime, sfdcDownTime, eventTime, tillTime, remark,
sfdcSetupDownTime, sfdcProdSetupTime, defectedQty, sfdcManufactureTime, operatorId);
sfdcSetupDownTime, sfdcProdSetupTime, defectedQty, sfdcManufactureTime, operatorId, currentTime, scheduledDate, shiftNo);
//2.调用存储过程 处理异常信息 //2.调用存储过程 处理异常信息
if ("Y".equalsIgnoreCase(exceptionFlag)) { if ("Y".equalsIgnoreCase(exceptionFlag)) {
this.finishRollProcessException(site, orderNo, itemNo, seqNo, rollNo, exceptionReason, username); this.finishRollProcessException(site, orderNo, itemNo, seqNo, rollNo, exceptionReason, username);
@ -3519,7 +3522,8 @@ public class ScheduleServiceImpl implements ScheduleService {
**/ **/
public void finishPartRollProcessSfdcAndSchedule(String site, String orderNo, Integer itemNo, String seqNo, String rollNo, Float sfdcReportedQty, Float sfdcApproveQty, public void finishPartRollProcessSfdcAndSchedule(String site, String orderNo, Integer itemNo, String seqNo, String rollNo, Float sfdcReportedQty, Float sfdcApproveQty,
Float sfdcSetupTime, Float sfdcProdTime, Float sfdcDownTime, String eventTime, String tillTime, String remark, Float sfdcSetupTime, Float sfdcProdTime, Float sfdcDownTime, String eventTime, String tillTime, String remark,
Float sfdcSetupDownTime, Float sfdcProdSetupTime, Float defectedQty, Float sfdcManufactureTime, String username) {
Float sfdcSetupDownTime, Float sfdcProdSetupTime, Float defectedQty, Float sfdcManufactureTime, String username,
String currentTime, String scheduledDate, String shiftNo) {
List<Object> params = new ArrayList<>(); List<Object> params = new ArrayList<>();
params.add(site); params.add(site);
params.add(orderNo); params.add(orderNo);
@ -3541,6 +3545,9 @@ public class ScheduleServiceImpl implements ScheduleService {
params.add(defectedQty); params.add(defectedQty);
params.add(sfdcManufactureTime); params.add(sfdcManufactureTime);
params.add(username); params.add(username);
params.add(currentTime);
params.add(scheduledDate);
params.add(shiftNo);
//执行存储过程 //执行存储过程
procedureMapper.execProduceData("finishPartRollProcessSfdcAndSchedule", params); procedureMapper.execProduceData("finishPartRollProcessSfdcAndSchedule", params);
} }

Loading…
Cancel
Save