diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataClientServiceImpl.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataClientServiceImpl.java index c5bce739d..e6721fc54 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataClientServiceImpl.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataClientServiceImpl.java @@ -38,6 +38,7 @@ import org.springblade.system.cache.DictBizCache; import org.springblade.system.entity.DictBiz; import org.springblade.system.feign.ISysClient; import org.springblade.system.feign.IUserClient; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @@ -53,22 +54,29 @@ import java.util.stream.Collectors; */ @Slf4j @Service -@AllArgsConstructor public class BasicdataClientServiceImpl extends BaseServiceImpl implements IBasicdataClientService { - private final IBasicdataHistoricalContractService basicdataHistoricalContractService; - private final IBasicdataStoreContactService basicdataStoreContactService; //联系人 - private final IBasicdataStoreBusinessService basicdataStoreBusinessService; - private final IBasicdataTripartiteMallService basicdataTripartiteMallService; //三方商场 - private final IBasicdataStorageServicesService basicdataStorageServicesService; //服务仓 - private final IBasicdataBrandService basicdataBrandService; //品牌 - private final IBasicdataStoreBrandService basicdataStoreBrandService; //品牌 - private final IBasicdataWarehouseService warehouseService; + @Autowired + private IBasicdataHistoricalContractService basicdataHistoricalContractService; + @Autowired + private IBasicdataStoreContactService basicdataStoreContactService; //联系人 + @Autowired + private IBasicdataStoreBusinessService basicdataStoreBusinessService; + @Autowired + private IBasicdataTripartiteMallService basicdataTripartiteMallService; //三方商场 + @Autowired + private IBasicdataStorageServicesService basicdataStorageServicesService; //服务仓 + @Autowired + private IBasicdataBrandService basicdataBrandService; //品牌 + @Autowired + private IBasicdataStoreBrandService basicdataStoreBrandService; //品牌 + @Autowired + private IBasicdataWarehouseService warehouseService; // private final IBasicdataClientUserService basicdataClientUserService; - - private final IUserClient userClient; + @Autowired + private IUserClient userClient; @Override public IPage selectBasicdataClientPage(IPage page, BasicdataClientVO basicdataClient) { diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataClientUserServiceImpl.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataClientUserServiceImpl.java index 7f3c82994..a2093cb1e 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataClientUserServiceImpl.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataClientUserServiceImpl.java @@ -25,6 +25,7 @@ import org.springblade.system.cache.DictBizCache; import org.springblade.system.entity.User; import org.springblade.system.entity.UserInfo; import org.springblade.system.feign.IUserClient; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.security.NoSuchAlgorithmException; @@ -33,16 +34,19 @@ import java.util.List; @Slf4j @Service -@AllArgsConstructor public class BasicdataClientUserServiceImpl extends BaseServiceImpl implements IBasicdataClientUserService { - private final IUserClient userClient; + @Autowired + private IUserClient userClient; - private final IBasicdataClientService basicdataClientService; + @Autowired + private IBasicdataClientService basicdataClientService; - private final IBasicdataStorageServicesService basicdataStorageServicesService; + @Autowired + private IBasicdataStorageServicesService basicdataStorageServicesService; - private final IBasicdataWarehouseService basicdataWarehouseService; + @Autowired + private IBasicdataWarehouseService basicdataWarehouseService; @Override public List getBasicdataClientUserEntityListByUserId(Long userId) { diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataWarehouseServiceImpl.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataWarehouseServiceImpl.java index c36a9ccc9..8a387ec3b 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataWarehouseServiceImpl.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataWarehouseServiceImpl.java @@ -50,6 +50,7 @@ import org.springblade.core.tool.utils.StringUtil; import org.springblade.system.cache.DictBizCache; import org.springblade.system.entity.Dept; import org.springblade.system.feign.IDeptClient; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @@ -63,23 +64,23 @@ import java.util.stream.Collectors; * @since 2023-05-15 */ @Service -@AllArgsConstructor @Log4j2 public class BasicdataWarehouseServiceImpl extends BaseServiceImpl implements IBasicdataWarehouseService { - private final BasicdataWarehouseMapper warehouseMapper; - - private final BasicdataGoodsAreaMapper goodsAreaMapper; - - private final IBasicdataWarehouseClient basicdataWarehouseService; - - private final IDeptClient deptClient; - - private final BladeRedis redis; - - private final IBasicdataClientUserService basicdataClientUserService; - - private final BasicdataStorageServicesMapper basicdataStorageServicesMapper; + @Autowired + private BasicdataWarehouseMapper warehouseMapper; + @Autowired + private BasicdataGoodsAreaMapper goodsAreaMapper; + @Autowired + private IBasicdataWarehouseClient basicdataWarehouseService; + @Autowired + private IDeptClient deptClient; + @Autowired + private BladeRedis redis; + @Autowired + private IBasicdataClientUserService basicdataClientUserService; + @Autowired + private BasicdataStorageServicesMapper basicdataStorageServicesMapper; // private