You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.4 KiB
XML
39 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE mapper
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<!-- 여기는 매퍼인터페이스를 경로를 정확히 입력해야 바인딩이 된다. -->
|
|
<mapper namespace="go.kr.project.biz.minwon.wait.mapper.MinwonWaitMapper">
|
|
|
|
<select id="findminwonwaitSearchMybatis"
|
|
parameterType="go.kr.project.biz.minwon.wait.dto.MinwonWaitDto$Request$Search"
|
|
resultType="go.kr.project.biz.minwon.wait.dto.MinwonWaitDto$Response$cpMainAnswerCancel">
|
|
select main.MM_CODE
|
|
, main.MM_DLGB
|
|
, answer.AS_BBS_NO
|
|
, main.MM_SGNM
|
|
, main.MM_SGTEL
|
|
, main.MM_DATE
|
|
, answer.AS_LIMIT_DT
|
|
, main.MM_INDT
|
|
, answer.AS_JSNO
|
|
, main.MM_CARNO
|
|
, cancel.CC_CAUSE
|
|
, answer.AS_INGB
|
|
, etc.MM_TEXT
|
|
, answer.AS_TEXT
|
|
from cp_main main
|
|
inner join cp_answer answer on (answer.AS_MMCODE = main.MM_CODE)
|
|
left outer join cp_cancel cancel on (cancel.CC_MMCODE = main.MM_CODE)
|
|
left outer join cp_main_etc1 etc on (etc.MM_CODE = main.MM_CODE)
|
|
where AS_STATE = '1'
|
|
|
|
<if test="searchKeyword != null and searchKeyword != ''">
|
|
and MM_DLGB = #{searchKeyword}
|
|
</if>
|
|
|
|
</select>
|
|
|
|
|
|
</mapper>
|