Browse Source

评审结果调整

dzx 4 months ago
parent
commit
64390284ed
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/main/resources/mapper/evaluate/EvaluateManageMapper.xml

+ 3 - 2
src/main/resources/mapper/evaluate/EvaluateManageMapper.xml

@@ -47,13 +47,14 @@
             t.id as evaluateManageId,
             t.name,
             t2.evaluate_type,
+        t.status,
             t4.name as evaluateTypeCn,
             (select
                 count(tb3.status)
             from evaluate_manage tb1
                 left join evaluate_executer tb3 on tb3.evaluate_manage_id = tb1.id
             where tb1.delete_mark = 0
-                and tb1.status <> -1
+                and tb1.status = 1
                 and tb3.status = 0
                 and tb3.user_id = t3.user_id
                 and tb1.id = t.id) as ratedCount
@@ -62,7 +63,7 @@
             left join evaluate_executer t3 on t3.evaluate_manage_id = t.id
             left join xjr_dictionary_detail t4 on t4.code = t2.evaluate_type
         where t.delete_mark = 0
-            and t.status <> -1
+            and t.status = 1
             and t3.user_id = #{dto.loginUserId}
             <if test="dto.keyword != null and dto.keyword != ''">
                 and (t.name like concat('%', #{dto.keyword}, '%')