提交 b654a0f4 authored 作者: zhoushaopan's avatar zhoushaopan

fix(配套设备模块): 修改了日志存储问题

修改了日志存储问题
上级 b6468c5e
......@@ -881,9 +881,8 @@ public class MatchingDeviceController {
MatchingDeviceLibrary matchingDeviceLibrary = matchingDeviceLibraryService.getOne(integer);
Integer dataStorageLocationId = matchingDeviceLibrary.getMatchingDeviceStorageLocationId();
if (!storageLocationId.equals(dataStorageLocationId)) {
String remark = matchingDeviceLibrary.getMatchingDeviceStorageLocation() == null ? "空" : matchingDeviceLibrary.getMatchingDeviceStorageLocation();
DeviceLogDto deviceLogDto = new DeviceLogDto(integer, "将存放位置修改为" +
remark, null, userId);
locationVO.getMatchingDeviceStorageLocationName(), null, userId);
deviceLogDto.setType(1);
deviceLogDtos.add(deviceLogDto);
matchingDeviceLibrary.setMatchingDeviceStorageLocationId(storageLocationId);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论