shudonghui 1 gadu atpakaļ
vecāks
revīzija
062cf4ab6a

+ 2 - 2
sop-business/src/main/resources/mapper/SopAnalyseMapper.xml

@@ -53,7 +53,7 @@
             <if test="serviceId != null and serviceId != ''">
                and  s.service_id= #{serviceId}
             </if>
-
+            and r.region_name is not null and su.NAME is not null
         </where>
     </select>
     <select id="trend" resultType="java.util.Map">
@@ -134,7 +134,7 @@
         left join t_b_ding_apply d on d.sop_no=s.sop_no
         left join sys_user du on du.id=d.create_id
         <where>
-
+            and r.region_name is not null and su.NAME is not null
             <if test="serviceId != null and serviceId != ''">
                 and  s.service_id= #{serviceId}
             </if>