/** * 更新 * * @author: huylee * @time: 2015-8-20下午10:47:16 * @param bindSQL */ public void update(BindSQL bindSQL) { updateOrDelete(bindSQL.getSql(), bindSQL.getBindArgs()); }
/** * 根据BindSQL查询 Author: hyl Time: 2015-8-21上午10:55:46 * * @param bindSQL * @return */ public Cursor query(BindSQL bindSQL) { return query(bindSQL.getSql(), (String[]) bindSQL.getBindArgs()); }
/** * 根据BindSQL进行插入数据 Author: hyl Time: 2015-8-17下午9:55:36 * * @param bindSQL * @return * @throws Exception */ public long insert(BindSQL bindSQL) { return insert(bindSQL.getSql(), bindSQL.getBindArgs()); }