File tree 1 file changed +13
-1
lines changed
APIJSON-Java-Server/APIJSONORM/src/main/java/zuo/biao/apijson/server
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 {
1862
1862
1863
1863
if (joinList != null ) {
1864
1864
String quote = getQuote ();
1865
+ List <Object > pvl = new ArrayList <>();
1866
+ boolean changed = false ;
1865
1867
1866
1868
String sql = null ;
1867
1869
SQLConfig jc ;
@@ -1898,7 +1900,10 @@ public String getJoinString() throws Exception {
1898
1900
+ quote + tn + quote + "." + quote + j .getTargetKey () + quote ;
1899
1901
jc .setMain (false ).setKeyPrefix (true );
1900
1902
1901
- preparedValueList .addAll (jc .getPreparedValueList ());
1903
+ // preparedValueList.addAll(jc.getPreparedValueList());
1904
+
1905
+ pvl .addAll (jc .getPreparedValueList ());
1906
+ changed = true ;
1902
1907
break ;
1903
1908
1904
1909
case "" : // FULL JOIN
@@ -1916,6 +1921,13 @@ public String getJoinString() throws Exception {
1916
1921
1917
1922
joinOns += " \n " + sql ;
1918
1923
}
1924
+
1925
+
1926
+ if (changed ) {
1927
+ pvl .addAll (preparedValueList );
1928
+ preparedValueList = pvl ;
1929
+ }
1930
+
1919
1931
}
1920
1932
1921
1933
return joinOns ;
You can’t perform that action at this time.
0 commit comments