Просмотр исходного кода

리스트에 답변의뢰여부 항목 추가. 휴대전화번호, 이름, 이메일 마스킹 처리

gagamel 5 лет назад
Родитель
Сommit
0be2d16cef

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

@@ -82,6 +82,11 @@ public class Counsel extends TscBaseDomain {
 		return this.custNm;
 	}
 
+	public String getCellPhnno() {
+		this.cellPhnno = CryptoUtils.decryptAES(this.cellPhnno);
+		return this.cellPhnno;
+	}
+
 	public String getEmail() {
 		this.email = CryptoUtils.decryptAES(this.email);
 		return this.email;
@@ -96,7 +101,7 @@ public class Counsel extends TscBaseDomain {
 	}
 
 	public String getMaskingCellPhnno() {
-		return TsaSession.getInfo().getMaskingYn().equals("Y") ? MaskingUtils.phoneNo(cellPhnno) : cellPhnno;
+		return TsaSession.getInfo().getMaskingYn().equals("Y") ? MaskingUtils.phoneNo(getCellPhnno()) : getCellPhnno();
 	}
 
 	public String getMaskingEmail() {

+ 1 - 0
src/main/webapp/WEB-INF/views/customer/GoodsQnaForm.html

@@ -175,6 +175,7 @@
 			headerName: "답변일시", field: "ansDt", width: 150, cellClass: 'text-center',
 			cellRenderer: function (params) { return gagaAgGrid.toDateTimeFormat(params.value); }
 		},
+		{headerName: "답변의뢰여부", field: "ansTransYn", width: 100, cellClass: 'text-center'},
 		{
 			headerName: "답변의뢰업체", field: "ansCompCd", width: 150, cellClass: 'text-center',
 			cellRenderer: function (params) { return gagaAgGrid.lookupValue(supplyCompList, params.value); }