| | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.ycl.domain.vo.ProjectInvestmentPolicyComplianceVO"> |
| | | <result column="project_id" property="projectId" /> |
| | | <result column="policy_compliance_attachment" property="policyComplianceAttachment" /> |
| | | <result column="belongs_to_industry_adjustment_directory" property="belongsToIndustryAdjustmentDirectory" /> |
| | | <result column="belongs_to_allowed_projects" property="belongsToAllowedProjects" /> |
| | | <result column="belongs_to_western_encouraged_directory" property="belongsToWesternEncouragedDirectory" /> |
| | | <result column="not_banned_or_controlled_project" property="notBannedOrControlledProject" /> |
| | | <result column="information_is_true" property="informationIsTrue" /> |
| | | <result column="special_planning_compliance" property="specialPlanningCompliance" /> |
| | | <result column="energy_consumption" property="energyConsumption" /> |
| | | <result column="annual_energy_consumption" property="annualEnergyConsumption" /> |
| | | <result column="annual_electricity_consumption" property="annualElectricityConsumption" /> |
| | | <result column="energy_check" property="energyCheck" /> |
| | | <result column="no_only_check_type" property="noOnlyCheckType" /> |
| | | <result column="remarks" property="remarks" /> |
| | | <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="create_by" property="createBy" /> |
| | | <result column="update_by" property="updateBy" /> |
| | | </resultMap> |
| | |
| | | <select id="getById" resultMap="BaseResultMap"> |
| | | SELECT |
| | | TPIPC.project_id, |
| | | TPIPC.policy_compliance_attachment, |
| | | TPIPC.belongs_to_industry_adjustment_directory, |
| | | TPIPC.belongs_to_allowed_projects, |
| | | TPIPC.belongs_to_western_encouraged_directory, |
| | | TPIPC.not_banned_or_controlled_project, |
| | | TPIPC.information_is_true, |
| | | TPIPC.special_planning_compliance, |
| | | TPIPC.energy_consumption, |
| | | TPIPC.annual_energy_consumption, |
| | | TPIPC.annual_electricity_consumption, |
| | | TPIPC.energy_check, |
| | | TPIPC.no_only_check_type, |
| | | TPIPC.remarks, |
| | | TPIPC.gmt_create_time, |
| | | TPIPC.gmt_update_time, |
| | | TPIPC.gmt_create, |
| | | TPIPC.gmt_update, |
| | | TPIPC.create_by, |
| | | TPIPC.update_by, |
| | | TPIPC.id |
| | |
| | | <select id="getPage" resultMap="BaseResultMap"> |
| | | SELECT |
| | | TPIPC.project_id, |
| | | TPIPC.policy_compliance_attachment, |
| | | TPIPC.belongs_to_industry_adjustment_directory, |
| | | TPIPC.belongs_to_allowed_projects, |
| | | TPIPC.belongs_to_western_encouraged_directory, |
| | | TPIPC.not_banned_or_controlled_project, |
| | | TPIPC.information_is_true, |
| | | TPIPC.special_planning_compliance, |
| | | TPIPC.energy_consumption, |
| | | TPIPC.annual_energy_consumption, |
| | | TPIPC.annual_electricity_consumption, |
| | | TPIPC.energy_check, |
| | | TPIPC.no_only_check_type, |
| | | TPIPC.remarks, |
| | | TPIPC.gmt_create_time, |
| | | TPIPC.gmt_update_time, |
| | | TPIPC.gmt_create, |
| | | TPIPC.gmt_update, |
| | | TPIPC.create_by, |
| | | TPIPC.update_by, |
| | | TPIPC.id |