luohairen
2024-11-29 c77cab7ca85f219df136ec2aac24a22efa7837f8
business/src/main/resources/mapper/ProjectProcessMapper.xml
@@ -14,11 +14,10 @@
        <result column="invest_type" property="investType" />
        <result column="project_phase" property="projectPhase" />
        <result column="tag" property="tag" />
        <result column="competent_department" property="competentDepartment" />
<!--        <result column="competent_department" property="competentDepartment" />-->
        <result column="area_code" property="areaCode" />
        <result column="management_centralization" property="managementCentralization" />
<!--        <result column="management_centralization" property="managementCentralization" />-->
        <result column="project_approval_type" property="projectApprovalType" />
        <result column="investment_catalogue" property="investmentCatalogue" />
        <result column="importance_type" property="importanceType" />
        <result column="year" property="year" />
        <result column="year_invest_amount" property="yearInvestAmount" />
@@ -45,9 +44,6 @@
    <select id="getById" resultMap="BaseResultMap">
        SELECT
            TPP.project_id,
@@ -65,8 +61,8 @@
            PI.*,
            TPP.flowable_process_id
        FROM
            t_project_process TPP
                INNER JOIN t_project_info PI ON TPP.project_id = PI.id AND TPP.deleted = 0 AND PI.deleted = 0
            t_project_info PI
                LEFT JOIN t_project_process TPP ON TPP.project_id = PI.id AND TPP.deleted = 0 AND PI.deleted = 0
        <where>
            <if test="query.projectName != null and query.projectName != ''">
                AND PI.project_name like concat('%', #{query.projectName}, '%')