浏览代码

核验状态筛选

lyq 1 年之前
父节点
当前提交
ff808e9f12
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/main/resources/mapper/centereventteventcatalogue/CenterEventViewMapper.xml

+ 6 - 0
src/main/resources/mapper/centereventteventcatalogue/CenterEventViewMapper.xml

@@ -115,6 +115,9 @@
             <if test="eventStatusValue != null and eventStatusValue != ''">
                 and event_status_value = #{eventStatusValue}
             </if>
+            <if test="isExamine != null and isExamine != ''">
+                and (is_examine = 1 and event_status_value = 'forest_event_status_5')
+            </if>
             union all
         </if>
         select event_code eventCode,event_name eventName,longitude,latitude,reportor,event_status
@@ -138,6 +141,9 @@
         <if test="eventStatusValue != null and eventStatusValue != ''">
             and event_status_value = #{eventStatusValue}
         </if>
+        <if test="isExamine != null and isExamine != ''">
+            and (is_examine = 1 and event_status_value = 'forest_event_status_5')
+        </if>
         ) t
         left join centerevent_t_dept_event d on d.event_code = t.eventCode and d.event_status_value !=
         'forest_event_status_3'