Преглед изворни кода

수거장소전화번호 가져오기 수정

dwkim пре 2 година
родитељ
комит
6dbea330ed
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/main/resources/mybatis/sqlmaps/inoutmng/ShmtOdr.xml

+ 1 - 1
src/main/resources/mybatis/sqlmaps/inoutmng/ShmtOdr.xml

@@ -115,7 +115,7 @@
115 115
                 ,ptcl.podr_amt as 'pchOdrDtlInfo.podr_amt', date_format(base.dlv_req_dt,'%Y.%m.%d') as dlv_req_dt
116 116
                 , base.shmt_whs_id, base.shmt_location, ptcl.pch_req_unq_no as 'pchOdrDtlInfo.pch_req_unq_no' , ptcl.pch_req_dtl_no as 'pchOdrDtlInfo.pch_req_dtl_no'
117 117
                 , base.store_id , base.podr_mgr_nm , base.podr_mgr_tel_no
118
-                , fn_get_telno((select tel_no from store_base_info where store_id = base.store_id )) as deli_tel_no
118
+                , nvl(fn_get_telno((select mgr_tel_no from whs_mgnt_base_info where brand_id = base.brand_id and whs_id = base.whs_id)),'  ') as deli_tel_no
119 119
                 , date_format(base.podr_dt,'%Y%m%d') as podr_dt
120 120
                 , base.spply_id, fn_spply_nm(base.spply_id) as spply_nm
121 121
         from   pch_odr_base_info base