Tiroble 3 jaren geleden
bovenliggende
commit
c999e4a87d

+ 1 - 1
src/main/java/com/steerinfo/dil/service/impl/WmspOutboundResultServiceImpl.java

@@ -422,7 +422,7 @@ public class WmspOutboundResultServiceImpl  implements IWmspOutboundResultServic
 
 
     @Override
     @Override
     @Transactional(rollbackFor = Exception.class)
     @Transactional(rollbackFor = Exception.class)
-    public int sureOutbount(BigDecimal resultId) throws Exception {
+    public synchronized int sureOutbount(BigDecimal resultId) throws Exception {
         //查询提货单,没有确定出库物资类型集合
         //查询提货单,没有确定出库物资类型集合
         List<OutBoundTypeDetailedInfo> outBoundTypeDetailedInfos= wmspOutboundResultMaterialService.getOutBoundTypeDetailedInfo(resultId,1);
         List<OutBoundTypeDetailedInfo> outBoundTypeDetailedInfos= wmspOutboundResultMaterialService.getOutBoundTypeDetailedInfo(resultId,1);
         //查询出库扫描实绩,并且在实时库存没有删除的出库扫描实绩
         //查询出库扫描实绩,并且在实时库存没有删除的出库扫描实绩