Fix generation of JSON field validation for short type. (#1549)
This commit is contained in:
parent
122a42cd4f
commit
5df4db96a5
|
@ -1492,7 +1492,7 @@ if(!col.notNull_){%>
|
||||||
}
|
}
|
||||||
<%c++
|
<%c++
|
||||||
}
|
}
|
||||||
else if(col.colType_.find("int") == 0)
|
else if(col.colType_.find("int") == 0 || col.colType_ == "short")
|
||||||
{
|
{
|
||||||
%>
|
%>
|
||||||
if(!pJson.isInt())
|
if(!pJson.isInt())
|
||||||
|
|
Loading…
Reference in New Issue