SELECT *
          , FN_BA_USER_INFO_R01(ins_id,'USER_NM') AS ins_nm
          , FN_SY_CLASS_R01(pay_type,'CLASS_NM') AS pay_type_nm
FROM RS_HPAY
WHERE rs_hmst_seq = :rs_hmst_seq
