Tiroble 3 年之前
父节点
当前提交
c999e4a87d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/steerinfo/dil/service/impl/WmspOutboundResultServiceImpl.java

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

@@ -422,7 +422,7 @@ public class WmspOutboundResultServiceImpl  implements IWmspOutboundResultServic
 
     @Override
     @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);
         //查询出库扫描实绩,并且在实时库存没有删除的出库扫描实绩