랜드 소유권 변경시 우편 발송

This commit is contained in:
2025-03-14 18:23:39 +09:00
parent e1cb55871b
commit 160377fe20
13 changed files with 117 additions and 56 deletions

View File

@@ -209,6 +209,13 @@
AND status NOT IN ('AUCTION_END', 'DELETE', 'FAIL', 'CANCEL')
</select>
<select id="getPossibleLandOwnerChanges" parameterType="integer" resultType="integer">
SELECT count(*)
FROM land_ownership_changes
WHERE land_id = #{landId}
AND status = 'WAIT'
</select>
<!--이벤트 상세 조회-->
<select id="getLandAuctionDetail" parameterType="java.lang.Long" resultMap="LandAuctionResultMap" >
SELECT
@@ -383,12 +390,13 @@
, building_name
, status
, user_guid
, user_name
, is_reserve
, reservation_dt
FROM land_ownership_changes
WHERE (status = 'WAIT')
AND deleted = 0
AND is_reserve = 1
-- AND is_reserve = 1
</select>
</mapper>