|
@@ -86,7 +86,7 @@ public class UpdateFtlMaker {
|
|
|
|
|
|
if (attrType.toLowerCase().contains("int")) {
|
|
|
sbSearch.append(space(12) + String.format("\t\t\t<option value=\"${key}\"%s>${globalDict['%s'][key]!}</option>\r\n",
|
|
|
- " ${(ret.model." + attrName + "?? && key==query." + attrName + "?c)?string( 'selected=\"selected\"','')}",
|
|
|
+ " ${(query." + attrName + "?? && key==query." + attrName + "?c)?string( 'selected=\"selected\"','')}",
|
|
|
attrName));
|
|
|
|
|
|
sb2.append(String.format(
|
|
@@ -102,7 +102,7 @@ public class UpdateFtlMaker {
|
|
|
attrName, attrName, attrName, attrName, attrName, attrName, attrName));
|
|
|
} else {
|
|
|
sbSearch.append(space(12) + String.format("\t\t\t<option value=\"${key}\"%s>${globalDict['%s'][key]!}</option>\r\n",
|
|
|
- " ${(ret.model." + attrName + "?? && key==query." + attrName + ")?string( 'selected=\"selected\"','')}",
|
|
|
+ " ${(query." + attrName + "?? && key==query." + attrName + ")?string( 'selected=\"selected\"','')}",
|
|
|
attrName));
|
|
|
|
|
|
sb2.append(String.format(
|