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

fix(配套设备模块): 新增了停用设备信息的单位id

新增了停用设备信息的单位id
上级 d191caeb
......@@ -600,6 +600,7 @@ public class MatchingDeviceController {
String remark = "将设备的文件改为" + matchingDeviceEditVo.getFileRet().getName();
DeviceLogDto deviceLogDto = new DeviceLogDto(1, matchingDeviceEditVo.getMatchingDeviceId(), remark, null, null);
m.setStatusJson(JacksonUtil.toJSon(matchingDeviceEditVo.getFileRet()));
m.setStopUnitId(userUtils.getCurrentUnitId());
deviceLogService.addLog(deviceLogDto);
}
......
......@@ -152,7 +152,11 @@ public class MatchingDeviceLibrary {
@Column(name = "remake",columnDefinition = "TEXT")
private String remake;
@ApiModelProperty(value = "停用信息的文件")
@ApiModelProperty(value = "停用设备信息的单位id")
private Integer stopUnitId = 0;
@ApiModelProperty(value = "停用单位的id")
@Column(name = "status_json",columnDefinition = "TEXT")
private String statusJson;
@Transient
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论