Skip to content

Commit 647a8f6

Browse files
author
lizhichao51
committed
[app-platform] 修改无意义字符
1 parent c24fb7a commit 647a8f6

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

app-builder/jane/plugins/aipp-plugin/src/main/java/modelengine/fit/jober/aipp/converters/impl/AppVersionToTemplateConverter.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,26 +36,26 @@ public Class<AppTemplate> target() {
3636
public AppTemplate convert(Object appVersion) {
3737
return Optional.ofNullable(appVersion)
3838
.map(ObjectUtils::<AppVersion>cast)
39-
.map(s -> AppTemplate.builder()
40-
.id(s.getData().getId())
41-
.name(s.getData().getName())
42-
.builtType(s.getData().getAppBuiltType())
43-
.appType(s.getData().getAppType())
44-
.category(s.getData().getAppCategory())
45-
.attributes(s.getAttributes())
39+
.map(appVersionObj -> AppTemplate.builder()
40+
.id(appVersionObj.getData().getId())
41+
.name(appVersionObj.getData().getName())
42+
.builtType(appVersionObj.getData().getAppBuiltType())
43+
.appType(appVersionObj.getData().getAppType())
44+
.category(appVersionObj.getData().getAppCategory())
45+
.attributes(appVersionObj.getAttributes())
4646
.like(0)
4747
.collection(0)
4848
.usage(0)
4949
.version("1.0.0")
50-
.configId(s.getData().getConfigId())
51-
.flowGraphId(s.getData().getFlowGraphId())
52-
.createBy(s.getData().getCreateBy())
53-
.createAt(s.getData().getCreateAt())
54-
.updateBy(s.getData().getUpdateBy())
55-
.updateAt(s.getData().getUpdateAt())
56-
.config(s.getConfig())
57-
.flowGraph(s.getFlowGraph())
58-
.formProperties(s.getFormProperties())
50+
.configId(appVersionObj.getData().getConfigId())
51+
.flowGraphId(appVersionObj.getData().getFlowGraphId())
52+
.createBy(appVersionObj.getData().getCreateBy())
53+
.createAt(appVersionObj.getData().getCreateAt())
54+
.updateBy(appVersionObj.getData().getUpdateBy())
55+
.updateAt(appVersionObj.getData().getUpdateAt())
56+
.config(appVersionObj.getConfig())
57+
.flowGraph(appVersionObj.getFlowGraph())
58+
.formProperties(appVersionObj.getFormProperties())
5959
.build())
6060
.orElse(null);
6161
}

0 commit comments

Comments
 (0)