组态调整

This commit is contained in:
xy
2025-09-23 16:32:35 +08:00
parent 214f297297
commit ee07f7a5e2
2 changed files with 3 additions and 2 deletions

View File

@@ -31,7 +31,8 @@ public class CsPageVO {
private String pid; private String pid;
@ApiModelProperty(value="前端使用") @ApiModelProperty(value="前端使用")
private String kid; private String kId;
@ApiModelProperty(value="组态项目名称") @ApiModelProperty(value="组态项目名称")
private String configurationName; private String configurationName;

View File

@@ -123,7 +123,7 @@ public class CsPagePOServiceImpl extends ServiceImpl<CsPagePOMapper, CsPagePO> i
CsPageVO csPageVO = new CsPageVO(); CsPageVO csPageVO = new CsPageVO();
CsConfigurationPO csConfigurationPO = csConfigurationMapper.selectById(temp.getPid()); CsConfigurationPO csConfigurationPO = csConfigurationMapper.selectById(temp.getPid());
BeanUtils.copyProperties(temp, csPageVO); BeanUtils.copyProperties(temp, csPageVO);
csPageVO.setKid(temp.getKId()); csPageVO.setKId(temp.getKId());
csPageVO.setConfigurationName(csConfigurationPO.getName()); csPageVO.setConfigurationName(csConfigurationPO.getName());
InputStream fileStream = fileStorageUtil.getFileStream(temp.getPath()); InputStream fileStream = fileStorageUtil.getFileStream(temp.getPath());
String text = new BufferedReader( String text = new BufferedReader(