Browse Source

上级评价BUG修复

anderx 1 year ago
parent
commit
011a45f892

+ 3 - 3
src/main/java/com/goafanti/common/mapper/UserSuperEvaluateMapper.xml

@@ -31,7 +31,7 @@ id, uid, aid, content, create_time
             <if test="uid != null and uid != ''">
                 and a.uid = #{uid}
             </if>
-            <if test="in.aid != null and in.aid != ''">
+            <if test="aid != null and aid != ''">
                 and a.aid = #{aid}
             </if>
             order by a.create_time desc
@@ -46,10 +46,10 @@ id, uid, aid, content, create_time
         from user_super_evaluate
         where 1=1
         <if test="uid != null and uid != ''">
-            and a.uid = #{uid}
+            and uid = #{uid}
         </if>
         <if test="aid != null and aid != ''">
-            and a.aid = #{aid}
+            and aid = #{aid}
         </if>
     </select>