hjp před 3 týdny
rodič
revize
73481449ef
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/main/resources/mapper/app/UserDao.xml

+ 1 - 1
src/main/resources/mapper/app/UserDao.xml

@@ -22,7 +22,7 @@
                 and u.user_type=#{userEntity.userType}
             </if>
             <if test="userEntity.userType!=null and userEntity.userType==2">
-                and u.user_type=#{userEntity.userType} and user_id in (select user_id from driver where status=2)
+                and u.user_type=#{userEntity.userType} and u.user_id in (select user_id from driver where status=2)
             </if>
             <if test="userEntity.sex!=null and userEntity.sex!=0">
                 and u.sex=#{userEntity.sex}