--- .claude/.gitignore
+++ .claude/.gitignore
... | ... | @@ -1,1 +1,2 @@ |
| 1 | 1 |
/settings.local.json |
| 2 |
+/mcp_settings.json |
--- src/main/java/itn/let/mjo/msgsent/service/impl/MjonMsgSentServiceImpl.java
+++ src/main/java/itn/let/mjo/msgsent/service/impl/MjonMsgSentServiceImpl.java
... | ... | @@ -34,6 +34,7 @@ |
| 34 | 34 |
|
| 35 | 35 |
import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; |
| 36 | 36 |
import egovframework.rte.fdl.idgnr.EgovIdGnrService; |
| 37 |
+import itn.com.cmm.util.StringUtil; |
|
| 37 | 38 |
import itn.com.cmm.util.StringUtil2; |
| 38 | 39 |
import itn.let.cmm.vo.FileInfoVO; |
| 39 | 40 |
import itn.let.fax.addr.service.FaxAddrGroupVO; |
... | ... | @@ -126,6 +127,11 @@ |
| 126 | 127 |
|
| 127 | 128 |
Map<String, Object> resultMap = new HashMap<String, Object>(); |
| 128 | 129 |
|
| 130 |
+ //수신번호 검색 시 번호 포멧 통일 |
|
| 131 |
+ if("4".equals(mjonMsgSentVO.getSearchCondition()) && StringUtil.isNotEmpty(mjonMsgSentVO.getSearchKeyword())) {
|
|
| 132 |
+ mjonMsgSentVO.setSearchKeyword(mjonMsgSentVO.getSearchKeyword().trim().replace("-", ""));
|
|
| 133 |
+ } |
|
| 134 |
+ |
|
| 129 | 135 |
// 목록 |
| 130 | 136 |
List<MjonMsgSentVO> resultList = mjonMsgSentDAO.selectAllMsgSentList_advc(mjonMsgSentVO); |
| 131 | 137 |
|
--- src/main/resources/egovframework/sqlmap/let/msg/MjonMsgSent_SQL_mysql.xml
+++ src/main/resources/egovframework/sqlmap/let/msg/MjonMsgSent_SQL_mysql.xml
... | ... | @@ -254,6 +254,9 @@ |
| 254 | 254 |
<isEqual property="searchCondition" compareValue="3" > |
| 255 | 255 |
AND B.SMS_TXT LIKE CONCAT('%', #searchKeyword#, '%')
|
| 256 | 256 |
</isEqual> |
| 257 |
+ <isEqual property="searchCondition" compareValue="4" > |
|
| 258 |
+ AND A.CALL_TO LIKE CONCAT('%', #searchKeyword#, '%')
|
|
| 259 |
+ </isEqual> |
|
| 257 | 260 |
</isNotEmpty> |
| 258 | 261 |
<isNotEmpty property="searchCondition01"> |
| 259 | 262 |
AND B.RESERVE_YN = #searchCondition01# |
... | ... | @@ -473,6 +476,9 @@ |
| 473 | 476 |
<isEqual property="searchCondition" compareValue="3" > |
| 474 | 477 |
AND B.SMS_TXT LIKE CONCAT('%', #searchKeyword#, '%')
|
| 475 | 478 |
</isEqual> |
| 479 |
+ <isEqual property="searchCondition" compareValue="4" > |
|
| 480 |
+ AND A.CALL_TO LIKE CONCAT('%', #searchKeyword#, '%')
|
|
| 481 |
+ </isEqual> |
|
| 476 | 482 |
</isNotEmpty> |
| 477 | 483 |
<isNotEmpty property="searchCondition01"> |
| 478 | 484 |
AND B.RESERVE_YN = #searchCondition01# |
--- src/main/webapp/WEB-INF/jsp/web/msgsent/MsgSentView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgsent/MsgSentView.jsp
... | ... | @@ -888,10 +888,11 @@ |
| 888 | 888 |
<button type="button" class="btnType6" onClick="javascript:fnSearch(1); return false;">조회</button> |
| 889 | 889 |
</div> |
| 890 | 890 |
<div class="btn_right"> |
| 891 |
- <label for="searchCondition" class="label">검색 조건: ${mjonMsgSentVO.searchCondition == '2' ? '발신번호' : '문자내용'}</label>
|
|
| 891 |
+ <label for="searchCondition" class="label">검색 조건: ${mjonMsgSentVO.searchCondition == '2' ? '발신번호' : mjonMsgSentVO.searchCondition == '3' ? '문자내용' : '수신번호'}</label>
|
|
| 892 | 892 |
<select name="searchCondition" id="searchCondition" class="selType2 select_btn"> |
| 893 | 893 |
<option value="2" <c:if test="${mjonMsgSentVO.searchCondition == '2'}">selected</c:if> >발신번호</option>
|
| 894 | 894 |
<option value="3" <c:if test="${mjonMsgSentVO.searchCondition == '3'}">selected</c:if> >문자내용</option>
|
| 895 |
+ <option value="4" <c:if test="${mjonMsgSentVO.searchCondition == '4'}">selected</c:if> >수신번호</option>
|
|
| 895 | 896 |
</select> |
| 896 | 897 |
<div class="search"> |
| 897 | 898 |
<label for="id" class="label"></label> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?