|
|
@@ -615,4 +615,28 @@ public class Order extends TscBaseDomain {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // 휴대폰 번호 대쉬 붙이기
|
|
|
+ public void setHypenRecipPhone() {
|
|
|
+ if (StringUtils.isNotBlank(this.cellPhnno)) {
|
|
|
+ if (this.recipPhnno.length() > 10) {
|
|
|
+ this.recipPhnno = this.recipPhnno.substring(0, 3) + "-" + this.recipPhnno.substring(3, 7) + "-" + this.recipPhnno.substring(7, 11);
|
|
|
+ } else {
|
|
|
+ this.recipPhnno = this.recipPhnno.substring(0, 3) + "-" + this.recipPhnno.substring(3, 6) + "-" + this.recipPhnno.substring(6, 10);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ private String birthYmd; // 생년월일(탈퇴 시 NULL로 처리)
|
|
|
+ private String sexGb; // 성별구분(공통코드G007). 탈퇴 시 NULL로 처리
|
|
|
+
|
|
|
+ public String getBirthYmd() {
|
|
|
+ this.birthYmd = CryptoUtils.decryptAES(this.birthYmd);
|
|
|
+ return this.birthYmd;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSexGb() {
|
|
|
+ this.sexGb = CryptoUtils.decryptAES(this.sexGb);
|
|
|
+ return this.sexGb;
|
|
|
+ }
|
|
|
+
|
|
|
}
|