|
@@ -62,10 +62,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="poleTabAccuQtWorkWeek" column="pole_tab_accu_qt_work_week" />
|
|
|
<result property="excType" column="exc_type" />
|
|
|
<result property="workTotal" column="work_total" />
|
|
|
+
|
|
|
+ <result property="lineCableNewAccuQtExcType" column="line_cable_new_accu_qt_exc_type" />
|
|
|
+ <result property="lineOverhdNewAccuQtExcType" column="line_overhd_new_accu_qt_exc_type" />
|
|
|
+ <result property="distTransNewAccuQtExcType" column="dist_trans_new_accu_qt_exc_type" />
|
|
|
+ <result property="lowVoltLineAccuQtExcType" column="low_volt_line_accu_qt_exc_type" />
|
|
|
+ <result property="towerAccuQtExcType" column="tower_accu_qt_exc_type" />
|
|
|
+ <result property="ringCabinetAccuQtExcType" column="ring_cabinet_accu_qt_exc_type" />
|
|
|
+ <result property="poleTabAccuQtExcType" column="pole_tab_accu_qt_exc_type" />
|
|
|
+
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectPdmWorkCompleStatisticsVo">
|
|
|
- select batch_id, batch_name, batch_code, plan_year, id, pro_code, pro_name, sort_serial, small_village_name, village_name, complete_flag, pro_category, line_cable_new_plan_qt, line_cable_new_accu_qt, line_overhd_new_plan_qt, line_overhd_new_accu_qt, dist_trans_new_plan_qt, dist_trans_new_accu_qt, low_volt_line_plan_qt, low_volt_line_accu_qt, tower_plan_qt, tower_accu_qt, ring_cabinet_plan_qt, ring_cabinet_accu_qt, pole_tab_plan_qt, pole_tab_accu_qt, std_org_no, std_org_nm, std_city_org_no, std_city_org_nm, std_county_org_no, std_county_org_nm, data_dt, etl_tm, line_cable_new_accu_qt_week, line_overhd_new_accu_qt_week, dist_trans_new_accu_qt_week, low_volt_line_accu_qt_week, tower_accu_qt_week, ring_cabinet_accu_qt_week, pole_tab_accu_qt_week, line_cable_new_accu_qt_work, line_overhd_new_accu_qt_work, dist_trans_new_accu_qt_work, low_volt_line_accu_qt_work, tower_accu_qt_work, ring_cabinet_accu_qt_work, pole_tab_accu_qt_work, line_cable_new_accu_qt_work_week, line_overhd_new_accu_qt_work_week, dist_trans_new_accu_qt_work_week, low_volt_line_accu_qt_work_week, tower_accu_qt_work_week, ring_cabinet_accu_qt_work_week, pole_tab_accu_qt_work_week, exc_type,work_total from pdm_work_comple_statistics
|
|
|
+ select batch_id, batch_name, batch_code, plan_year, id, pro_code, pro_name, sort_serial, small_village_name, village_name, complete_flag, pro_category, line_cable_new_plan_qt, line_cable_new_accu_qt, line_overhd_new_plan_qt, line_overhd_new_accu_qt, dist_trans_new_plan_qt, dist_trans_new_accu_qt, low_volt_line_plan_qt, low_volt_line_accu_qt, tower_plan_qt, tower_accu_qt, ring_cabinet_plan_qt, ring_cabinet_accu_qt, pole_tab_plan_qt, pole_tab_accu_qt, std_org_no, std_org_nm, std_city_org_no, std_city_org_nm, std_county_org_no, std_county_org_nm, data_dt, etl_tm, line_cable_new_accu_qt_week, line_overhd_new_accu_qt_week, dist_trans_new_accu_qt_week, low_volt_line_accu_qt_week, tower_accu_qt_week, ring_cabinet_accu_qt_week, pole_tab_accu_qt_week, line_cable_new_accu_qt_work, line_overhd_new_accu_qt_work, dist_trans_new_accu_qt_work, low_volt_line_accu_qt_work, tower_accu_qt_work, ring_cabinet_accu_qt_work, pole_tab_accu_qt_work, line_cable_new_accu_qt_work_week, line_overhd_new_accu_qt_work_week, dist_trans_new_accu_qt_work_week, low_volt_line_accu_qt_work_week, tower_accu_qt_work_week, ring_cabinet_accu_qt_work_week, pole_tab_accu_qt_work_week, exc_type,work_total,
|
|
|
+ line_cable_new_accu_qt_exc_type,line_overhd_new_accu_qt_exc_type,dist_trans_new_accu_qt_exc_type,low_volt_line_accu_qt_exc_type,tower_accu_qt_exc_type,ring_cabinet_accu_qt_exc_type,pole_tab_accu_qt_exc_type
|
|
|
+ from pdm_work_comple_statistics
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectPdmWorkCompleStatisticsList" parameterType="PdmWorkCompleStatistics" resultMap="PdmWorkCompleStatisticsResult">
|
|
@@ -194,6 +205,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="poleTabAccuQtWorkWeek != null">pole_tab_accu_qt_work_week,</if>
|
|
|
<if test="excType != null">exc_type,</if>
|
|
|
<if test="workTotal != null">work_total,</if>
|
|
|
+ <if test="lineCableNewAccuQtExcType != null">line_cable_new_accu_qt_exc_type,</if>
|
|
|
+ <if test="lineOverhdNewAccuQtExcType != null">line_overhd_new_accu_qt_exc_type,</if>
|
|
|
+ <if test="distTransNewAccuQtExcType != null">dist_trans_new_accu_qt_exc_type,</if>
|
|
|
+ <if test="lowVoltLineAccuQtExcType != null">low_volt_line_accu_qt_exc_type,</if>
|
|
|
+ <if test="towerAccuQtExcType != null">tower_accu_qt_exc_type,</if>
|
|
|
+ <if test="ringCabinetAccuQtExcType != null">ring_cabinet_accu_qt_exc_type,</if>
|
|
|
+ <if test="poleTabAccuQtExcType != null">pole_tab_accu_qt_exc_type,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="batchId != null">#{batchId},</if>
|
|
@@ -253,6 +271,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="poleTabAccuQtWorkWeek != null">#{poleTabAccuQtWorkWeek},</if>
|
|
|
<if test="excType != null">#{excType},</if>
|
|
|
<if test="workTotal != null">#{workTotal},</if>
|
|
|
+ <if test="lineCableNewAccuQtExcType != null">#{lineCableNewAccuQtExcType},</if>
|
|
|
+ <if test="lineOverhdNewAccuQtExcType != null">#{lineOverhdNewAccuQtExcType},</if>
|
|
|
+ <if test="distTransNewAccuQtExcType != null">#{distTransNewAccuQtExcType},</if>
|
|
|
+ <if test="lowVoltLineAccuQtExcType != null">#{lowVoltLineAccuQtExcType},</if>
|
|
|
+ <if test="towerAccuQtExcType != null">#{towerAccuQtExcType},</if>
|
|
|
+ <if test="ringCabinetAccuQtExcType != null">#{ringCabinetAccuQtExcType},</if>
|
|
|
+ <if test="poleTabAccuQtExcType != null">#{poleTabAccuQtExcType},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -315,6 +340,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="poleTabAccuQtWorkWeek != null">pole_tab_accu_qt_work_week = #{poleTabAccuQtWorkWeek},</if>
|
|
|
<if test="excType != null">exc_type = #{excType},</if>
|
|
|
<if test="workTotal != null">work_total = #{workTotal},</if>
|
|
|
+
|
|
|
+ <if test="lineCableNewAccuQtExcType != null">line_cable_new_accu_qt_exc_type = #{lineCableNewAccuQtExcType},</if>
|
|
|
+ <if test="lineOverhdNewAccuQtExcType != null">line_overhd_new_accu_qt_exc_type = #{lineOverhdNewAccuQtExcType},</if>
|
|
|
+ <if test="distTransNewAccuQtExcType != null">dist_trans_new_accu_qt_exc_type = #{distTransNewAccuQtExcType},</if>
|
|
|
+ <if test="lowVoltLineAccuQtExcType != null">low_volt_line_accu_qt_exc_type = #{lowVoltLineAccuQtExcType},</if>
|
|
|
+ <if test="towerAccuQtExcType != null">tower_accu_qt_exc_type = #{towerAccuQtExcType},</if>
|
|
|
+ <if test="ringCabinetAccuQtExcType != null">ring_cabinet_accu_qt_exc_type = #{ringCabinetAccuQtExcType},</if>
|
|
|
+ <if test="poleTabAccuQtExcType != null">pole_tab_accu_qt_exc_type = #{poleTabAccuQtExcType},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|