/*
 * ac_install_corr_dbio.h - ac 모듈 DB 접근 계층 copybook (ac_install_corr_dbio, part of libacdbio.a).
 * ECPG functions; run on the caller's XA branch (no EXEC SQL CONNECT).
 * Return convention: >=0 ok, -1 = SQL error.
 * Shape: 상관 서브쿼리 - 자기 매입 평균 초과 할부회차.
 */
#ifndef AC_INSTALL_CORR_DBIO_H
#define AC_INSTALL_CORR_DBIO_H

typedef struct { long install_id; long month_amount; } ac_install_corr_rec_t;

long acdb_install_above_own_avg(const char *bizdate);

#endif /* AC_INSTALL_CORR_DBIO_H */
