|
|
@ -907,6 +907,14 @@ public class NewIssureServiceImpl implements NewIssureService { |
|
|
taskSeq=0; |
|
|
taskSeq=0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 查询序列号的location_id,如果不是AS区域则直接标记为已出库 - rqrq |
|
|
|
|
|
String locationId = newIssureMapper.getSerialNoLocationId(site, serialNo); |
|
|
|
|
|
String outWcsFlag = "N"; |
|
|
|
|
|
if (locationId != null && !locationId.equals("AS")) { |
|
|
|
|
|
outWcsFlag = "Y"; |
|
|
|
|
|
System.out.println("序列号" + serialNo + "不在AS区域(location_id=" + locationId + "),直接标记为已出库 - rqrq"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
com.gaotao.modules.notify.entity.SOIssueNotifyOrderMaterialListDetail detail = |
|
|
com.gaotao.modules.notify.entity.SOIssueNotifyOrderMaterialListDetail detail = |
|
|
new com.gaotao.modules.notify.entity.SOIssueNotifyOrderMaterialListDetail(); |
|
|
new com.gaotao.modules.notify.entity.SOIssueNotifyOrderMaterialListDetail(); |
|
|
detail.setSite(site); |
|
|
detail.setSite(site); |
|
|
@ -917,7 +925,7 @@ public class NewIssureServiceImpl implements NewIssureService { |
|
|
detail.setTaskRef(taskNo); |
|
|
detail.setTaskRef(taskNo); |
|
|
detail.setTaskItem(1); |
|
|
detail.setTaskItem(1); |
|
|
detail.setTaskSeq(taskSeq); // 使用栈板对应的SeqNo - rqrq |
|
|
detail.setTaskSeq(taskSeq); // 使用栈板对应的SeqNo - rqrq |
|
|
detail.setOutWcsFlag("N"); |
|
|
|
|
|
|
|
|
detail.setOutWcsFlag(outWcsFlag); // 根据location_id判断 - rqrq |
|
|
detail.setIssureFlag("N"); |
|
|
detail.setIssureFlag("N"); |
|
|
detail.setOrderType("shoporder"); |
|
|
detail.setOrderType("shoporder"); |
|
|
detailList.add(detail); |
|
|
detailList.add(detail); |
|
|
|