select
    a.ID
     , a.ContractID
     , a.ContractPointID
     , a.CommID
     , b.`Number`
     , b.Name
     , b.`Type`
     , a.PointBeginTime
     , a.PointEndTime
     , a.RentFreeEndTime
     , a.PointState
from ods_erp_tb_divfmanage_contractpoint_d a
         left join ods_erp_tb_divfmanage_point_d b
                   on a.ContractPointID = b.ID
where a.IsDelete = 0