diff --git a/WebContent/jsp/onl/apim/portalterms/portalTermsTypeManPopup.jsp b/WebContent/jsp/onl/apim/portalterms/portalTermsTypeManPopup.jsp
index b80f855..6ebe1ad 100644
--- a/WebContent/jsp/onl/apim/portalterms/portalTermsTypeManPopup.jsp
+++ b/WebContent/jsp/onl/apim/portalterms/portalTermsTypeManPopup.jsp
@@ -55,6 +55,7 @@
data: {cmd: 'TYPE_CONFIG'},
success: function(json) {
termsTypeRows = json.typeRows || [];
+ $("#agreeAllEnabled").prop('checked', json.agreeAllEnabled === true);
renderTermsTypeConfig();
},
error: function(e) {
@@ -134,7 +135,8 @@
$.ajax({
type: "POST",
url: url,
- data: {cmd: 'TYPE_CONFIG_SAVE', enabledTypes: enabledTypes.join(','), displayTypes: displayTypes.join(',')},
+ data: {cmd: 'TYPE_CONFIG_SAVE', enabledTypes: enabledTypes.join(','), displayTypes: displayTypes.join(','),
+ agreeAllEnabled: $("#agreeAllEnabled").is(':checked')},
success: function() {
alert("저장되었습니다.");
// 목록 화면의 '(사용안함)' 표기가 바뀌므로 부모 화면을 다시 읽도록 알린다
@@ -188,6 +190,24 @@
+
| 약관 페이지 노출 |
diff --git a/src/main/java/com/eactive/eai/rms/onl/apim/portalterms/PortalTermsManController.java b/src/main/java/com/eactive/eai/rms/onl/apim/portalterms/PortalTermsManController.java
index bba5fcd..0fe12b0 100644
--- a/src/main/java/com/eactive/eai/rms/onl/apim/portalterms/PortalTermsManController.java
+++ b/src/main/java/com/eactive/eai/rms/onl/apim/portalterms/PortalTermsManController.java
@@ -79,24 +79,27 @@ public class PortalTermsManController extends BaseAnnotationController {
return ResponseEntity.ok(resultMap);
}
- /** 약관 종류 관리(사용 여부 / 약관 페이지 노출 순서) 조회 */
+ /** 약관 종류 관리(사용 여부 / 약관 페이지 노출 순서 / 전체 동의 허용) 조회 */
@PostMapping(value = "/onl/apim/portalterms/portalTermsMan.json", params = "cmd=TYPE_CONFIG")
public ResponseEntity |