이지우 - 뉴스레터 서비스 신청 중복체크 수정
This commit is contained in:
parent
e9f248b47a
commit
f2299cfeaf
@ -355,7 +355,7 @@ private Logger log = Logger.getLogger(this.getClass());
|
||||
// 뉴스레터 중복확인
|
||||
int dupRs = newsService.newsDuplication(paramMap);
|
||||
|
||||
if(dupRs > 1){
|
||||
if(dupRs > 0){
|
||||
map.put("siteIdx", "case");
|
||||
map.put("url", "/user/news/case/01/"+siteMenuIdx+"/write.do");
|
||||
map.put("message", "user.survey.message.no.overlap");
|
||||
|
||||
@ -509,7 +509,7 @@ private Logger log = Logger.getLogger(this.getClass());
|
||||
// 뉴스레터 중복확인
|
||||
int dupRs = newsService.newsDuplication(paramMap);
|
||||
|
||||
if(dupRs > 1){
|
||||
if(dupRs > 0){
|
||||
map.put("siteIdx", "case");
|
||||
//map.put("url", "/web/user/news/case/01/"+siteMenuIdx+"/write.do");
|
||||
map.put("url", "/web/user/news/case/01/"+siteMenuIdx+"/newsList.do");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user