fo bo 머지작업 - 오류수정
This commit is contained in:
@@ -49,9 +49,7 @@ import org.springframework.ui.ModelMap;
|
||||
import org.springframework.util.CollectionUtils;
|
||||
import org.springframework.validation.BindingResult;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.CookieValue;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.math.BigInteger;
|
||||
@@ -1892,5 +1890,27 @@ public class GnrlscttController {
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 게시글 내용조회
|
||||
*
|
||||
* @param bbsctt 파라미터VO
|
||||
* @return List<DataMap> 전체 목록
|
||||
*/
|
||||
@Policy(AuthPolicy.PUBLIC)
|
||||
@RequestMapping(value = "/selectBOBbscttCnAjax", produces = MediaType.APPLICATION_JSON_VALUE)
|
||||
@ResponseBody
|
||||
public ResponseEntity<?> selectBOBbscttCnAjax(@RequestBody BOGnrlbbscttVO bbsctt) {
|
||||
Map<String, Object> content = new HashMap<>();
|
||||
DataMap result = boGnrlbbscttService.selectBOBbscttCn(bbsctt);
|
||||
if (result != null) {
|
||||
content.put("result", result);
|
||||
} else {
|
||||
content.put("result", "none");
|
||||
}
|
||||
return ResponseEntity.ok(
|
||||
WnbtResponse.builder()
|
||||
.resBody(new WnbtResponseBody(content))
|
||||
.build()
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user