23 lines
736 B
XML
23 lines
736 B
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="com.wb.domainserver.domain.gcone.sms.mapper.BOSmsBillingMapper">
|
|
|
|
<select id="selectStoreList">
|
|
SELECT CAST(STR_INNB AS CHAR) as STR_INNB, TENTCPN_NM, TENT_STTUS,
|
|
CASE WHEN STR_OPER_DV = '01' THEN '[ 가맹 ]'
|
|
WHEN STR_OPER_DV = '02' THEN '[ 직영 ]'
|
|
WHEN STR_OPER_DV = '03' THEN '[ 유통 ]'
|
|
ELSE ''
|
|
END AS etc1
|
|
FROM GC_STORE
|
|
WHERE 1=1
|
|
<if test="storeInnb != null and storeInnb != ''">
|
|
AND STR_INNB = #{storeInnb}
|
|
</if>
|
|
</select>
|
|
|
|
|
|
</mapper>
|
|
|
|
|