/** * This method was generated by Apache iBATIS ibator. This method corresponds to the database * table camera_count_day * * @ibatorgenerated Wed Jan 21 10:39:58 CST 2015 */ public int deleteByPrimaryKey(Integer id) { CameraCountDay key = new CameraCountDay(); key.setId(id); int rows = getSqlMapClientTemplate() .delete("camera_count_day.ibatorgenerated_deleteByPrimaryKey", key); return rows; }
/** * This method was generated by Apache iBATIS ibator. This method corresponds to the database * table camera_count_day * * @ibatorgenerated Wed Jan 21 10:39:58 CST 2015 */ public CameraCountDay selectByPrimaryKey(Integer id) { CameraCountDay key = new CameraCountDay(); key.setId(id); CameraCountDay record = (CameraCountDay) getSqlMapClientTemplate() .queryForObject("camera_count_day.ibatorgenerated_selectByPrimaryKey", key); return record; }