package com.dmnlk.doma.dao;

import org.skife.jdbi.v2.sqlobject.Bind;
import org.skife.jdbi.v2.sqlobject.SqlQuery;

/**
 * @author dmnlk.
 */
public interface TAccountDao {
    @SqlQuery
    Integer findById(@Bind("account_id") int id);
}

@@ -179,16 +179,83 @@
 SqlQuery
+(%22select account_id from t_account where account_id = :account_id%22)
 %0A    Int

write query