|
- select id, plan_code,plan_code_w, power_outage_devices, per_hour_households_m, per_hour_households_w, city, county, station, line_code, line_name, per_hour_households_artif,declar_agency, is_maintenance, is_approve, maintenance_file_path,maintenance_file_name, approve_file_path,approve_file_name, create_by, create_time, update_by, update_time from pdm_maintenance_process
|
|
+ select id, plan_code,plan_code_w, power_outage_devices, per_hour_households_m, per_hour_households_w, SUBSTRING_INDEX(city, '国网湖南省电力有限公司', -1)city, SUBSTRING_INDEX(SUBSTRING_INDEX(county, '国网湖南省电力有限公司', -1),'国网衡阳供电公司',-1)county, SUBSTRING_INDEX(station, '国网湖南省电力有限公司', -1)station, line_code, line_name, per_hour_households_artif,SUBSTRING_INDEX(declar_agency, '国网衡阳供电公司', -1) declar_agency, is_maintenance, is_approve, maintenance_file_path,maintenance_file_name, approve_file_path,approve_file_name, create_by, create_time, update_by, update_time,getHourNumFun(std_org_no,week_start_dt,week_end_dt)hour_num from pdm_maintenance_process
|
|
- <include refid="selectPdmMaintenanceProcessVo"/>
|
|
+ select a.*,d.manage_amt,d.manage_assistant_amt,d.dept_director_amt,d.dept_director_assistant_amt,d.dept_manage_amt,d.princip_amt,d.work_princip_amt,d.owner_amt from ( <include refid="selectPdmMaintenanceProcessVo"/>
|