diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTeamStaffServiceImpl.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTeamStaffServiceImpl.java index ddc86a637..364c3dcb7 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTeamStaffServiceImpl.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataTeamStaffServiceImpl.java @@ -34,6 +34,7 @@ import org.springblade.core.tool.api.R; import org.springblade.core.tool.utils.BeanUtil; import org.springblade.system.entity.User; import org.springblade.system.feign.IUserClient; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.ArrayList; @@ -49,9 +50,10 @@ import java.util.List; @AllArgsConstructor public class BasicdataTeamStaffServiceImpl extends BaseServiceImpl implements IBasicdataTeamStaffService { - private final IBasicdataWarehouseService basicdataWarehouseService; - - private IUserClient userClient; + @Autowired + private IBasicdataWarehouseService basicdataWarehouseService; + @Autowired + private IUserClient userClient; @Override public IPage selectBasicdataTeamStaffPage(IPage page, BasicdataTeamStaffVO basicdataTeamStaff) { 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 8a387ec3b..56a31b68a 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 @@ -83,9 +83,6 @@ public class BasicdataWarehouseServiceImpl extends BaseServiceImpl selectWarehouseWarehousePage(IPage page, BasicdataWarehouseVO warehouseWarehouse) { return page.setRecords(baseMapper.selectWarehouseWarehousePage(page, warehouseWarehouse));