|
|
@@ -59,8 +59,9 @@ public class WashDeviceServiceImpl extends MyBaseServiceImpl<WashDeviceMapper, W
|
|
|
.orderByAsc(WashDevice::getDeviceName)
|
|
|
.list();
|
|
|
var voList = new ArrayList<WashDeviceVo>();
|
|
|
+ var currentUserId = StpUtil.getLoginIdAsLong();
|
|
|
for (WashDevice washDevice : list) {
|
|
|
- var vo = new WashDeviceVo();
|
|
|
+ var vo = new WashDeviceVo().setCurrentUserId(currentUserId);
|
|
|
BeanUtils.copyProperties(washDevice, vo);
|
|
|
vo.setShortId(KymCache.INSTANCE.getShortIdByProductKeyAndDeviceName(washDevice.getProductKey(), washDevice.getDeviceName()));
|
|
|
voList.add(vo);
|