Prechádzať zdrojové kódy

Merge remote-tracking branch 'origin/style' into jsh77b

jsh77b 4 rokov pred
rodič
commit
eb309986c3

+ 19 - 0
src/main/java/com/style24/persistence/domain/Erp.java

@@ -48,4 +48,23 @@ public class Erp implements Serializable {
 	private String brandCd;		// 브랜드코드
 	private String dtSale;		// 판매일자
 
+	// BOS-한세ERP매출반영 화면에서 사용
+	private String tpSale;		// 판매구분(1:판매, 2:환불)
+	private int qtSale;			// 판매수량
+	private int amAcsale;		// 실판매금액(수량 * 단가)
+	private String dsRemark;	// 비고
+	private String noIf;		// YYYYMMDDHH24MISS(14자리) + 요청순번(4자리)
+	private String cdSalebill;	// 판매전표번호(매출일자, 브랜드 단위)
+	private String dsError;		// 실패메시지
+	private String startDt;		// 시작일자
+	private String endDt;		// 종료일자
+	private String status;		// 상태(S:성공, F:실패)
+	private String erpCdStyle;	// ERP스타일코드
+	private String erpCdColor;	// ERP색상코드
+	private String erpCdSize;	// ERP사이즈코드
+	private String mappingYn;	// 매핑등록여부
+	private Integer regNo;		// 등록자번호
+	private String regDt;		// 등록일시
+	private Integer updNo;		// 수정자번호
+
 }

+ 3 - 3
src/main/java/com/style24/persistence/domain/ExtmallOrder.java

@@ -698,10 +698,10 @@ public class ExtmallOrder extends TscBaseDomain {
 	public void setHypenRecipPhone() {
 		if (StringUtils.isNotBlank(this.cellPhnno)) {
 			String tempRecipPhone = this.cellPhnno.replaceAll("-","");
-			if (tempCellPhone.length() > 10) {
-				this.cellPhnno = tempCellPhone.substring(0, 3) + "-" + tempCellPhone.substring(3, 7) + "-" + tempCellPhone.substring(7, 11);
+			if (tempRecipPhone.length() > 10) {
+				this.cellPhnno = tempRecipPhone.substring(0, 3) + "-" + tempRecipPhone.substring(3, 7) + "-" + tempRecipPhone.substring(7, 11);
 			} else {
-				this.cellPhnno = tempCellPhone.substring(0, 3) + "-" + tempCellPhone.substring(3, 6) + "-" + tempCellPhone.substring(6, 10);
+				this.cellPhnno = tempRecipPhone.substring(0, 3) + "-" + tempRecipPhone.substring(3, 6) + "-" + tempRecipPhone.substring(6, 10);
 			}
 		}
 	}