update order_install_detail_code set pgguid = #{request.pgguId},tmguid=#{request.tmguid}
where order_base_id = #{request.orderNo} and (pgguid is null or pgguid = '' or pgguid = '0');
update order_install_detail_code a,order_install_detail b set a.out_id=b.out_id
where a.order_base_id=b.order_base_id
and a.order_detail_id=b.id
and a.order_base_id = #{request.orderNo}
update order_install_detail_code a,order_detail_file b
set a.path=b.file_path,a.gree_image_id=b.brand_file_path
where a.order_base_id=b.order_base_id
and a.order_detail_id=b.order_detail_id
and a.type=b.file_type
and a.type=1
and a.status=1
and a.order_base_id #{request.orderNo}
update order_install_detail_code a,order_detail_file b set a.path=b.file_path,a.gree_image_id=b.brand_file_path
where a.order_base_id=b.order_base_id
and a.order_detail_id=b.order_detail_id
and a.type=b.file_type-1
and a.type=2
and a.status=1
and a.order_base_id = #{request.orderNo}