|
@@ -39,7 +39,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="stdCountyOrgNm" column="std_county_org_nm" />
|
|
|
<result property="dataDt" column="data_dt" />
|
|
|
<result property="etlTm" column="etl_tm" />
|
|
|
-
|
|
|
+ <result property="lineCableNewAccuQtWeek" column="line_cable_new_accu_qt_week" />
|
|
|
+ <result property="lineOverhdNewAccuQtWeek" column="line_overhd_new_accu_qt_week" />
|
|
|
+ <result property="distTransNewAccuQtWeek" column="dist_trans_new_accu_qt_week" />
|
|
|
+ <result property="lowVoltLineAccuQtWeek" column="low_volt_line_accu_qt_week" />
|
|
|
+ <result property="towerAccuQtWeek" column="tower_accu_qt_week" />
|
|
|
+ <result property="ringCabinetAccuQtWeek" column="ring_cabinet_accu_qt_week" />
|
|
|
+ <result property="poleTabAccuQtWeek" column="pole_tab_accu_qt_week" />
|
|
|
<result property="lineCableNewAccuQtWork" column="line_cable_new_accu_qt_work" />
|
|
|
<result property="lineOverhdNewAccuQtWork" column="line_overhd_new_accu_qt_work" />
|
|
|
<result property="distTransNewAccuQtWork" column="dist_trans_new_accu_qt_work" />
|
|
@@ -47,11 +53,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="towerAccuQtWork" column="tower_accu_qt_work" />
|
|
|
<result property="ringCabinetAccuQtWork" column="ring_cabinet_accu_qt_work" />
|
|
|
<result property="poleTabAccuQtWork" column="pole_tab_accu_qt_work" />
|
|
|
-
|
|
|
+ <result property="lineCableNewAccuQtWorkWeek" column="line_cable_new_accu_qt_work_week" />
|
|
|
+ <result property="lineOverhdNewAccuQtWorkWeek" column="line_overhd_new_accu_qt_work_week" />
|
|
|
+ <result property="distTransNewAccuQtWorkWeek" column="dist_trans_new_accu_qt_work_week" />
|
|
|
+ <result property="lowVoltLineAccuQtWorkWeek" column="low_volt_line_accu_qt_work_week" />
|
|
|
+ <result property="towerAccuQtWorkWeek" column="tower_accu_qt_work_week" />
|
|
|
+ <result property="ringCabinetAccuQtWorkWeek" column="ring_cabinet_accu_qt_work_week" />
|
|
|
+ <result property="poleTabAccuQtWorkWeek" column="pole_tab_accu_qt_work_week" />
|
|
|
+ <result property="excType" column="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 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 from pdm_work_comple_statistics
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectPdmWorkCompleStatisticsList" parameterType="PdmWorkCompleStatistics" resultMap="PdmWorkCompleStatisticsResult">
|
|
@@ -90,72 +103,28 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="stdCountyOrgNm != null and stdCountyOrgNm != ''"> and std_county_org_nm = #{stdCountyOrgNm}</if>
|
|
|
<if test="dataDt != null and dataDt != ''"> and data_dt = #{dataDt}</if>
|
|
|
<if test="etlTm != null and etlTm != ''"> and etl_tm = #{etlTm}</if>
|
|
|
- </where>
|
|
|
- </select>
|
|
|
-
|
|
|
-
|
|
|
- <select id="selectPdmWorkCompleStatistics" parameterType="PdmWorkCompleStatistics" resultType="com.ruoyi.powerdistribution.domain.vo.PdmWorkCompleStatisticsVO">
|
|
|
-
|
|
|
- select batch_id, batch_name, batch_code, plan_year, t1.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,
|
|
|
- IFNULL(t2.line_cable_new_accu_qt_work,0) line_cable_new_accu_qt_work,
|
|
|
- IFNULL(t2.line_overhd_new_accu_qt_work,0) line_overhd_new_accu_qt_work,
|
|
|
- IFNULL(t2.dist_trans_new_accu_qt_work,0) dist_trans_new_accu_qt_work,
|
|
|
- IFNULL(t2.low_volt_line_accu_qt_work,0) low_volt_line_accu_qt_work,
|
|
|
- IFNULL(t2.ring_cabinet_accu_qt_work,0) ring_cabinet_accu_qt_work,
|
|
|
- IFNULL(t2.pole_tab_accu_qt_work,0) pole_tab_accu_qt_work
|
|
|
- from pdm_work_comple_statistics t1
|
|
|
- LEFT JOIN (
|
|
|
- select proj_id,
|
|
|
- sum(if(volt_lvl_cd = '2001008' and ((op_content like '%新建%' and op_content like '%电缆%') or (op_content like '%更换%' and op_content like '%电缆%')or (op_content like '%拆除%' and op_content like '%电缆%')),1,0)) line_cable_new_accu_qt_work,
|
|
|
- sum(if(volt_lvl_cd = '2001008' and ((op_content like '%新建%' and op_content like '%导线%') or (op_content like '%更换%' and op_content like '%导线%')or (op_content like '%拆除%' and op_content like '%导线%')),1,0)) line_overhd_new_accu_qt_work,
|
|
|
- sum(if(volt_lvl_cd = '2001008' and ((op_content like '%更换%' and op_content like '%变压器%') or (op_content like '%更换%' and op_content like '%变压器%')or (op_content like '%拆除%' and op_content like '%变压器%')),1,0)) dist_trans_new_accu_qt_work,
|
|
|
- sum(if(volt_lvl_cd = '2001009' and ((op_content like '%新建%' and op_content like '%电缆%') or (op_content like '%更换%' and op_content like '%电缆%')or (op_content like '%拆除%' and op_content like '%电缆%')),1,0)) low_volt_line_accu_qt_work,
|
|
|
- sum(if((op_content like '%新建%' and op_content like '%环网%') or (op_content like '%更换%' and op_content like '%环网%')or (op_content like '%拆除%' and op_content like '%环网%'),1,0)) ring_cabinet_accu_qt_work,
|
|
|
- sum(if(volt_lvl_cd = '2001008' and
|
|
|
- ((op_content like '%新建%' and op_content like '%断路器%') or (op_content like '%更换%' and op_content like '%断路器%') or (op_content like '%拆除%' and op_content like '%断路器%')
|
|
|
- or (op_content like '%新建%' and op_content like '%开关%') or (op_content like '%更换%' and op_content like '%开关%') or (op_content like '%拆除%' and op_content like '%开关%')
|
|
|
- or(op_content like '%新建%' and op_content like '%刀闸%') or (op_content like '%更换%' and op_content like '%刀闸%') or (op_content like '%拆除%' and op_content like '%刀闸%')
|
|
|
- or (op_content like '%新建%' and op_content like '%避雷器%') or (op_content like '%更换%' and op_content like '%避雷器%') or (op_content like '%拆除%' and op_content like '%避雷器%')
|
|
|
- ),1,0)) pole_tab_accu_qt_work
|
|
|
- FROM pdm_work_plan
|
|
|
- GROUP BY proj_id
|
|
|
- ) t2 on t1.id = t2.proj_id
|
|
|
-
|
|
|
- <where>
|
|
|
- <if test="batchId != null and batchId != ''"> and batch_id = #{batchId}</if>
|
|
|
- <if test="batchName != null and batchName != ''"> and batch_name like concat('%', #{batchName}, '%')</if>
|
|
|
- <if test="batchCode != null and batchCode != ''"> and batch_code = #{batchCode}</if>
|
|
|
- <if test="planYear != null and planYear != ''"> and plan_year = #{planYear}</if>
|
|
|
- <if test="proCode != null and proCode != ''"> and pro_code = #{proCode}</if>
|
|
|
- <if test="proName != null and proName != ''"> and pro_name like concat('%', #{proName}, '%')</if>
|
|
|
- <if test="sortSerial != null and sortSerial != ''"> and sort_serial = #{sortSerial}</if>
|
|
|
- <if test="smallVillageName != null and smallVillageName != ''"> and small_village_name like concat('%', #{smallVillageName}, '%')</if>
|
|
|
- <if test="villageName != null and villageName != ''"> and village_name like concat('%', #{villageName}, '%')</if>
|
|
|
- <if test="completeFlag != null and completeFlag != ''"> and complete_flag = #{completeFlag}</if>
|
|
|
- <if test="proCategory != null and proCategory != ''"> and pro_category = #{proCategory}</if>
|
|
|
- <if test="lineCableNewPlanQt != null "> and line_cable_new_plan_qt = #{lineCableNewPlanQt}</if>
|
|
|
- <if test="lineCableNewAccuQt != null "> and line_cable_new_accu_qt = #{lineCableNewAccuQt}</if>
|
|
|
- <if test="lineOverhdNewPlanQt != null "> and line_overhd_new_plan_qt = #{lineOverhdNewPlanQt}</if>
|
|
|
- <if test="lineOverhdNewAccuQt != null "> and line_overhd_new_accu_qt = #{lineOverhdNewAccuQt}</if>
|
|
|
- <if test="distTransNewPlanQt != null "> and dist_trans_new_plan_qt = #{distTransNewPlanQt}</if>
|
|
|
- <if test="distTransNewAccuQt != null "> and dist_trans_new_accu_qt = #{distTransNewAccuQt}</if>
|
|
|
- <if test="lowVoltLinePlanQt != null "> and low_volt_line_plan_qt = #{lowVoltLinePlanQt}</if>
|
|
|
- <if test="lowVoltLineAccuQt != null "> and low_volt_line_accu_qt = #{lowVoltLineAccuQt}</if>
|
|
|
- <if test="towerPlanQt != null "> and tower_plan_qt = #{towerPlanQt}</if>
|
|
|
- <if test="towerAccuQt != null "> and tower_accu_qt = #{towerAccuQt}</if>
|
|
|
- <if test="ringCabinetPlanQt != null "> and ring_cabinet_plan_qt = #{ringCabinetPlanQt}</if>
|
|
|
- <if test="ringCabinetAccuQt != null "> and ring_cabinet_accu_qt = #{ringCabinetAccuQt}</if>
|
|
|
- <if test="poleTabPlanQt != null "> and pole_tab_plan_qt = #{poleTabPlanQt}</if>
|
|
|
- <if test="poleTabAccuQt != null "> and pole_tab_accu_qt = #{poleTabAccuQt}</if>
|
|
|
- <if test="stdOrgNo != null and stdOrgNo != ''"> and std_org_no = #{stdOrgNo}</if>
|
|
|
- <if test="stdOrgNm != null and stdOrgNm != ''"> and std_org_nm = #{stdOrgNm}</if>
|
|
|
- <if test="stdCityOrgNo != null and stdCityOrgNo != ''"> and std_city_org_no = #{stdCityOrgNo}</if>
|
|
|
- <if test="stdCityOrgNm != null and stdCityOrgNm != ''"> and std_city_org_nm = #{stdCityOrgNm}</if>
|
|
|
- <if test="stdCountyOrgNo != null and stdCountyOrgNo != ''"> and std_county_org_no = #{stdCountyOrgNo}</if>
|
|
|
- <if test="stdCountyOrgNm != null and stdCountyOrgNm != ''"> and std_county_org_nm = #{stdCountyOrgNm}</if>
|
|
|
- <if test="dataDt != null and dataDt != ''"> and data_dt = #{dataDt}</if>
|
|
|
- <if test="etlTm != null and etlTm != ''"> and etl_tm = #{etlTm}</if>
|
|
|
- order by batch_id,sort_serial
|
|
|
+ <if test="lineCableNewAccuQtWeek != null "> and line_cable_new_accu_qt_week = #{lineCableNewAccuQtWeek}</if>
|
|
|
+ <if test="lineOverhdNewAccuQtWeek != null "> and line_overhd_new_accu_qt_week = #{lineOverhdNewAccuQtWeek}</if>
|
|
|
+ <if test="distTransNewAccuQtWeek != null "> and dist_trans_new_accu_qt_week = #{distTransNewAccuQtWeek}</if>
|
|
|
+ <if test="lowVoltLineAccuQtWeek != null "> and low_volt_line_accu_qt_week = #{lowVoltLineAccuQtWeek}</if>
|
|
|
+ <if test="towerAccuQtWeek != null "> and tower_accu_qt_week = #{towerAccuQtWeek}</if>
|
|
|
+ <if test="ringCabinetAccuQtWeek != null "> and ring_cabinet_accu_qt_week = #{ringCabinetAccuQtWeek}</if>
|
|
|
+ <if test="poleTabAccuQtWeek != null "> and pole_tab_accu_qt_week = #{poleTabAccuQtWeek}</if>
|
|
|
+ <if test="lineCableNewAccuQtWork != null "> and line_cable_new_accu_qt_work = #{lineCableNewAccuQtWork}</if>
|
|
|
+ <if test="lineOverhdNewAccuQtWork != null "> and line_overhd_new_accu_qt_work = #{lineOverhdNewAccuQtWork}</if>
|
|
|
+ <if test="distTransNewAccuQtWork != null "> and dist_trans_new_accu_qt_work = #{distTransNewAccuQtWork}</if>
|
|
|
+ <if test="lowVoltLineAccuQtWork != null "> and low_volt_line_accu_qt_work = #{lowVoltLineAccuQtWork}</if>
|
|
|
+ <if test="towerAccuQtWork != null "> and tower_accu_qt_work = #{towerAccuQtWork}</if>
|
|
|
+ <if test="ringCabinetAccuQtWork != null "> and ring_cabinet_accu_qt_work = #{ringCabinetAccuQtWork}</if>
|
|
|
+ <if test="poleTabAccuQtWork != null "> and pole_tab_accu_qt_work = #{poleTabAccuQtWork}</if>
|
|
|
+ <if test="lineCableNewAccuQtWorkWeek != null "> and line_cable_new_accu_qt_work_week = #{lineCableNewAccuQtWorkWeek}</if>
|
|
|
+ <if test="lineOverhdNewAccuQtWorkWeek != null "> and line_overhd_new_accu_qt_work_week = #{lineOverhdNewAccuQtWorkWeek}</if>
|
|
|
+ <if test="distTransNewAccuQtWorkWeek != null "> and dist_trans_new_accu_qt_work_week = #{distTransNewAccuQtWorkWeek}</if>
|
|
|
+ <if test="lowVoltLineAccuQtWorkWeek != null "> and low_volt_line_accu_qt_work_week = #{lowVoltLineAccuQtWorkWeek}</if>
|
|
|
+ <if test="towerAccuQtWorkWeek != null "> and tower_accu_qt_work_week = #{towerAccuQtWorkWeek}</if>
|
|
|
+ <if test="ringCabinetAccuQtWorkWeek != null "> and ring_cabinet_accu_qt_work_week = #{ringCabinetAccuQtWorkWeek}</if>
|
|
|
+ <if test="poleTabAccuQtWorkWeek != null "> and pole_tab_accu_qt_work_week = #{poleTabAccuQtWorkWeek}</if>
|
|
|
+ <if test="excType != null and excType != ''"> and exc_type = #{excType}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
@@ -201,6 +170,28 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="stdCountyOrgNm != null">std_county_org_nm,</if>
|
|
|
<if test="dataDt != null">data_dt,</if>
|
|
|
<if test="etlTm != null">etl_tm,</if>
|
|
|
+ <if test="lineCableNewAccuQtWeek != null">line_cable_new_accu_qt_week,</if>
|
|
|
+ <if test="lineOverhdNewAccuQtWeek != null">line_overhd_new_accu_qt_week,</if>
|
|
|
+ <if test="distTransNewAccuQtWeek != null">dist_trans_new_accu_qt_week,</if>
|
|
|
+ <if test="lowVoltLineAccuQtWeek != null">low_volt_line_accu_qt_week,</if>
|
|
|
+ <if test="towerAccuQtWeek != null">tower_accu_qt_week,</if>
|
|
|
+ <if test="ringCabinetAccuQtWeek != null">ring_cabinet_accu_qt_week,</if>
|
|
|
+ <if test="poleTabAccuQtWeek != null">pole_tab_accu_qt_week,</if>
|
|
|
+ <if test="lineCableNewAccuQtWork != null">line_cable_new_accu_qt_work,</if>
|
|
|
+ <if test="lineOverhdNewAccuQtWork != null">line_overhd_new_accu_qt_work,</if>
|
|
|
+ <if test="distTransNewAccuQtWork != null">dist_trans_new_accu_qt_work,</if>
|
|
|
+ <if test="lowVoltLineAccuQtWork != null">low_volt_line_accu_qt_work,</if>
|
|
|
+ <if test="towerAccuQtWork != null">tower_accu_qt_work,</if>
|
|
|
+ <if test="ringCabinetAccuQtWork != null">ring_cabinet_accu_qt_work,</if>
|
|
|
+ <if test="poleTabAccuQtWork != null">pole_tab_accu_qt_work,</if>
|
|
|
+ <if test="lineCableNewAccuQtWorkWeek != null">line_cable_new_accu_qt_work_week,</if>
|
|
|
+ <if test="lineOverhdNewAccuQtWorkWeek != null">line_overhd_new_accu_qt_work_week,</if>
|
|
|
+ <if test="distTransNewAccuQtWorkWeek != null">dist_trans_new_accu_qt_work_week,</if>
|
|
|
+ <if test="lowVoltLineAccuQtWorkWeek != null">low_volt_line_accu_qt_work_week,</if>
|
|
|
+ <if test="towerAccuQtWorkWeek != null">tower_accu_qt_work_week,</if>
|
|
|
+ <if test="ringCabinetAccuQtWorkWeek != null">ring_cabinet_accu_qt_work_week,</if>
|
|
|
+ <if test="poleTabAccuQtWorkWeek != null">pole_tab_accu_qt_work_week,</if>
|
|
|
+ <if test="excType != null">exc_type,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="batchId != null">#{batchId},</if>
|
|
@@ -237,6 +228,28 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="stdCountyOrgNm != null">#{stdCountyOrgNm},</if>
|
|
|
<if test="dataDt != null">#{dataDt},</if>
|
|
|
<if test="etlTm != null">#{etlTm},</if>
|
|
|
+ <if test="lineCableNewAccuQtWeek != null">#{lineCableNewAccuQtWeek},</if>
|
|
|
+ <if test="lineOverhdNewAccuQtWeek != null">#{lineOverhdNewAccuQtWeek},</if>
|
|
|
+ <if test="distTransNewAccuQtWeek != null">#{distTransNewAccuQtWeek},</if>
|
|
|
+ <if test="lowVoltLineAccuQtWeek != null">#{lowVoltLineAccuQtWeek},</if>
|
|
|
+ <if test="towerAccuQtWeek != null">#{towerAccuQtWeek},</if>
|
|
|
+ <if test="ringCabinetAccuQtWeek != null">#{ringCabinetAccuQtWeek},</if>
|
|
|
+ <if test="poleTabAccuQtWeek != null">#{poleTabAccuQtWeek},</if>
|
|
|
+ <if test="lineCableNewAccuQtWork != null">#{lineCableNewAccuQtWork},</if>
|
|
|
+ <if test="lineOverhdNewAccuQtWork != null">#{lineOverhdNewAccuQtWork},</if>
|
|
|
+ <if test="distTransNewAccuQtWork != null">#{distTransNewAccuQtWork},</if>
|
|
|
+ <if test="lowVoltLineAccuQtWork != null">#{lowVoltLineAccuQtWork},</if>
|
|
|
+ <if test="towerAccuQtWork != null">#{towerAccuQtWork},</if>
|
|
|
+ <if test="ringCabinetAccuQtWork != null">#{ringCabinetAccuQtWork},</if>
|
|
|
+ <if test="poleTabAccuQtWork != null">#{poleTabAccuQtWork},</if>
|
|
|
+ <if test="lineCableNewAccuQtWorkWeek != null">#{lineCableNewAccuQtWorkWeek},</if>
|
|
|
+ <if test="lineOverhdNewAccuQtWorkWeek != null">#{lineOverhdNewAccuQtWorkWeek},</if>
|
|
|
+ <if test="distTransNewAccuQtWorkWeek != null">#{distTransNewAccuQtWorkWeek},</if>
|
|
|
+ <if test="lowVoltLineAccuQtWorkWeek != null">#{lowVoltLineAccuQtWorkWeek},</if>
|
|
|
+ <if test="towerAccuQtWorkWeek != null">#{towerAccuQtWorkWeek},</if>
|
|
|
+ <if test="ringCabinetAccuQtWorkWeek != null">#{ringCabinetAccuQtWorkWeek},</if>
|
|
|
+ <if test="poleTabAccuQtWorkWeek != null">#{poleTabAccuQtWorkWeek},</if>
|
|
|
+ <if test="excType != null">#{excType},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -276,6 +289,28 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="stdCountyOrgNm != null">std_county_org_nm = #{stdCountyOrgNm},</if>
|
|
|
<if test="dataDt != null">data_dt = #{dataDt},</if>
|
|
|
<if test="etlTm != null">etl_tm = #{etlTm},</if>
|
|
|
+ <if test="lineCableNewAccuQtWeek != null">line_cable_new_accu_qt_week = #{lineCableNewAccuQtWeek},</if>
|
|
|
+ <if test="lineOverhdNewAccuQtWeek != null">line_overhd_new_accu_qt_week = #{lineOverhdNewAccuQtWeek},</if>
|
|
|
+ <if test="distTransNewAccuQtWeek != null">dist_trans_new_accu_qt_week = #{distTransNewAccuQtWeek},</if>
|
|
|
+ <if test="lowVoltLineAccuQtWeek != null">low_volt_line_accu_qt_week = #{lowVoltLineAccuQtWeek},</if>
|
|
|
+ <if test="towerAccuQtWeek != null">tower_accu_qt_week = #{towerAccuQtWeek},</if>
|
|
|
+ <if test="ringCabinetAccuQtWeek != null">ring_cabinet_accu_qt_week = #{ringCabinetAccuQtWeek},</if>
|
|
|
+ <if test="poleTabAccuQtWeek != null">pole_tab_accu_qt_week = #{poleTabAccuQtWeek},</if>
|
|
|
+ <if test="lineCableNewAccuQtWork != null">line_cable_new_accu_qt_work = #{lineCableNewAccuQtWork},</if>
|
|
|
+ <if test="lineOverhdNewAccuQtWork != null">line_overhd_new_accu_qt_work = #{lineOverhdNewAccuQtWork},</if>
|
|
|
+ <if test="distTransNewAccuQtWork != null">dist_trans_new_accu_qt_work = #{distTransNewAccuQtWork},</if>
|
|
|
+ <if test="lowVoltLineAccuQtWork != null">low_volt_line_accu_qt_work = #{lowVoltLineAccuQtWork},</if>
|
|
|
+ <if test="towerAccuQtWork != null">tower_accu_qt_work = #{towerAccuQtWork},</if>
|
|
|
+ <if test="ringCabinetAccuQtWork != null">ring_cabinet_accu_qt_work = #{ringCabinetAccuQtWork},</if>
|
|
|
+ <if test="poleTabAccuQtWork != null">pole_tab_accu_qt_work = #{poleTabAccuQtWork},</if>
|
|
|
+ <if test="lineCableNewAccuQtWorkWeek != null">line_cable_new_accu_qt_work_week = #{lineCableNewAccuQtWorkWeek},</if>
|
|
|
+ <if test="lineOverhdNewAccuQtWorkWeek != null">line_overhd_new_accu_qt_work_week = #{lineOverhdNewAccuQtWorkWeek},</if>
|
|
|
+ <if test="distTransNewAccuQtWorkWeek != null">dist_trans_new_accu_qt_work_week = #{distTransNewAccuQtWorkWeek},</if>
|
|
|
+ <if test="lowVoltLineAccuQtWorkWeek != null">low_volt_line_accu_qt_work_week = #{lowVoltLineAccuQtWorkWeek},</if>
|
|
|
+ <if test="towerAccuQtWorkWeek != null">tower_accu_qt_work_week = #{towerAccuQtWorkWeek},</if>
|
|
|
+ <if test="ringCabinetAccuQtWorkWeek != null">ring_cabinet_accu_qt_work_week = #{ringCabinetAccuQtWorkWeek},</if>
|
|
|
+ <if test="poleTabAccuQtWorkWeek != null">pole_tab_accu_qt_work_week = #{poleTabAccuQtWorkWeek},</if>
|
|
|
+ <if test="excType != null">exc_type = #{excType},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|
|
@@ -290,5 +325,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
#{id}
|
|
|
</foreach>
|
|
|
</delete>
|
|
|
-
|
|
|
</mapper>
|