|
@@ -140,4 +140,137 @@
|
|
ORDER BY a.update_date DESC
|
|
ORDER BY a.update_date DESC
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
+ <resultMap id="BaseResultMap" type="com.jeeplus.test.program.configuration.projectList.domain.ProgramProjectListInfo">
|
|
|
|
+ <id property="id" column="id" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="createBy" column="create_by" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="createDate" column="create_date" jdbcType="TIMESTAMP"/>
|
|
|
|
+ <result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="updateDate" column="update_date" jdbcType="TIMESTAMP"/>
|
|
|
|
+ <result property="delFlag" column="del_flag" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="contractId" column="contract_id" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="contractName" column="contract_name" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="client" column="client" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="clientName" column="client_name" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="amount" column="amount" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="contractType" column="contract_type" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="name" column="name" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="no" column="no" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="projectType" column="project_type" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="approvalNo" column="approval_no" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="company" column="company" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="projectMould" column="project_mould" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="propertyHolder" column="property_holder" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="propertyHolderName" column="property_holder_name" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="location" column="location" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="isFirst" column="is_first" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="yearNum" column="year_num" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="checkYear" column="check_year" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="projectManager" column="project_manager" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="projectManagerName" column="project_manager_name" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="reportType" column="report_type" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="industry" column="industry" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="enterpriseType" column="enterprise_type" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="riskLevel" column="risk_level" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="projectSource" column="project_source" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="estimate" column="estimate" jdbcType="DECIMAL"/>
|
|
|
|
+ <result property="planEndTime" column="plan_end_time" jdbcType="TIMESTAMP"/>
|
|
|
|
+ <result property="useNum" column="use_num" jdbcType="INTEGER"/>
|
|
|
|
+ <result property="appointment" column="appointment" jdbcType="INTEGER"/>
|
|
|
|
+ <result property="workHours" column="work_hours" jdbcType="DOUBLE"/>
|
|
|
|
+ <result property="remarks" column="remarks" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="assessmentEnterprise" column="assessment_enterprise" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="assessmentEnterpriseName" column="assessment_enterprise_name" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="linkNum" column="link_num" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="relationship" column="relationship" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="assessmentWay" column="assessment_way" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="assessmentObjective" column="assessment_objective" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="assessmentDate" column="assessment_date" jdbcType="TIMESTAMP"/>
|
|
|
|
+ <result property="num" column="num" jdbcType="DECIMAL"/>
|
|
|
|
+ <result property="projectDevelopment" column="project_development" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="delegateProjectType" column="delegate_project_type" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="assessmentObject" column="assessment_object" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="workBeginDate" column="work_begin_date" jdbcType="TIMESTAMP"/>
|
|
|
|
+ <result property="workEndDate" column="work_end_date" jdbcType="TIMESTAMP"/>
|
|
|
|
+ <result property="reportingDate" column="reporting_date" jdbcType="TIMESTAMP"/>
|
|
|
|
+ <result property="isHave" column="is_have" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="isInfluence" column="is_influence" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="mode" column="mode" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="status" column="status" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="procInsId" column="proc_ins_id" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="processDefinitionId" column="process_definition_id" jdbcType="VARCHAR"/>
|
|
|
|
+ </resultMap>
|
|
|
|
+
|
|
|
|
+ <sql id="Base_Column_List">
|
|
|
|
+ ppli.id,
|
|
|
|
+ ppli.create_by,
|
|
|
|
+ ppli.create_date,
|
|
|
|
+ ppli.update_by,
|
|
|
|
+ ppli.update_date,
|
|
|
|
+ ppli.del_flag,
|
|
|
|
+ ppli.contract_id,
|
|
|
|
+ ppli.contract_name,
|
|
|
|
+ ppli.client,
|
|
|
|
+ ppli.client_name,
|
|
|
|
+ ppli.amount,
|
|
|
|
+ ppli.contract_type,
|
|
|
|
+ ppli.name,
|
|
|
|
+ ppli.no,
|
|
|
|
+ ppli.project_type,
|
|
|
|
+ ppli.approval_no,
|
|
|
|
+ ppli.company,
|
|
|
|
+ ppli.project_mould,
|
|
|
|
+ ppli.property_holder,
|
|
|
|
+ ppli.property_holder_name,
|
|
|
|
+ ppli.location,
|
|
|
|
+ ppli.is_first,
|
|
|
|
+ ppli.year_num,
|
|
|
|
+ ppli.check_year,
|
|
|
|
+ ppli.project_manager,
|
|
|
|
+ ppli.project_manager_name,
|
|
|
|
+ ppli.report_type,
|
|
|
|
+ ppli.industry,
|
|
|
|
+ ppli.enterprise_type,
|
|
|
|
+ ppli.risk_level,
|
|
|
|
+ ppli.project_source,
|
|
|
|
+ ppli.estimate,
|
|
|
|
+ ppli.plan_end_time,
|
|
|
|
+ ppli.use_num,
|
|
|
|
+ ppli.appointment,
|
|
|
|
+ ppli.work_hours,
|
|
|
|
+ ppli.remarks,
|
|
|
|
+ ppli.assessment_enterprise,
|
|
|
|
+ ppli.assessment_enterprise_name,
|
|
|
|
+ ppli.link_num,
|
|
|
|
+ ppli.relationship,
|
|
|
|
+ ppli.assessment_way,
|
|
|
|
+ ppli.assessment_objective,
|
|
|
|
+ ppli.assessment_date,
|
|
|
|
+ ppli.num,
|
|
|
|
+ ppli.project_development,
|
|
|
|
+ ppli.delegate_project_type,
|
|
|
|
+ ppli.assessment_object,
|
|
|
|
+ ppli.work_begin_date,
|
|
|
|
+ ppli.work_end_date,
|
|
|
|
+ ppli.reporting_date,
|
|
|
|
+ ppli.is_have,
|
|
|
|
+ ppli.is_influence,
|
|
|
|
+ ppli.mode,
|
|
|
|
+ ppli.status,
|
|
|
|
+ ppli.proc_ins_id,
|
|
|
|
+ ppli.process_definition_id
|
|
|
|
+ </sql>
|
|
|
|
+ <select id="findPage" resultType="com.jeeplus.test.program.configuration.projectList.domain.ProgramProjectListInfo">
|
|
|
|
+ SELECT
|
|
|
|
+ <include refid="Base_Column_List"></include>,
|
|
|
|
+ su.name AS create_by,
|
|
|
|
+ sup.name as project_manager_name
|
|
|
|
+ FROM
|
|
|
|
+ program_project_list_info ppli
|
|
|
|
+ LEFT JOIN sys_user su ON ppli.create_by = su.id
|
|
|
|
+ LEFT JOIN sys_user sup ON ppli.project_manager = su.id
|
|
|
|
+ LEFT JOIN
|
|
|
|
+ ${ew.customSqlSegment}
|
|
|
|
+ ORDER BY ppli.update_date DESC
|
|
|
|
+ </select>
|
|
|
|
+
|
|
</mapper>
|
|
</mapper>
|