Skip to content

Commit

Permalink
Fix: Get only 전세
Browse files Browse the repository at this point in the history
  • Loading branch information
Minjae-vincent committed Jul 17, 2024
1 parent 0b414ae commit 442d6aa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/resources/mapper/JeonseMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
<mapper namespace="kr.ac.kopo.jeonse.domain.jeonse.mapper.JeonseMapper">
<select id="selectRemainJeonse" resultType="kr.ac.kopo.jeonse.domain.jeonse.domain.Jeonse">
SELECT * FROM naver_real_estate
WHERE address = #{address} and
atclnm = #{aptName}
WHERE tradtpnm = '전세' and
address = #{address} and
atclnm = #{aptName}
</select>

<select id="getJeonseList" resultType="kr.ac.kopo.jeonse.domain.jeonse.dto.QueryResponse">
Expand Down

0 comments on commit 442d6aa

Please sign in to comment.