|
|
@@ -4,7 +4,6 @@ import java.util.Collection;
|
|
|
|
|
|
import com.gagaframework.web.parameter.GagaMap;
|
|
|
import com.gagaframework.web.security.GagaPasswordEncoder;
|
|
|
-import com.gagaframework.web.util.GagaCryptoUtil;
|
|
|
import com.gagaframework.web.util.GagaStringUtil;
|
|
|
import com.style24.admin.biz.service.TsaCustomerService;
|
|
|
import com.style24.admin.biz.service.TsaKakaoService;
|
|
|
@@ -312,7 +311,12 @@ public class TsaCustomerController extends TsaBaseController {
|
|
|
@ResponseBody
|
|
|
public GagaMap getCustomerActiveList(@RequestBody CustomerSearch customerSearch) {
|
|
|
GagaMap result = new GagaMap();
|
|
|
- customerSearch.setRegNo(TsaSession.getInfo().getUserNo()); // 엑셀조회시 로그인 사용자의 엑셀 상품조회시 사용
|
|
|
+ // 회원명, 이메일 암호화
|
|
|
+ if ("custNm".equals(customerSearch.getSearchGb()) || "email".equals(customerSearch.getSearchGb())) {
|
|
|
+ customerSearch.setSearchTxt(CryptoUtils.encryptAES(customerSearch.getSearchTxt()));
|
|
|
+ }
|
|
|
+ customerSearch.encryptData(); //데이터 암호화 필요
|
|
|
+ customerSearch.setRegNo(TsaSession.getInfo().getUserNo());
|
|
|
customerSearch.setPageable(new TscPageRequest(customerSearch.getPageNo()-1, customerSearch.getPageSize()));
|
|
|
customerSearch.getPageable().setTotalCount(customerService.getCustomerActiveListCount(customerSearch));
|
|
|
TscSession.setAttribute("maskingYn", TsaSession.getInfo().getMaskingYn());
|