From 9a414349a04df9f20f1f9d41c21bee616a046a53 Mon Sep 17 00:00:00 2001 From: gaowdong Date: Thu, 19 Jun 2025 09:13:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=99=BA=E6=85=A7=E5=8E=A8=E6=88=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/kitchen/service/impl/KitchenStaffInfoServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/kitchen/service/impl/KitchenStaffInfoServiceImpl.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/kitchen/service/impl/KitchenStaffInfoServiceImpl.java index 4e23acb..df81776 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/kitchen/service/impl/KitchenStaffInfoServiceImpl.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/kitchen/service/impl/KitchenStaffInfoServiceImpl.java @@ -13,6 +13,7 @@ import com.bonus.canteen.core.kitchen.domain.constants.HealthCertStatusEnum; import com.bonus.canteen.core.kitchen.mapper.KitchenDeviceInfoMapper; import com.bonus.canteen.core.kitchen.mapper.KitchenStaffDevicePrivilegeMapper; import com.bonus.canteen.core.kitchen.service.IKitchenStaffDevicePrivilegeService; +import com.bonus.canteen.core.kitchen.vo.KitchenDeviceListVO; import com.bonus.canteen.core.user.domain.UserFace; import com.bonus.canteen.core.user.service.IUserFaceService; import com.bonus.common.core.exception.ServiceException; @@ -62,7 +63,7 @@ public class KitchenStaffInfoServiceImpl implements IKitchenStaffInfoService { if(CollUtil.isNotEmpty(kitchenStaffDevicePrivilegeList)) { AccessAuthority accessAuthority = new AccessAuthority(); for (KitchenStaffDevicePrivilege kitchenStaffDevicePrivilege : kitchenStaffDevicePrivilegeList) { - KitchenDeviceInfo deviceInfo = kitchenDeviceInfoMapper.selectKitchenDeviceInfoByDeviceId(kitchenStaffDevicePrivilege.getDeviceId()); + KitchenDeviceListVO deviceInfo = kitchenDeviceInfoMapper.selectKitchenDeviceInfoByDeviceId(kitchenStaffDevicePrivilege.getDeviceId()); if(Objects.nonNull(deviceInfo)) { accessAuthority.setDeviceName(deviceInfo.getDeviceName()); accessAuthority.setLocation(deviceInfo.getSubPlace());