| | |
| | | <mapper namespace="com.ycl.mapper.ProjectInfoMapper"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.ycl.domain.vo.ProjectInfoVO"> |
| | | <resultMap id="BaseResultMap" type="com.ycl.domain.entity.ProjectInfo"> |
| | | <id column="id" property="id"/> |
| | | <result column="project_name" property="projectName" /> |
| | | <result column="project_code" property="projectCode" /> |
| | |
| | | <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="area" property="area" /> |
| | | <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" /> |
| | |
| | | <result column="project_owner_unit" property="projectOwnerUnit" /> |
| | | <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="gmt_create" property="gmtCreate" /> |
| | | <result column="gmt_update" property="gmtUpdate" /> |
| | | <result column="update_by" property="updateBy" /> |
| | | <result column="create_by" property="createBy" /> |
| | | </resultMap> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | <select id="getById" resultMap="BaseResultMap"> |
| | |
| | | TPI.project_phase, |
| | | TPI.tag, |
| | | TPI.competent_department, |
| | | TPI.area_code, |
| | | TPI.area, |
| | | TPI.management_centralization, |
| | | TPI.project_approval_type, |
| | | TPI.investment_catalogue, |
| | | TPI.importance_type, |
| | | TPI.year, |
| | | TPI.year_invest_amount, |
| | |
| | | TPI.project_owner_unit, |
| | | TPI.project_contact_person, |
| | | TPI.contact, |
| | | TPI.gmt_create_time, |
| | | TPI.gmt_update_time, |
| | | TPI.gmt_create, |
| | | TPI.gmt_update, |
| | | TPI.update_by, |
| | | TPI.create_by, |
| | | TPI.id |
| | |
| | | TPI.project_phase, |
| | | TPI.tag, |
| | | TPI.competent_department, |
| | | TPI.area_code, |
| | | TPI.area, |
| | | TPI.management_centralization, |
| | | TPI.project_approval_type, |
| | | TPI.investment_catalogue, |
| | | TPI.importance_type, |
| | | TPI.year, |
| | | TPI.year_invest_amount, |
| | |
| | | TPI.project_owner_unit, |
| | | TPI.project_contact_person, |
| | | TPI.contact, |
| | | TPI.gmt_create_time, |
| | | TPI.gmt_update_time, |
| | | TPI.gmt_create, |
| | | TPI.gmt_update, |
| | | TPI.update_by, |
| | | TPI.create_by, |
| | | TPI.id |