File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
simplesql/src/main/java/com/simplesql/simplesql/config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ public Object execute() {
249249 if (functionParameter ) {
250250 if (fields [0 ] == null || fields [0 ].equals ("" ))
251251 columnFunction = "*" ;
252- SQLString = SQLString .replace ("*" ,"" ).replace (KEY_FUNCTION_PARAMETER , fields [0 ]);
252+ SQLString = SQLString .replace (fields [ 0 ] ,"" ).replace (KEY_FUNCTION_PARAMETER , ( CharSequence ) getString ( fields [0 ]) );
253253 }
254254 SQLString = SQLString + ";" ;
255255 List lstClasses = new ArrayList <>();
@@ -454,7 +454,7 @@ public boolean execute() {
454454 }
455455
456456 public Object getString (String string ) {
457- String s = "A;B;C;D;E;F;G;H;I;J;K;L;M;N;O;P;Q;R;S;T;U;V;W;X;Y;Z;a;b;c;d;d;e;f;g;h;i;j;k;l;m;n;o;p;q;r;s;t;u;v;w;x;y;z;\\ ;\\ " ;
457+ String s = "A;B;C;D;E;F;G;H;I;J;K;L;M;N;O;P;Q;R;S;T;U;V;W;X;Y;Z;a;b;c;d;d;e;f;g;h;i;j;k;l;m;n;o;p;q;r;s;t;u;v;w;x;y;z;\\ ;\\ * " ;
458458 String [] arrays = s .split (";" );
459459 for (String array : arrays ) {
460460 if (string .contains (array )) {
You can’t perform that action at this time.
0 commit comments