시술, 이벤트 validation 삭제
This commit is contained in:
@@ -458,32 +458,32 @@ public class ContentsBbsServiceImpl implements ContentsBbsService {
|
||||
map.put("msgDesc","제목 정보가 없습니다.");
|
||||
}
|
||||
|
||||
if(true != ValidationCheckUtil.emptyCheck(content)){
|
||||
check = false;
|
||||
map.put("msgCode", Constants.FAIL);
|
||||
map.put("msgDesc","시술예약(쁘띠) 상세 정보가 없습니다.");
|
||||
}
|
||||
if(true != ValidationCheckUtil.emptyCheck(hashtag)){
|
||||
check = false;
|
||||
map.put("msgCode", Constants.FAIL);
|
||||
map.put("msgDesc","시술예약(쁘띠) 해시태그 정보가 없습니다.");
|
||||
}
|
||||
if(true != ValidationCheckUtil.emptyCheck(thumbnail_bottom_txt)){
|
||||
check = false;
|
||||
map.put("msgCode", Constants.FAIL);
|
||||
map.put("msgDesc","시술예약(쁘띠) 썸네일 하단 정보가 없습니다.");
|
||||
}
|
||||
|
||||
if(null==file|| file.isEmpty()){
|
||||
check = false;
|
||||
map.put("msgCode", Constants.FAIL);
|
||||
map.put("msgDesc","배너 이미지 정보가 없습니다.");
|
||||
}
|
||||
if(null==content_file|| content_file.isEmpty()){
|
||||
check = false;
|
||||
map.put("msgCode", Constants.FAIL);
|
||||
map.put("msgDesc","첨부파일 정보가 없습니다.");
|
||||
}
|
||||
// if(true != ValidationCheckUtil.emptyCheck(content)){
|
||||
// check = false;
|
||||
// map.put("msgCode", Constants.FAIL);
|
||||
// map.put("msgDesc","시술예약(쁘띠) 상세 정보가 없습니다.");
|
||||
// }
|
||||
// if(true != ValidationCheckUtil.emptyCheck(hashtag)){
|
||||
// check = false;
|
||||
// map.put("msgCode", Constants.FAIL);
|
||||
// map.put("msgDesc","시술예약(쁘띠) 해시태그 정보가 없습니다.");
|
||||
// }
|
||||
// if(true != ValidationCheckUtil.emptyCheck(thumbnail_bottom_txt)){
|
||||
// check = false;
|
||||
// map.put("msgCode", Constants.FAIL);
|
||||
// map.put("msgDesc","시술예약(쁘띠) 썸네일 하단 정보가 없습니다.");
|
||||
// }
|
||||
//
|
||||
// if(null==file|| file.isEmpty()){
|
||||
// check = false;
|
||||
// map.put("msgCode", Constants.FAIL);
|
||||
// map.put("msgDesc","배너 이미지 정보가 없습니다.");
|
||||
// }
|
||||
// if(null==content_file|| content_file.isEmpty()){
|
||||
// check = false;
|
||||
// map.put("msgCode", Constants.FAIL);
|
||||
// map.put("msgDesc","첨부파일 정보가 없습니다.");
|
||||
// }
|
||||
|
||||
if(true == check){
|
||||
// 사용자 확인
|
||||
@@ -681,7 +681,7 @@ public class ContentsBbsServiceImpl implements ContentsBbsService {
|
||||
map.put("msgCode", Constants.FAIL);
|
||||
map.put("msgDesc","제목 정보가 없습니다.");
|
||||
}
|
||||
|
||||
/*
|
||||
if(true != ValidationCheckUtil.emptyCheck(content)){
|
||||
check = false;
|
||||
map.put("msgCode", Constants.FAIL);
|
||||
@@ -712,7 +712,7 @@ public class ContentsBbsServiceImpl implements ContentsBbsService {
|
||||
map.put("msgDesc", "사용자 정보가 올바르지 않습니다.");
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
if(true == check){
|
||||
// 권한 조회
|
||||
HashMap<String, Object> authCheckParamMap = new HashMap<String, Object>();
|
||||
|
||||
@@ -157,7 +157,9 @@
|
||||
,#{modId}
|
||||
,NOW()
|
||||
,#{oldCrmItemId}
|
||||
,#{ordNo}
|
||||
,(SELECT MAX(ORD_NO) + 1
|
||||
FROM HP_CONTENTS_BBS as TEMP
|
||||
WHERE CATEGORY_DIV_CD = #{categoryDivCd} AND CATEGORY_NO = #{categoryNo})
|
||||
)
|
||||
</insert>
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ function fn_insertWebEvent(){
|
||||
modalEvent.warning("등록", "제목을 입력하세요.");
|
||||
return;
|
||||
}
|
||||
|
||||
/** 20251024 이상우팀장 요청으로 인해 필수입력 validation 삭제
|
||||
if(true != fn_emptyCheck(content)) {
|
||||
modalEvent.warning("등록", "내용을 입력하세요.");
|
||||
return;
|
||||
@@ -51,20 +51,9 @@ function fn_insertWebEvent(){
|
||||
modalEvent.warning("등록", "썸네일 하단 내용을 입력하세요.");
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
if(true != fn_emptyCheck(eventStartDate)) {
|
||||
modalEvent.warning("등록", "이벤트 시작일자를 입력하세요.");
|
||||
return;
|
||||
}
|
||||
|
||||
if(true != fn_emptyCheck(eventEndDate)) {
|
||||
modalEvent.warning("등록", "이벤트 종료일자를 입력하세요.");
|
||||
return;
|
||||
}
|
||||
*/
|
||||
if(true != fn_emptyCheck(file)) {
|
||||
modalEvent.warning("등록", "섬네일 정보가 없습니다.");
|
||||
modalEvent.warning("등록", "썸네일 이미지가 첨부되지 않았습니다.");
|
||||
return;
|
||||
}else{
|
||||
for(let i=0; i<file.length; i++){
|
||||
@@ -77,7 +66,7 @@ function fn_insertWebEvent(){
|
||||
}
|
||||
}
|
||||
if(true != fn_emptyCheck(content_file)) {
|
||||
modalEvent.warning("등록", "섬네일 정보가 없습니다.");
|
||||
modalEvent.warning("등록", "컨텐츠 이미지가 첨부되지 않았습니다.");
|
||||
return;
|
||||
}else{
|
||||
for(let i=0; i<content_file.length; i++){
|
||||
@@ -89,7 +78,7 @@ function fn_insertWebEvent(){
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
modalEvent.info("등록", categorytitle + " 정보를 등록하시겠습니까?", function(){
|
||||
let formData = new FormData();
|
||||
formData.append("menuClass", menuClass);
|
||||
|
||||
@@ -108,7 +108,7 @@ function fn_updateWebTreatmentPetit(){
|
||||
modalEvent.warning("등록", "제목을 입력하세요.");
|
||||
return;
|
||||
}
|
||||
|
||||
/** 20251024 이상우팀장 요청으로 인해 필수입력 validation 삭제
|
||||
if(true != fn_emptyCheck(content)) {
|
||||
modalEvent.warning("등록", "내용을 입력하세요.");
|
||||
return;
|
||||
@@ -121,18 +121,7 @@ function fn_updateWebTreatmentPetit(){
|
||||
modalEvent.warning("등록", "썸네일 하단 내용을 입력하세요.");
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
if(true != fn_emptyCheck(eventStartDate)) {
|
||||
modalEvent.warning("등록", "이벤트 시작일자를 입력하세요.");
|
||||
return;
|
||||
}
|
||||
|
||||
if(true != fn_emptyCheck(eventEndDate)) {
|
||||
modalEvent.warning("등록", "이벤트 종료일자를 입력하세요.");
|
||||
return;
|
||||
}
|
||||
*/
|
||||
if(true != fn_emptyCheck(file)) {
|
||||
if($(".img_box > img").length > 0){
|
||||
|
||||
@@ -169,7 +158,7 @@ function fn_updateWebTreatmentPetit(){
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
modalEvent.info("수정", categorytitle + " 정보를 수정하시겠습니까?", function(){
|
||||
let formData = new FormData();
|
||||
formData.append("menuClass", menuClass);
|
||||
|
||||
Reference in New Issue
Block a user