package com.huimv.xt.dao; import com.huimv.busi.base.dto.ResponseBean; import com.huimv.web.base.PageBean; import com.huimv.xt.dataobject.XtDmlb; import com.huimv.xt.dataobject.XtDmlbExample; import java.util.List; import java.util.Map; public interface XtDmlbDAO { /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ int countByExample(XtDmlbExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ int deleteByExample(XtDmlbExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ int deleteByPrimaryKey(Integer lbid); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ void insert(XtDmlb record); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ void insertSelective(XtDmlb record); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ List selectByExample(XtDmlbExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ XtDmlb selectByPrimaryKey(Integer lbid); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ int updateByExampleSelective(XtDmlb record, XtDmlbExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ int updateByExample(XtDmlb record, XtDmlbExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ int updateByPrimaryKeySelective(XtDmlb record); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ int updateByPrimaryKey(XtDmlb record); /** * 按条件搜索XtDmlb */ ResponseBean selectXtDmlbByParam(Map paramMap, PageBean pageBean) throws Exception; /** * 得到最大的顺序号 */ Integer selectMaxSxh(); /** * 插入XtDmlb,同时更新对应XtDmlb的sxh字段 * @param xtDmlb * 需要插入的XtDmlb */ public void insertXtDmlb(final XtDmlb xtDmlb); /** * 更新XtDmlb,同时更新对应XtDmlb的sxh字段 * @param yXtDmlb * 原XtDmlb * @param xXtDmlb * 新XtDmlb */ void updateXtDmlb(final XtDmlb yXtDmlb, final XtDmlb xXtDmlb); /** * 置废XtDmlb,同时更新对应XtDmlb的sxh字段 * @param xtDmlb * 需要置废的XtDmlb */ void disableXtDmlb(final XtDmlb xtDmlb); }