update temp.pl_indoor_copy_2021_01_14_02 pcp
set distribution_system_const_mode=b.分布系统建设方式
from
(
select pcp.site_planning_id,t.分布系统建设方式 from temp.pl_indoor_copy_2021_01_14_02 pcp
inner join npas.wr_map_npa_mtnoh a on pcp.site_planning_id = a.npa_site_planning_id
inner join mtnoh.task_5 t on a. MTNOH_MAIN_WO_SEQNO=t.工单流水号
where pcp.distribution_system_const_mode is null and t.分布系统建设方式 is not null
)as b
where pcp.site_planning_id = b.site_planning_id
and pcp.distribution_system_const_mode is null;
##############阁下如果是抄袭,爬取文章作恶或误导他人的开发者,请阅读中国现行法律的相关处罚条例再动手,转载之前最好先验证#############