SELECT A.ba_comp_det_seq
     , A.ba_comp_seq
     , A.det_nm
     , A.det_desc
     , A.img_path_arr
     , A.sort_idx
     , A.use_yn
     , A.ins_dt
     , A.ins_id
     , A.ins_ip
     , A.upd_dt
     , A.upd_id
     , A.upd_ip
  FROM BA_COMP_DET A
 WHERE A.ba_comp_seq = :ba_comp_seq
 ORDER BY A.ba_comp_det_seq ASC