This commit is contained in:
ysukkyu
2026-05-14 18:14:49 +09:00
parent c0105c6847
commit 88e14edffd
50 changed files with 4870 additions and 172 deletions
@@ -3,7 +3,7 @@ package com.ga.core.vo.kpi;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.OffsetDateTime;
/**
* 계약 유지율 KPI 응답 VO (mv_retention 기반)
@@ -20,5 +20,5 @@ public class KpiRetentionResp {
private Long retained25m; // 25개월 시점 유지 계약 수
private BigDecimal retentionRate13m; // 13개월 유지율 (%)
private BigDecimal retentionRate25m; // 25개월 유지율 (%)
private LocalDateTime refreshedAt;
private OffsetDateTime refreshedAt;
}
@@ -82,9 +82,6 @@
</if>
</where>
ORDER BY g.months_from, g.effective_from DESC
<if test="pageSize != null and pageSize > 0">
LIMIT #{pageSize} OFFSET #{offset}
</if>
</select>
<!-- 단건 조회 (Resp: 코드명 포함) -->
@@ -88,9 +88,6 @@
</if>
</where>
ORDER BY p.contract_id, p.plan_year, p.plan_month
<if test="pageSize != null and pageSize > 0">
LIMIT #{pageSize} OFFSET #{offset}
</if>
</select>
<!-- 단건 조회 (Resp: 조인 포함) -->
@@ -66,9 +66,6 @@
</if>
</where>
ORDER BY r.plan_year, r.effective_from DESC
<if test="pageSize != null and pageSize > 0">
LIMIT #{pageSize} OFFSET #{offset}
</if>
</select>
<!-- 단건 조회 (Resp: 코드명 포함) -->
@@ -81,9 +81,6 @@
</if>
</where>
ORDER BY r.limit_type, r.effective_from DESC
<if test="pageSize != null and pageSize > 0">
LIMIT #{pageSize} OFFSET #{offset}
</if>
</select>
<!-- 단건 조회 (Resp: 코드명 포함) -->
@@ -76,9 +76,6 @@
</if>
</where>
ORDER BY d.deduction_id DESC
<if test="pageSize != null and pageSize > 0">
LIMIT #{pageSize} OFFSET #{offset}
</if>
</select>
<!-- 단건 조회 (Resp: 조인 포함) -->
@@ -104,9 +104,6 @@
</if>
</where>
ORDER BY s.statement_id DESC
<if test="pageSize != null and pageSize > 0">
LIMIT #{pageSize} OFFSET #{offset}
</if>
</select>
<!-- 단건 조회 (Resp: 조인 포함) -->