Browse Source

栈板出立库

master
常熟吴彦祖 3 months ago
parent
commit
c7c950bc0d
  1. 14
      src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java

14
src/main/java/com/gaotao/modules/automatedWarehouse/service/impl/WcsIntegrationServiceImpl.java

@ -975,16 +975,20 @@ public class WcsIntegrationServiceImpl implements WcsIntegrationService {
Integer soreType=palletInfo.getWcsSoreType();
String autoSort = palletInfo.getAutoSort();
boolean isAutoSort = "Y".equals(autoSort);
//获取栈板里面增量数据
List<PalletDetailData> newDetail=wcsIntegrationMapper.getPalletDetailsNewDetail(site, palletId);
if(newDetail.isEmpty()){
return;
}
//组盘里面判断 结束组盘 才会修改栈板不可用标记
if("Y".equals(endFlag)) {
String username = ((SysUserEntity) SecurityUtils.getSubject().getPrincipal()).getUsername();
// 更新栈板calling_flag为Y
wcsIntegrationMapper.updatePalletCallingFlag(site, palletId, "Y", username);
}
//获取栈板里面增量数据
List<PalletDetailData> newDetail=wcsIntegrationMapper.getPalletDetailsNewDetail(site, palletId);
if(newDetail.isEmpty()){
return;
}else {
//如果是分次组托 说明在分拣 需要查下是否有相关订单
}
//有常用料就有这个标记
boolean hasCommonlyUsed = newDetail.stream()

Loading…
Cancel
Save