From 068fde7238049565d12b39b28e02b0202264910f Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 31 八月 2023 17:29:27 +0800
Subject: [PATCH] 优化代码权限

---
 service-store/src/main/java/com/java110/store/bmo/allocation/impl/AllocationBMOImpl.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/service-store/src/main/java/com/java110/store/bmo/allocation/impl/AllocationBMOImpl.java b/service-store/src/main/java/com/java110/store/bmo/allocation/impl/AllocationBMOImpl.java
index b0a34f6..f6a9236 100644
--- a/service-store/src/main/java/com/java110/store/bmo/allocation/impl/AllocationBMOImpl.java
+++ b/service-store/src/main/java/com/java110/store/bmo/allocation/impl/AllocationBMOImpl.java
@@ -106,6 +106,7 @@
             tmpResourceStorePo.setResId(GenerateCodeFactory.getGeneratorId("11"));
             tmpResourceStorePo.setStock(allocationStock + "");
             tmpResourceStorePo.setShId(tmpAllocationStorehouseDto.getShIdz());
+            tmpResourceStorePo.setCommunityId(resourceStoreDtoZs.get(0).getCommunityId());
             resourceStoreV1InnerServiceSMOImpl.saveResourceStore(tmpResourceStorePo);
 
             // todo 娣诲姞 times
@@ -113,6 +114,7 @@
             tmpResourceStoreTimesPo.setTimesId(GenerateCodeFactory.getGeneratorId("11"));
             tmpResourceStoreTimesPo.setStock(allocationStock + "");
             tmpResourceStoreTimesPo.setShId(tmpAllocationStorehouseDto.getShIdz());
+            tmpResourceStoreTimesPo.setCommunityId(resourceStoreDtoZs.get(0).getCommunityId());
 
             resourceStoreTimesV1InnerServiceSMOImpl.saveResourceStoreTimes(tmpResourceStoreTimesPo);
             return;

--
Gitblit v1.8.0