| | |
| | | <result column="project_phase" property="projectPhase" /> |
| | | <result column="tag" property="tag" /> |
| | | <!-- <result column="competent_department" property="competentDepartment" />--> |
| | | <result column="area_code" property="areaCode" /> |
| | | <!-- <result column="management_centralization" property="managementCentralization" />--> |
| | | <result column="project_approval_type" property="projectApprovalType" /> |
| | | <result column="importance_type" property="importanceType" /> |
| | | <result column="year" property="year" /> |
| | | <result column="year_invest_amount" property="yearInvestAmount" /> |
| | | <!-- <result column="year" property="year" />--> |
| | | <!-- <result column="year_invest_amount" property="yearInvestAmount" />--> |
| | | <result column="create_project_time" property="createProjectTime" /> |
| | | <result column="plan_start_time" property="planStartTime" /> |
| | | <result column="plan_complete_time" property="planCompleteTime" /> |
| | | <result column="win_unit" property="winUnit" /> |
| | | <result column="win_amount" property="winAmount" /> |
| | | <result column="win_time" property="winTime" /> |
| | | <result column="project_address" property="projectAddress" /> |
| | | <result column="longitude" property="longitude" /> |
| | | <result column="latitude" property="latitude" /> |
| | | <result column="project_owner_unit" property="projectOwnerUnit" /> |
| | | <result column="project_owner_unit_name" property="projectOwnerUnitName" /> |
| | | <result column="project_contact_person" property="projectContactPerson" /> |
| | | <result column="contact" property="contact" /> |
| | | <result column="gmt_create_time" property="gmtCreateTime" /> |
| | | <result column="gmt_update_time" property="gmtUpdateTime" /> |
| | | <result column="update_by" property="updateBy" /> |
| | | <result column="create_by" property="createBy" /> |
| | | <result column="process_def_id" property="processDefId" /> |
| | |
| | | SELECT |
| | | PI.*, |
| | | TPP.process_def_id, |
| | | TPP.process_ins_id |
| | | TPP.process_ins_id, |
| | | d.dept_name as project_owner_unit_name |
| | | FROM |
| | | t_project_info PI |
| | | LEFT JOIN t_project_process TPP ON TPP.project_id = PI.id AND TPP.deleted = 0 AND PI.deleted = 0 |
| | | LEFT JOIN t_project_process TPP ON TPP.project_id = PI.id AND TPP.deleted = 0 |
| | | LEFT JOIN sys_dept d ON d.dept_id = PI.project_owner_unit |
| | | <where> |
| | | AND PI.used_status = 2 AND PI.deleted = 0 |
| | | <if test="query.projectName != null and query.projectName != ''"> |
| | | AND PI.project_name like concat('%', #{query.projectName}, '%') |
| | | </if> |