|
|
|
@ -294,6 +294,19 @@ public class ScheduleServiceImpl implements ScheduleService { |
|
|
|
return scheduleMapper.getOrderBomByCon(inData); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public void updateOrderBomRemark(String site, String orderNo, List<Map<String, Object>> bomList) { |
|
|
|
if (bomList != null && !bomList.isEmpty()) { |
|
|
|
for (Map<String, Object> item : bomList) { |
|
|
|
Integer itemNo = item.get("itemNo") != null ? Integer.valueOf(item.get("itemNo").toString()) : null; |
|
|
|
String remark = item.get("remark") != null ? item.get("remark").toString() : ""; |
|
|
|
if (itemNo != null) { |
|
|
|
scheduleMapper.updateOrderBomRemark(site, orderNo, itemNo, remark); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public List<SfdcMaterialData> getSfdcMaterialByCon(SearchScheduleData inData) { |
|
|
|
//判断是否查询当前卷的 |
|
|
|
@ -2817,6 +2830,17 @@ public class ScheduleServiceImpl implements ScheduleService { |
|
|
|
if (inData.getRemark() != null && !inData.getRemark().trim().isEmpty()) { |
|
|
|
scheduleMapper.updateSOScheduledRoutingRemark(inData); |
|
|
|
} |
|
|
|
//4.6 更新材料清单的备注信息 |
|
|
|
List<Map<String, Object>> bomList = inData.getBomList(); |
|
|
|
if (bomList != null && !bomList.isEmpty()) { |
|
|
|
for (Map<String, Object> item : bomList) { |
|
|
|
Integer bomItemNo = item.get("itemNo") != null ? Integer.valueOf(item.get("itemNo").toString()) : null; |
|
|
|
String bomRemark = item.get("remark") != null ? item.get("remark").toString() : ""; |
|
|
|
if (bomItemNo != null) { |
|
|
|
scheduleMapper.updateOrderBomRemark(site, orderNo, bomItemNo, bomRemark); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
//5.调用存储过程处理 transHeader TransDetail TransDetailSub数据 |
|
|
|
this.finishScheduleProcessTransData(site, orderNo, itemNo, seqNo, username, operatorName, reportedTime); |
|
|
|
//6.调用存储过程 处理异常信息 |
|
|
|
|