예제 #1
0
 /**
  * 查找 汽车品牌
  *
  * @param where
  * @param orderby
  * @param pageinfo
  * @return
  */
 public List findAllCarbrand(String where, String orderby, PageInfo pageinfo) {
   return carbrandManager.findAllCarbrand(where, orderby, pageinfo);
 }
예제 #2
0
 /**
  * 查找 汽车品牌
  *
  * @param where
  * @param orderby
  * @param limit
  * @param offset
  * @return
  */
 public List findAllCarbrand(String where, String orderby, int limit, int offset) {
   return carbrandManager.findAllCarbrand(where, orderby, limit, offset);
 }
예제 #3
0
 /**
  * 查找 汽车品牌
  *
  * @param id
  * @return
  */
 public Carbrand findCarbrand(long id) {
   return carbrandManager.findCarbrand(id);
 }
예제 #4
0
 /**
  * 修改 汽车品牌
  *
  * @param id
  * @return updated count
  */
 public int updateCarbrand(Carbrand carbrand) {
   return carbrandManager.updateCarbrand(carbrand);
 }
예제 #5
0
 /**
  * 修改 汽车品牌但忽略空值
  *
  * @param id
  * @return
  */
 public int updateCarbrandIgnoreNull(Carbrand carbrand) {
   return carbrandManager.updateCarbrandIgnoreNull(carbrand);
 }
예제 #6
0
  /**
   * 删除 汽车品牌
   *
   * @param id
   * @return deleted count
   */
  public int deleteCarbrand(long id) {

    return carbrandManager.deleteCarbrand(id);
  }
예제 #7
0
  /**
   * 创建 汽车品牌
   *
   * @param id
   * @return deleted count
   */
  public Carbrand createCarbrand(Carbrand carbrand) throws SQLException {

    return carbrandManager.createCarbrand(carbrand);
  }
예제 #8
0
 /**
  * 执行Sql
  *
  * @param sql
  * @return count
  */
 public int countCarbrandBySql(String sql) {
   return carbrandManager.countCarbrandBySql(sql);
 }
예제 #9
0
 /**
  * 执行Sql 汽车品牌
  *
  * @param sql
  * @return updated count
  */
 public int excuteCarbrandBySql(String sql) {
   return carbrandManager.excuteCarbrandBySql(sql);
 }
예제 #10
0
 /**
  * 根据Sql查找汽车品牌
  *
  * @param sql
  * @param limit
  * @param offset
  * @return
  */
 public List findAllCarbrand(String sql, int limit, int offset) {
   return carbrandManager.findAllCarbrand(sql, limit, offset);
 }