1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
| "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
| <mapper namespace="kr.wisestone.owl.mapper.IssueHostingMapper">
|
| <select id="findInIssueIds" resultType="java.util.HashMap" parameterType="kr.wisestone.owl.web.condition.IssueCondition">
| SELECT
| ih.id as id,
| ih.issue_id as issueId,
| ih.hosting_id as hostingId,
| ih.name as hostingName,
| ih.code as hostingCode,
| ih.manager as hostingManager,
| ih.tel as hostingTel,
| ih.email as hostingEmail,
| ih.url as hostingUrl,
| ih.memo as hostingMemo
| FROM issue_hosting ih
| WHERE 1=1
| <choose>
| <when test="issueIds.size != 0">
| AND ih.issue_id IN
| <foreach collection="issueIds" item="item" index="index" separator="," open="(" close=")">
| #{item}
| </foreach>
| </when>
| </choose>
| </select>
|
| </mapper>
|
|