فهرست منبع

核验状态筛选

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'