Beispiel #1
0
 /**
  * 查找 汽车品牌
  *
  * @param where
  * @param orderby
  * @param pageinfo
  * @return
  */
 public List findAllCarbrand(String where, String orderby, PageInfo pageinfo) {
   return carbrandManager.findAllCarbrand(where, orderby, pageinfo);
 }
Beispiel #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);
 }
Beispiel #3
0
 /**
  * 查找 汽车品牌
  *
  * @param id
  * @return
  */
 public Carbrand findCarbrand(long id) {
   return carbrandManager.findCarbrand(id);
 }
Beispiel #4
0
 /**
  * 修改 汽车品牌
  *
  * @param id
  * @return updated count
  */
 public int updateCarbrand(Carbrand carbrand) {
   return carbrandManager.updateCarbrand(carbrand);
 }
Beispiel #5
0
 /**
  * 修改 汽车品牌但忽略空值
  *
  * @param id
  * @return
  */
 public int updateCarbrandIgnoreNull(Carbrand carbrand) {
   return carbrandManager.updateCarbrandIgnoreNull(carbrand);
 }
Beispiel #6
0
  /**
   * 删除 汽车品牌
   *
   * @param id
   * @return deleted count
   */
  public int deleteCarbrand(long id) {

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

    return carbrandManager.createCarbrand(carbrand);
  }
Beispiel #8
0
 /**
  * 执行Sql
  *
  * @param sql
  * @return count
  */
 public int countCarbrandBySql(String sql) {
   return carbrandManager.countCarbrandBySql(sql);
 }
Beispiel #9
0
 /**
  * 执行Sql 汽车品牌
  *
  * @param sql
  * @return updated count
  */
 public int excuteCarbrandBySql(String sql) {
   return carbrandManager.excuteCarbrandBySql(sql);
 }
Beispiel #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);
 }