From ea58f79355dd5715c7889623f59f5e8fca81e811 Mon Sep 17 00:00:00 2001
From: 이민희 <mhlee@maprex.co.kr>
Date: 목, 23 12월 2021 15:51:39 +0900
Subject: [PATCH] Merge branch 'master' of http://192.168.0.25:9001/r/owl-kisa

---
 src/main/java/kr/wisestone/owl/web/controller/HostingFieldController.java |   24 ++++++++++++++++++------
 1 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/src/main/java/kr/wisestone/owl/web/controller/HostingFieldController.java b/src/main/java/kr/wisestone/owl/web/controller/HostingFieldController.java
index 7b5302d..51f8a3b 100644
--- a/src/main/java/kr/wisestone/owl/web/controller/HostingFieldController.java
+++ b/src/main/java/kr/wisestone/owl/web/controller/HostingFieldController.java
@@ -1,6 +1,7 @@
 package kr.wisestone.owl.web.controller;
 
 import kr.wisestone.owl.constant.Constants;
+import kr.wisestone.owl.constant.UsePartner;
 import kr.wisestone.owl.service.HostingFieldService;
 import kr.wisestone.owl.web.condition.HostingFieldCondition;
 import kr.wisestone.owl.web.form.HostingFieldForm;
@@ -26,7 +27,7 @@
     private HostingFieldService HostingFieldService;
 
     // �뾽泥� �깮�꽦
-    @RequestMapping(value = "/hosting/add", method = RequestMethod.POST)
+    @RequestMapping(value = "/hostingField/add", method = RequestMethod.POST)
     public
     @ResponseBody
     Map<String, Object> add(@RequestBody Map<String, Map<String, Object>> params) {
@@ -38,7 +39,7 @@
     }
 
     // �뾽泥� 議고쉶
-    @RequestMapping(value = "/hosting/find", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE)
+    @RequestMapping(value = "/hostingField/find", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE)
     public
     @ResponseBody
     Map<String, Object> find(@RequestBody Map<String, Map<String, Object>> params) {
@@ -51,7 +52,7 @@
     }
 
     // �뾽泥� �긽�꽭 議고쉶
-    @RequestMapping(value = "/hosting/detail", produces = MediaType.APPLICATION_JSON_VALUE)
+    @RequestMapping(value = "/hostingField/detail", produces = MediaType.APPLICATION_JSON_VALUE)
     public
     @ResponseBody
     Map<String, Object> detail(@RequestBody Map<String, Map<String, Object>> params) {
@@ -62,7 +63,7 @@
     }
 
     // �뾽泥� �닔�젙
-    @RequestMapping(value = "/hosting/modify", produces = MediaType.APPLICATION_JSON_VALUE)
+    @RequestMapping(value = "/hostingField/modify", produces = MediaType.APPLICATION_JSON_VALUE)
     public
     @ResponseBody
     Map<String, Object> modify(@RequestBody Map<String, Map<String, Object>> params) {
@@ -74,7 +75,7 @@
     }
 
     // �뾽泥� �궘�젣
-    @RequestMapping(value = "/hosting/remove", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE)
+    @RequestMapping(value = "/hostingField/remove", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE)
     public
     @ResponseBody
     Map<String, Object> remove(@RequestBody Map<String, Map<String, Object>> params) {
@@ -86,9 +87,20 @@
         return this.setSuccessMessage(resJsonData);
     }
 
+    // �뾽泥�/ISP/�샇�뒪�똿 紐⑸줉 媛��졇�삤湲�
+    @RequestMapping(value = "/company/getPartnerList", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE)
+    public
+    @ResponseBody
+    Map<String, Object> getPartnerList(@RequestBody Map<String, Map<String, Object>> params) {
+        Map<String, Object> resJsonData = new HashMap<>();
+        resJsonData.put(Constants.REQ_KEY_CONTENT, UsePartner.getPartnerList());
+
+        return this.setSuccessMessage(resJsonData);
+    }
+
 
     // �뾽泥� �뿊�� �떎�슫濡쒕뱶
-    @RequestMapping(value = "/hosting/downloadExcel", method = RequestMethod.POST)
+    @RequestMapping(value = "/hostingField/downloadExcel", method = RequestMethod.POST)
     public ModelAndView downloadExcel(HttpServletRequest request, Model model) {
         return this.HostingFieldService.downloadExcel(request, model);
     }

--
Gitblit v1.8.0