jsshin пре 5 година
родитељ
комит
365f444ce4

+ 1 - 1
src/main/java/com/style24/persistence/domain/Delivery.java

@@ -42,7 +42,7 @@ public class Delivery extends TscBaseDomain {
 	private String recipNm;
 	private String recipTelno;
 	private String recipPhnno;
-	private String recipZipNo;
+	private String recipZipcode;
 	private String recipBaseAddr;
 	private String recipDtlAddr;
 	private String delvMemo;

+ 4 - 4
src/main/java/com/style24/persistence/mybatis/shop/TsaCustomer.xml

@@ -288,7 +288,7 @@
 		     , CDA.RECIP_NM
 		     , CDA.RECIP_PHNNO
 		     , CDA.RECIP_TELNO
-		     , CDA.RECIP_ZIP_NO
+		     , CDA.RECIP_ZIPCODE
 		     , CDA.RECIP_BASE_ADDR
 		     , CDA.RECIP_DTL_ADDR
 		     , CDA.DEL_YN
@@ -323,7 +323,7 @@
 		     , RECIP_NM
 		     , RECIP_PHNNO
 		     , RECIP_TELNO
-		     , RECIP_ZIP_NO
+		     , RECIP_ZIPCODE
 		     , RECIP_BASE_ADDR
 		     , RECIP_DTL_ADDR
 		     , DELV_MEMO
@@ -340,7 +340,7 @@
 		     , #{recipNm}
 		     , #{recipPhnno}
 		     , #{recipTelno}
-		     , #{recipZipNo}
+		     , #{recipZipcode}
 		     , #{recipBaseAddr}
 		     , #{recipDtlAddr}
 		     , #{delvMemo}
@@ -356,7 +356,7 @@
 		     , RECIP_NM = #{recipNm}
 		     , RECIP_PHNNO = #{recipPhnno}
 		     , RECIP_TELNO = #{recipTelno}
-		     , RECIP_ZIP_NO = #{recipZipNo}
+		     , RECIP_ZIPCODE = #{recipZipcode}
 		     , RECIP_BASE_ADDR = #{recipBaseAddr}
 		     , RECIP_DTL_ADDR  = #{recipDtlAddr}
 		     , DEL_YN = IFNULL(#{delYn}, 'N')

+ 4 - 4
src/main/webapp/WEB-INF/views/customer/CustomerDetailForm.html

@@ -306,7 +306,7 @@
 									<tr>
 										<th>주소<i class="star"></i></th>
 										<td colspan="5">
-											<input type="text" id="recipZipNo" name="recipZipNo" class="w100" maxlength="10" required="required" data-valid-name="주소"/>
+											<input type="text" id="recipZipcode" name="recipZipcode" class="w100" maxlength="10" required="required" data-valid-name="주소"/>
 											<button type="button" class="btn btn-info btn-lg" onclick="fnOpenDaumAddr('custAddrForm');">우편번호찾기</button>
 											<br/>
 											<input type="text" id="recipBaseAddr" name="recipBaseAddr" class="w300" maxlength="50" required="required" data-valid-name="주소"/>
@@ -816,7 +816,7 @@
 		{headerName: "수령자", field: "recipNm", width: 100, cellClass: 'text-center'},
 		{headerName: "전화번호", field: "recipTelno", width: 130, cellClass: 'text-center'},
 		{headerName: "휴대전화번호", field: "recipPhnno", width: 130, cellClass: 'text-center'},
-		{headerName: "우편번호", field: "recipZipNo", width: 100, cellClass: 'text-center'},
+		{headerName: "우편번호", field: "recipZipcode", width: 100, cellClass: 'text-center'},
 		{headerName: "기본주소", field: "recipBaseAddr", width: 300, cellClass: 'text-left'},
 		{headerName: "상세주소", field: "recipDtlAddr", width: 150, cellClass: 'text-left'},
 		{
@@ -1115,7 +1115,7 @@
 				$('#custAddrForm input[name=telLastNo]').val(telNoSplit[2]);
 			}
 
-			$('#custAddrForm input[name=recipZipNo]').val(event.data.recipZipNo);
+			$('#custAddrForm input[name=recipZipcode]').val(event.data.recipZipcode);
 			$('#custAddrForm input[name=recipBaseAddr]').val(event.data.recipBaseAddr);
 			$('#custAddrForm input[name=recipDtlAddr]').val(event.data.recipDtlAddr);
 
@@ -1260,7 +1260,7 @@
 				}
 
 				if (id === 'custAddrForm') {
-					$('#recipZipNo').val(data.zonecode);
+					$('#recipZipcode').val(data.zonecode);
 					$('#recipBaseAddr').val(cfnGetDaumRoadAddr(data));
 					$('#recipDtlAddr').focus();
 				}