|
@@ -181,13 +181,13 @@ public class DynPageHelper { |
|
|
args.put(name, value); |
|
|
args.put(name, value); |
|
|
return field + " not in (:" + name + ") "; |
|
|
return field + " not in (:" + name + ") "; |
|
|
}); |
|
|
}); |
|
|
// mapBuilder.put(SwEnum.OptType.IN_CHILD.value, (opt, field, name, value, args, filter) -> { |
|
|
|
|
|
// ModelTable table = ModelTableCache.getInstance().get(filter.link); |
|
|
|
|
|
// if(table==null){ |
|
|
|
|
|
// return ""; |
|
|
|
|
|
// } |
|
|
|
|
|
// return TreeHelper.getTreeHelper(table.getName()).buildLikeFrSql(Long.parseLong(value.toString()),field); |
|
|
|
|
|
// }); |
|
|
|
|
|
|
|
|
mapBuilder.put(SwEnum.OptType.IN_CHILD.value, (opt, field, name, value, args, filter) -> { |
|
|
|
|
|
ModelTable table = ModelTableCache.getInstance().get(filter.link); |
|
|
|
|
|
if(table==null){ |
|
|
|
|
|
return ""; |
|
|
|
|
|
} |
|
|
|
|
|
return TreeHelper.getTreeHelper(table.getName()).buildLikeFrSql(Long.parseLong(value.toString()),field); |
|
|
|
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private static String buildSelFieldsSql(PageDataset dataSet, SqlNamedPara sqlNamedPara, IBuildSqlListener listener) { |
|
|
private static String buildSelFieldsSql(PageDataset dataSet, SqlNamedPara sqlNamedPara, IBuildSqlListener listener) { |
|
|