|
@@ -98,15 +98,20 @@
|
|
|
<if test="id != null and id != ''">
|
|
|
AND a.id = #{id}
|
|
|
</if>
|
|
|
-
|
|
|
+ <if test="acquisitionStatus != null and acquisitionStatus != ''">
|
|
|
+ AND a.acquisition_status = #{acquisitionStatus}
|
|
|
+ </if>
|
|
|
<if test="constructionUnitRole != null and constructionUnitRole != ''">
|
|
|
AND a.construction_unit_role = #{constructionUnitRole}
|
|
|
</if>
|
|
|
+ <if test="constructionStatus != null and constructionStatus != ''">
|
|
|
+ AND a.construction_status = #{constructionStatus}
|
|
|
+ </if>
|
|
|
<if test="earlyMaterial != null">
|
|
|
or a.earlyMaterial = #{earlyMaterial}
|
|
|
</if>
|
|
|
<if test="preConstruction != null">
|
|
|
- and a.preConstruction = #{preConstruction}
|
|
|
+ OR a.preConstruction = #{preConstruction}
|
|
|
</if>
|
|
|
<if test="projectId != null and projectId != ''">
|
|
|
and a.project_id = #{projectId}
|
|
@@ -587,6 +592,31 @@
|
|
|
WHERE require_name = (select project_name from xm_construction_clarificaiton where proc_ins_id=#{procInsId});
|
|
|
</select>
|
|
|
|
|
|
+ <select id="findUserById" resultType="com.jeeplus.modules.sg.managementcenter.project.entity.Project">
|
|
|
+ select
|
|
|
+ project_name
|
|
|
+ ,demand_unit
|
|
|
+ ,project_manage_role
|
|
|
+ ,distribution_engineering
|
|
|
+ ,distribution_materials
|
|
|
+ ,distribution_system
|
|
|
+ ,distribution_policy
|
|
|
+ ,management_leader
|
|
|
+ ,run_unit
|
|
|
+ ,run_unit_role
|
|
|
+ ,through_research_role
|
|
|
+ ,construction_unit
|
|
|
+ ,construction_unit_role
|
|
|
+ ,construction_unit_manage
|
|
|
+ ,construction_unit_leader
|
|
|
+ ,design_unit
|
|
|
+ ,design_unit_manage
|
|
|
+ ,design_unit_leader
|
|
|
+ FROM xm_project_details
|
|
|
+ WHERE id = #{projectId}
|
|
|
+ </select>
|
|
|
+
|
|
|
+
|
|
|
<select id="findListProjectRequisitions" parameterType="java.util.List" resultType="com.jeeplus.modules.sg.managementcenter.project.entity.Project">
|
|
|
select
|
|
|
<include refid="projectColumns"/>
|