Fixed export of uuid reference.
This commit is contained in:
parent
cc04468c7d
commit
43c15413c2
|
@ -87,7 +87,7 @@ public class ReferenceUtils {
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
MTable table = MTable.get(Env.getCtx(), tableName);
|
MTable table = MTable.get(Env.getCtx(), tableName);
|
||||||
if (table.get_ColumnIndex(tableName + "_UU") >= 0 )
|
if (table.getColumn(tableName + "_UU") != null)
|
||||||
{
|
{
|
||||||
sql = "SELECT " + tableName + "_UU" + " FROM "
|
sql = "SELECT " + tableName + "_UU" + " FROM "
|
||||||
+ tableName + " WHERE " + keyColumn + " = ?";
|
+ tableName + " WHERE " + keyColumn + " = ?";
|
||||||
|
|
Loading…
Reference in New Issue