dzx 5 месяцев назад
Родитель
Сommit
70f847998c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/resources/mapper/evaluate/EvaluateManageMapper.xml

+ 1 - 1
src/main/resources/mapper/evaluate/EvaluateManageMapper.xml

@@ -56,7 +56,7 @@
             where tb1.delete_mark = 0
                 and tb1.status = 1
                 and tb3.status = 0
-                and tb3.user_id = t3.user_id
+                and tb3.user_id = #{dto.loginUserId}
                 and tb1.id = t.id) as ratedCount
         from evaluate_manage t
             left join evaluate_template t2 on t2.id = t.evaluate_template_id