|
@@ -135,10 +135,9 @@
|
|
<select id="getProjects" parameterType="com.platform.dao.dto.project.ProjectDTO"
|
|
<select id="getProjects" parameterType="com.platform.dao.dto.project.ProjectDTO"
|
|
resultType="com.platform.dao.vo.query.project.ProjectVO">
|
|
resultType="com.platform.dao.vo.query.project.ProjectVO">
|
|
select project.* from t_project project
|
|
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>
|
|
</select>
|
|
|
|
|
|
|
|
|