File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
APIJSON-Java-Server/APIJSONORM/src/main/java/zuo/biao/apijson/server Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -1862,6 +1862,8 @@ public String getJoinString() throws Exception {
18621862
18631863 if (joinList != null ) {
18641864 String quote = getQuote ();
1865+ List <Object > pvl = new ArrayList <>();
1866+ boolean changed = false ;
18651867
18661868 String sql = null ;
18671869 SQLConfig jc ;
@@ -1898,7 +1900,10 @@ public String getJoinString() throws Exception {
18981900 + quote + tn + quote + "." + quote + j .getTargetKey () + quote ;
18991901 jc .setMain (false ).setKeyPrefix (true );
19001902
1901- preparedValueList .addAll (jc .getPreparedValueList ());
1903+ // preparedValueList.addAll(jc.getPreparedValueList());
1904+
1905+ pvl .addAll (jc .getPreparedValueList ());
1906+ changed = true ;
19021907 break ;
19031908
19041909 case "" : // FULL JOIN
@@ -1916,6 +1921,13 @@ public String getJoinString() throws Exception {
19161921
19171922 joinOns += " \n " + sql ;
19181923 }
1924+
1925+
1926+ if (changed ) {
1927+ pvl .addAll (preparedValueList );
1928+ preparedValueList = pvl ;
1929+ }
1930+
19191931 }
19201932
19211933 return joinOns ;
You can’t perform that action at this time.
0 commit comments