diff --git a/src/main/java/cokr/xit/fims/mngt/dao/FactionMapper.java b/src/main/java/cokr/xit/fims/mngt/dao/FactionMapper.java index 82eafff9..4afadf69 100644 --- a/src/main/java/cokr/xit/fims/mngt/dao/FactionMapper.java +++ b/src/main/java/cokr/xit/fims/mngt/dao/FactionMapper.java @@ -103,7 +103,7 @@ public interface FactionMapper extends AbstractMapper { List sggs = selectSggs(req); - return !sggs.isEmpty() ? sggs.get(0) : null; + return (!sggs.isEmpty() || sggs.size() == 1) ? sggs.get(0) : null; } diff --git a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt03010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt03010-main.jsp index 0ccc738b..3443ee2b 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt03010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt03010-main.jsp @@ -270,7 +270,7 @@ $(document).ready(function(){ ajax.get({ url: wctx.url("mngt/mngt03/010/getSggInfo.do"), data: { - sggID : $P.curSggCd + sggCd : $P.curSggCd }, success : function(resp, textStatus, jqXHR) { $P.sggInfo = resp.sggInfo; diff --git a/src/main/webapp/WEB-INF/jsp/include/top.jsp b/src/main/webapp/WEB-INF/jsp/include/top.jsp index 797f1e61..5b273977 100644 --- a/src/main/webapp/WEB-INF/jsp/include/top.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/top.jsp @@ -87,7 +87,7 @@
- " alt + " alt class="w-px-40 h-auto rounded-circle" />
${currentUser.name} @@ -101,7 +101,7 @@
- " alt + " alt class="w-px-40 h-auto rounded-circle" />
diff --git a/src/main/webapp/resources/image/no-image.png b/src/main/webapp/resources/image/no-image.png deleted file mode 100644 index b8d4f7c6..00000000 Binary files a/src/main/webapp/resources/image/no-image.png and /dev/null differ diff --git a/src/main/webapp/resources/image/no-image.svg b/src/main/webapp/resources/image/no-image.svg new file mode 100644 index 00000000..dddf484b --- /dev/null +++ b/src/main/webapp/resources/image/no-image.svg @@ -0,0 +1,100 @@ + + + + + + + \ No newline at end of file diff --git a/src/main/webapp/resources/image/user-circle-solid-24.png b/src/main/webapp/resources/image/user-circle-solid-24.png deleted file mode 100644 index 1e0ff6cb..00000000 Binary files a/src/main/webapp/resources/image/user-circle-solid-24.png and /dev/null differ diff --git a/src/main/webapp/resources/image/user-circle-solid-24.svg b/src/main/webapp/resources/image/user-circle-solid-24.svg new file mode 100644 index 00000000..84d3257e --- /dev/null +++ b/src/main/webapp/resources/image/user-circle-solid-24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/main/webapp/resources/js/fims/framework/cmm/componentization.js b/src/main/webapp/resources/js/fims/framework/cmm/componentization.js index d0d0bf47..f5464621 100644 --- a/src/main/webapp/resources/js/fims/framework/cmm/componentization.js +++ b/src/main/webapp/resources/js/fims/framework/cmm/componentization.js @@ -273,7 +273,7 @@ function fnMakeSingleImageViewer(imgEl, fileInputEl, dataAttributeForFilePath, d $(imgEl).attr("src", orgnPath); } else { $(imgEl).attr("alt", "파일이 없습니다."); - $(imgEl).attr("src", "/resources/image/no-image.png"); + $(imgEl).attr("src", "/resources/image/no-image.svg"); } }