Min преди 1 година
родител
ревизия
c1c81093f0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      fhKeeper/formulahousekeeper/management-platform/src/main/resources/mapper/ProjectMapper.xml

+ 1 - 1
fhKeeper/formulahousekeeper/management-platform/src/main/resources/mapper/ProjectMapper.xml

@@ -1740,7 +1740,7 @@
         ) r
         ON u.id = r.creator_id
         WHERE u.company_id=#{companyId}
-        AND workTime>0 AND u.`is_active`=1
+        AND (workTime>0 OR u.`is_active`=1)
         <if test="area!=null and area != '' ">
             and u.plate1 = #{area}
         </if>