提交 0f3d7d43 编写于 作者: zhouweidong's avatar zhouweidong

继承属性时间类型反序列化问题

上级 5c28d5e4
...@@ -40,7 +40,7 @@ public class ${item.codeName}SearchContext extends QueryWrapperContext<${item.co ...@@ -40,7 +40,7 @@ public class ${item.codeName}SearchContext extends QueryWrapperContext<${item.co
<#list defield.getAllPSDEFSearchModes() as formitem> <#list defield.getAllPSDEFSearchModes() as formitem>
<#if formitem.getPSDEField()??> <#if formitem.getPSDEField()??>
<#assign formItemDataType=srfr7javatype(formitem.getPSDEField().stdDataType)> <#assign formItemDataType=srfr7javatype(formitem.getPSDEField().stdDataType)>
<#assign stdDataType=formitem.getPSDEField().stdDataType> <#assign stdDataType=srfdatatype(formitem.getPSDEField().stdDataType)>
<#assign defDataType=formitem.getPSDEField().getDataType()> <#assign defDataType=formitem.getPSDEField().getDataType()>
<#comment>in条件通过String接,通过split拆后再进行查询</#comment> <#comment>in条件通过String接,通过split拆后再进行查询</#comment>
<#if formitem.getValueOp() == "IN" || formitem.getValueOp() == "ISNULL" || formitem.getValueOp() == "ISNOTNULL"> <#if formitem.getValueOp() == "IN" || formitem.getValueOp() == "ISNULL" || formitem.getValueOp() == "ISNOTNULL">
...@@ -155,7 +155,7 @@ public class ${item.codeName}SearchContext extends QueryBuildContext { ...@@ -155,7 +155,7 @@ public class ${item.codeName}SearchContext extends QueryBuildContext {
<#list defield.getAllPSDEFSearchModes() as formitem> <#list defield.getAllPSDEFSearchModes() as formitem>
<#if formitem.getPSDEField()??> <#if formitem.getPSDEField()??>
<#assign formItemDataType=srfr7javatype(formitem.getPSDEField().stdDataType)> <#assign formItemDataType=srfr7javatype(formitem.getPSDEField().stdDataType)>
<#assign stdDataType=formitem.getPSDEField().stdDataType> <#assign stdDataType=srfdatatype(formitem.getPSDEField().stdDataType)>
<#assign defDataType=formitem.getPSDEField().getDataType()> <#assign defDataType=formitem.getPSDEField().getDataType()>
<#comment>in条件通过String接,通过split拆后再进行查询</#comment> <#comment>in条件通过String接,通过split拆后再进行查询</#comment>
<#if formitem.getValueOp() == "IN" || formitem.getValueOp() == "ISNULL" || formitem.getValueOp() == "ISNOTNULL"> <#if formitem.getValueOp() == "IN" || formitem.getValueOp() == "ISNULL" || formitem.getValueOp() == "ISNOTNULL">
...@@ -256,7 +256,7 @@ public class ${item.codeName}SearchContext extends SearchContextBase { ...@@ -256,7 +256,7 @@ public class ${item.codeName}SearchContext extends SearchContextBase {
<#list defield.getAllPSDEFSearchModes() as formitem> <#list defield.getAllPSDEFSearchModes() as formitem>
<#if formitem.getPSDEField()??> <#if formitem.getPSDEField()??>
<#assign formItemDataType=srfr7javatype(formitem.getPSDEField().stdDataType)> <#assign formItemDataType=srfr7javatype(formitem.getPSDEField().stdDataType)>
<#assign stdDataType=formitem.getPSDEField().stdDataType> <#assign stdDataType=srfdatatype(formitem.getPSDEField().stdDataType)>
<#assign defDataType=formitem.getPSDEField().getDataType()> <#assign defDataType=formitem.getPSDEField().getDataType()>
<#if defDataType == "DATETIME" || stdDataType == "DATETIME"> <#if defDataType == "DATETIME" || stdDataType == "DATETIME">
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8") @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册