提交 68438012 编写于 作者: WodahsOrez's avatar WodahsOrez

lxm--数值属性默认值不带‘’

上级 d88946e0
...@@ -1406,7 +1406,8 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators'; ...@@ -1406,7 +1406,8 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
this.data['${formdetail.getCodeName()?lower_case}'] = this.context['srfuserid']; this.data['${formdetail.getCodeName()?lower_case}'] = this.context['srfuserid'];
<#else> <#else>
<#-- 默认值 --> <#-- 默认值 -->
this.data['${formdetail.getCodeName()?lower_case}'] = '${formdetail.getCreateDV()}'; <#assign datatype=srfjavatype(formdetail.getStdDataType())>
this.data['${formdetail.getCodeName()?lower_case}'] = <#if datatype=='BigInteger' || datatype=='Integer' || datatype=='Double' || datatype=='Decimal' || datatype=='Float' || datatype=='BigDecimal'>${formdetail.getCreateDV()}<#else>'${formdetail.getCreateDV()}'</#if>;
</#if> </#if>
} }
</#if> </#if>
...@@ -1440,7 +1441,8 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators'; ...@@ -1440,7 +1441,8 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
this.data['${formdetail.getCodeName()?lower_case}'] = this.context['srfuserid']; this.data['${formdetail.getCodeName()?lower_case}'] = this.context['srfuserid'];
<#else> <#else>
<#-- 默认值 --> <#-- 默认值 -->
this.data['${formdetail.getCodeName()?lower_case}'] = '${formdetail.getUpdateDV()}'; <#assign datatype=srfjavatype(formdetail.getStdDataType())>
this.data['${formdetail.getCodeName()?lower_case}'] = <#if datatype=='BigInteger' || datatype=='Integer' || datatype=='Double' || datatype=='Decimal' || datatype=='Float' || datatype=='BigDecimal'>${formdetail.getUpdateDV()}<#else>'${formdetail.getUpdateDV()}'</#if>;
</#if> </#if>
} }
</#if> </#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册