Browse Source

修复temp 错误

zhouhao 6 years ago
parent
commit
8acf977cab

+ 1 - 1
hsweb-system/hsweb-system-organizational/hsweb-system-organizational-local/src/main/java/org/hswebframework/web/service/organizational/simple/terms/UserInPositionSqlTerm.java

@@ -55,7 +55,7 @@ public class UserInPositionSqlTerm extends UserInSqlTerm {
         List<Object> positionIdList = BoostTermTypeMapper.convertList(column, termValue.getOld());
         if (!positionIdList.isEmpty()) {
             appender.addSpc("and");
-            termValue.setValue(appendCondition(positionIdList, wherePrefix, appender, "tmp_.position_id"));
+            termValue.setValue(appendCondition(positionIdList, wherePrefix, appender, "_tmp.position_id"));
         }
 
         appender.add(")");