Просмотр исходного кода

解决用户查询业主绑定关系逗号问题

吴学文 лет назад: 6
Родитель
Сommit
1f244ccf57

+ 1 - 1
java110-db/src/main/resources/mapper/user/OwnerAppUserServiceDaoImplMapper.xml

@@ -283,7 +283,7 @@
             and t.member_id= #{memberId}
             and t.member_id= #{memberId}
         </if>
         </if>
         <if test="userId !=null and userId != ''">
         <if test="userId !=null and userId != ''">
-            , t.user_id= #{userId}
+            and t.user_id= #{userId}
         </if>
         </if>