WProjectLibraryInventoryMapper.xml
4.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.hotent.chkpower.dao.WProjectLibraryInventoryDao">
<!-- 通用查询映射结果 -->
<resultMap id="BaseResultMap" type="com.hotent.chkpower.model.WProjectLibraryInventory">
<id column="ID_" property="id"/>
<result column="REF_ID_" property="refId"/>
<result column="F_project_company" property="fProjectCompany"/>
<result column="F_warehouse_entry_date" property="fWarehouseEntryDate"/>
<result column="F_project_name" property="fProjectName"/>
<result column="F_project_category" property="fProjectCategory"/>
<result column="F_business_scenarios" property="fBusinessScenarios"/>
<result column="F_smart_heating" property="fSmartHeating"/>
<result column="F_energy_efficiency" property="fEnergyEfficiency"/>
<result column="F_photovoltaic" property="fPhotovoltaic"/>
<result column="F_energy_storage" property="fEnergyStorage"/>
<result column="F_project_nature" property="fProjectNature"/>
<result column="F_business_model" property="fBusinessModel"/>
<result column="F_investment_scale" property="fInvestmentScale"/>
<result column="F_project_rating" property="fProjectRating"/>
<result column="F_static_payback_period" property="fStaticPaybackPeriod"/>
<result column="F_calculate_IRR" property="fCalculateIrr"/>
<result column="F_annual_income_forecast" property="fAnnualIncomeForecast"/>
<result column="F_annual_net_profit_forecast" property="fAnnualNetProfitForecast"/>
<result column="F_team_leader" property="fTeamLeader"/>
<result column="F_team_leader_id" property="fTeamLeaderId"/>
<result column="F_team_collaboration_per" property="fTeamCollaborationPer"/>
<result column="F_team_collaboration_per_id" property="fTeamCollaborationPerId"/>
<result column="F_expected_signing_date" property="fExpectedSigningDate"/>
<result column="F_expected_scheduled_date" property="fExpectedScheduledDate"/>
<result column="F_strategic_value" property="fStrategicValue"/>
<result column="F_project_source" property="fProjectSource"/>
<result column="F_customer_contact" property="fCustomerContact"/>
<result column="F_project_overview" property="fProjectOverview"/>
<result column="F_project_debriefing" property="fProjectDebriefing"/>
<result column="F_deviation_analysis" property="fDeviationAnalysis"/>
<result column="F_project_state" property="fProjectState"/>
<result column="F_create_by" property="fCreateBy"/>
<result column="F_create_by_id" property="fCreateById"/>
<result column="F_create_time" property="fCreateTime"/>
<result column="F_update_by" property="fUpdateBy"/>
<result column="F_update_by_id" property="fUpdateById"/>
<result column="F_update_time" property="fUpdateTime"/>
<result column="F_form_data_rev_" property="fFormDataRev"/>
<result column="F_project_no" property="fProjectNo"/>
<result column="F_org_id" property="fOrgId"/>
</resultMap>
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
ID_, REF_ID_, F_project_company, F_warehouse_entry_date, F_project_name, F_project_category, F_business_scenarios, F_smart_heating, F_energy_efficiency, F_photovoltaic, F_energy_storage, F_project_nature, F_business_model, F_investment_scale, F_project_rating, F_static_payback_period, F_calculate_IRR, F_annual_income_forecast, F_annual_net_profit_forecast, F_team_leader, F_team_leader_id, F_team_collaboration_per, F_team_collaboration_per_id, F_expected_signing_date, F_expected_scheduled_date, F_strategic_value, F_project_source, F_customer_contact, F_project_overview, F_project_debriefing, F_deviation_analysis, F_project_state, F_create_by, F_create_by_id, F_create_time, F_update_by, F_update_by_id, F_update_time, F_form_data_rev_, F_project_no, F_org_id
</sql>
<select id="selectPage" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from
w_project_library_inventory
${ew.customSqlSegment}
</select>
<select id="selectList" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from
w_project_library_inventory
${ew.customSqlSegment}
</select>
<select id="selectById" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from
w_project_library_inventory
where
ID_ = #{id}
</select>
</mapper>