1 éve
szülő
commit
4c0b9479d2

+ 3 - 4
platform-dao/src/main/resources/mapper/project/ProjectMapper.xml

@@ -135,10 +135,9 @@
     <select id="getProjects" parameterType="com.platform.dao.dto.project.ProjectDTO"
             resultType="com.platform.dao.vo.query.project.ProjectVO">
         select project.* from t_project project
-        where project.flag = 1
-        <if test="flag!=null">
-            and project.flag = #{flag}
-        </if>
+        where flag is null
+        or flag  = #{flag}
+
     </select>
 
 

+ 1 - 0
platform-rest/src/main/resources/application-dev.yml

@@ -90,6 +90,7 @@ ignore:
     - /longyanpurchaseorder/detail/**
     - /longyanpurchaseorder/order/**
     - /yongyou/**
+    - /project/**
 platform:
   slf4j:
     data: D://xajg