|
@@ -16,27 +16,7 @@
|
|
|
a.update_date AS "updateDate",
|
|
|
a.remarks AS "remarks",
|
|
|
a.del_flag AS "delFlag",
|
|
|
- a.applyName,
|
|
|
- a.powerLine,
|
|
|
- a.blackoutArea,
|
|
|
- a.projectType,
|
|
|
- a.powerFailure,
|
|
|
- a.preliminaryJudgment,
|
|
|
- a.civilEngineering,
|
|
|
- a.baseType,
|
|
|
- a.planApproval,
|
|
|
- a.transformationType,
|
|
|
- a.transformationEquipment,
|
|
|
- a.newNamed,
|
|
|
- a.putInto,
|
|
|
- a.electricalConstruction,
|
|
|
- a.theAssignment,
|
|
|
- a.automation,
|
|
|
- a.remote,
|
|
|
- a.communicationMode,
|
|
|
- a.inSitu,
|
|
|
- a.networkCabinet,
|
|
|
- a.station
|
|
|
+ a.applyName
|
|
|
</sql>
|
|
|
|
|
|
<sql id="disclose">
|
|
@@ -74,9 +54,29 @@
|
|
|
<select id="get" resultMap="ConstructionResult">
|
|
|
SELECT
|
|
|
<include refid="constructionColumns"/>,
|
|
|
- <include refid="disclose"/>
|
|
|
- FROM xm_construction_clarificaiton a
|
|
|
- LEFT JOIN xm_disclose_conclusion b on a.proc_ins_id=b.proc_ins_id
|
|
|
+ b.power_line AS "powerLine",
|
|
|
+ b.power_scope AS "blackoutArea",
|
|
|
+ b.project_type AS "projectType",
|
|
|
+ b.power_flag_package AS "powerFailure",
|
|
|
+ b.preliminary_judgment AS "preliminaryJudgment",
|
|
|
+ b.flag_civil_engineering AS "civilEngineering",
|
|
|
+ b.steel_tube_pole AS "baseType",
|
|
|
+ b.flag_approval_planning AS "planApproval",
|
|
|
+ b.equ_create_type AS "transformationType",
|
|
|
+ b.equ_create_size AS "transformationEquipment",
|
|
|
+ b.flag_new_equ_name AS "newNamed",
|
|
|
+ b.include_bdz_news AS "putInto",
|
|
|
+ b.flag_no_electrical AS "electricalConstruction",
|
|
|
+ b.drawings_work AS "theAssignment",
|
|
|
+ b.flag_automation AS "automation",
|
|
|
+ b.two_and_three_remote AS "remote",
|
|
|
+ b.phone_style AS "communicationMode",
|
|
|
+ b.stay_open_area AS "inSitu",
|
|
|
+ b.ring_network_cabinet AS "networkCabinet",
|
|
|
+ b.station_dtu AS "station",
|
|
|
+ b.status As "status"
|
|
|
+ FROM xm_construction_clarificaiton a
|
|
|
+ LEFT JOIN xm_project_details b on a.project_id=b.id
|
|
|
WHERE a.id = #{id}
|
|
|
</select>
|
|
|
|