Your Name преди 3 години
родител
ревизия
40be63132f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      service-store/src/main/java/com/java110/store/bmo/allocation/impl/AllocationBMOImpl.java

+ 1 - 1
service-store/src/main/java/com/java110/store/bmo/allocation/impl/AllocationBMOImpl.java

@@ -120,7 +120,7 @@ public class AllocationBMOImpl implements IAllocationBMO {
 
         resourceStorePo = new ResourceStorePo();
         resourceStorePo.setResId(resourceStoreDtoZs.get(0).getResId());
-        resourceStorePo.setStoreId(resourceStoreDtoZs.get(0).getResId());
+        resourceStorePo.setStoreId(resourceStoreDtoZs.get(0).getStoreId());
         resourceStorePo.setStock(allocationStock + "");// 这里去扣出
         resourceStoreInnerServiceSMOImpl.updateResourceStore(resourceStorePo);