쿼리 sql 로그 추가
This commit is contained in:
@@ -7,9 +7,11 @@ import jakarta.persistence.EntityManager;
|
|||||||
import jakarta.persistence.PersistenceContext;
|
import jakarta.persistence.PersistenceContext;
|
||||||
import java.time.ZonedDateTime;
|
import java.time.ZonedDateTime;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.jdbc.core.JdbcTemplate;
|
import org.springframework.jdbc.core.JdbcTemplate;
|
||||||
import org.springframework.stereotype.Repository;
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
@Slf4j
|
||||||
@Repository
|
@Repository
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class GukYuinPnuCntUpdateJobRepositoryImpl
|
public class GukYuinPnuCntUpdateJobRepositoryImpl
|
||||||
@@ -33,6 +35,8 @@ public class GukYuinPnuCntUpdateJobRepositoryImpl
|
|||||||
where p.geo_uid = c_count.geo_uid and p.pnu != c_count.actual_count;
|
where p.geo_uid = c_count.geo_uid and p.pnu != c_count.actual_count;
|
||||||
""";
|
""";
|
||||||
|
|
||||||
|
log.info("===== tb_map_sheet_anal_data_inference_geom 의 pnu 테이블에 갯수 업데이트 하는 쿼리 수행 시작");
|
||||||
|
log.info("Executing query: {}", sql);
|
||||||
return jdbcTemplate.update(sql);
|
return jdbcTemplate.update(sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user