Commit b41564e7 authored by alex yao's avatar alex yao

fix:【【POE】-【首页】模型未开启上传文件或上传图片功能,页面应不显示上传文件或上传图片功能】--bug==1009875

parent 549c6d87
...@@ -42,6 +42,19 @@ public class SearchAgentApplicationDto implements Serializable { ...@@ -42,6 +42,19 @@ public class SearchAgentApplicationDto implements Serializable {
*/ */
private BigDecimal points; private BigDecimal points;
/**
* is_document_parsing
* 是否开启文档解析 1、Y 是 2、N 否
*/
private java.lang.String isDocumentParsing;
/**
* unit_ids
* 组件ID
*/
private java.lang.String[] unitIds;
public String getAgentId() { public String getAgentId() {
return agentId; return agentId;
} }
...@@ -97,4 +110,20 @@ public class SearchAgentApplicationDto implements Serializable { ...@@ -97,4 +110,20 @@ public class SearchAgentApplicationDto implements Serializable {
public void setPoints(BigDecimal points) { public void setPoints(BigDecimal points) {
this.points = points; this.points = points;
} }
public String getIsDocumentParsing() {
return isDocumentParsing;
}
public void setIsDocumentParsing(String isDocumentParsing) {
this.isDocumentParsing = isDocumentParsing;
}
public String[] getUnitIds() {
return unitIds;
}
public void setUnitIds(String[] unitIds) {
this.unitIds = unitIds;
}
} }
...@@ -164,6 +164,8 @@ public class AgentApplicationRestImpl implements AgentApplicationRest { ...@@ -164,6 +164,8 @@ public class AgentApplicationRestImpl implements AgentApplicationRest {
searchAgentApplicationDto.setAgentAvatar(value.getAgentAvatar()); searchAgentApplicationDto.setAgentAvatar(value.getAgentAvatar());
searchAgentApplicationDto.setPublishedTime(value.getModifiedTime()); searchAgentApplicationDto.setPublishedTime(value.getModifiedTime());
searchAgentApplicationDto.setCreator("官方"); searchAgentApplicationDto.setCreator("官方");
searchAgentApplicationDto.setIsDocumentParsing(value.getIsDocumentParsing());
searchAgentApplicationDto.setUnitIds(value.getUnitIds());
searchAgentApplicationDto.setPoints(new BigDecimal(pointDeductionNum).divide(new BigDecimal(100), 2, RoundingMode.HALF_UP)); searchAgentApplicationDto.setPoints(new BigDecimal(pointDeductionNum).divide(new BigDecimal(100), 2, RoundingMode.HALF_UP));
return searchAgentApplicationDto; return searchAgentApplicationDto;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment