增加上传人和上传时间字段
This commit is contained in:
parent
f159763290
commit
6f2587611c
|
|
@ -55,6 +55,12 @@ public class DevTemplateVo {
|
||||||
@ApiModelProperty(value = "上架数量")
|
@ApiModelProperty(value = "上架数量")
|
||||||
private Integer deviceCount;
|
private Integer deviceCount;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "上传人")
|
||||||
|
private String uploadUser;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "上传时间")
|
||||||
|
private String uploadTime;
|
||||||
|
|
||||||
@Excel(name = "唯一标识符")
|
@Excel(name = "唯一标识符")
|
||||||
@ApiModelProperty(value = "设备唯一标识符")
|
@ApiModelProperty(value = "设备唯一标识符")
|
||||||
private String identifyCode;
|
private String identifyCode;
|
||||||
|
|
|
||||||
|
|
@ -1000,6 +1000,8 @@ public class DevInfoServiceImpl implements DevInfoService {
|
||||||
if (!CollectionUtils.isEmpty(dtoList)) {
|
if (!CollectionUtils.isEmpty(dtoList)) {
|
||||||
devTemplateVo.setTableList(dtoList);
|
devTemplateVo.setTableList(dtoList);
|
||||||
}
|
}
|
||||||
|
devTemplateVo.setUploadUser(SecurityUtils.getLoginUser().getSysUser().getUserName());
|
||||||
|
devTemplateVo.setUploadTime(DateUtils.dateTime());
|
||||||
templateVos.add(devTemplateVo);
|
templateVos.add(devTemplateVo);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue