fix : 1:1문의 게시글관리(관리자)

This commit is contained in:
jazz
2025-12-26 11:08:58 +09:00
parent 118edb72dd
commit d4facbb997
11 changed files with 482 additions and 60 deletions

View File

@@ -81,6 +81,10 @@ public interface BOGnrlbbscttMapper {
/*사용자 > 이용안내 조회*/
public List<DataMap> selectUseGuidanceCn(BOGnrlbbscttVO bbsctt);
/**********1:1문의**********/
/*1:1문의 목록 조회*/
public List<DataMap> selectBOM2mBbscttListInqire(BOGnrlbbscttVO bbsctt);
/*******************
* 게시글 상세 조회
*******************/

View File

@@ -32,6 +32,8 @@ import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
import static java.lang.Integer.parseInt;
/**
* 게시글 관리 Service
*
@@ -334,6 +336,14 @@ public class BOGnrlbbscttService {
resultList = mapper.selectBOEvtBbscttListInqire(bbsctt);
}
break;
case "12": //1:1문의
resultList = mapper.selectBOM2mBbscttListInqire(bbsctt);
if(resultList != null && resultList.size() !=0){
resultCnt.setTotCnt(((BigInteger) resultList.get(0).get("totCnt")).intValue());
}else{
resultCnt.setTotCnt(0);
}
break;
}
/*비속어 필터*/