feat : 플레인 jsp 페이지 작성, 개별총정보 작업 시작

pull/2/head
Kurt92 3 months ago
parent 4b64631609
commit b25dc91d3a

@ -14,6 +14,7 @@ import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.List;

@ -1,9 +1,15 @@
package go.kr.project.biz.totalInfo.controller;
import egovframework.constant.MessageConstants;
import egovframework.constant.TilesConstants;
import egovframework.util.ApiResponseUtil;
import go.kr.project.biz.minwon.init.model.MinwonInitDto;
import lombok.RequiredArgsConstructor;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@Controller
@RequiredArgsConstructor
@ -14,4 +20,16 @@ public class TotalInfoController {
return "biz/totalInfo/totalInfo_popup" + TilesConstants.POPUP;
}
@PostMapping("/total/info/info.ajax")
@ResponseBody
public ResponseEntity<?> getMinwonInitListAjax() {
return ApiResponseUtil.success("");
}
}

@ -0,0 +1,44 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="main_body">
</div>
<!-- /Main body -->
<script type="text/javascript">
const fnBiz = {
init: () => {
},
search: () => {
$.ajax({
url: "",
type: "POST",
data: { id : "" },
success: function(response) {
},
error: function(xhr, status, error) {
}
});
}
}
$(function () {
fnBiz.init();
});
</script>

@ -6,11 +6,46 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>개별총정보</title>
</head>
<body>
요거슨 개별총정보
</body>
</html>
<div class="main_body">
요거슨 개별 총 정보
</div>
<!-- /Main body -->
<script type="text/javascript">
const fnBiz = {
init: () => {
},
search: () => {
$.ajax({
url: "",
type: "POST",
data: { id : "" },
success: function(response) {
},
error: function(xhr, status, error) {
}
});
}
}
$(function () {
fnBiz.init();
});
</script>
Loading…
Cancel
Save