123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- package com.huimv.xt.dao;
- import java.util.List;
- import java.util.Map;
- import com.huimv.busi.base.dto.ResponseBean;
- import com.huimv.web.base.PageBean;
- import com.huimv.xt.dataobject.XtGydm;
- import com.huimv.xt.dataobject.XtGydmExample;
- import com.huimv.xt.dataobject.XtGydmKey;
- public interface XtGydmDAO {
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_gydm
- *
- * @ibatorgenerated Fri May 30 10:23:18 CST 2014
- */
- int countByExample(XtGydmExample example);
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_gydm
- *
- * @ibatorgenerated Fri May 30 10:23:18 CST 2014
- */
- int deleteByExample(XtGydmExample example);
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_gydm
- *
- * @ibatorgenerated Fri May 30 10:23:18 CST 2014
- */
- int deleteByPrimaryKey(XtGydmKey key);
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_gydm
- *
- * @ibatorgenerated Fri May 30 10:23:18 CST 2014
- */
- void insert(XtGydm record);
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_gydm
- *
- * @ibatorgenerated Fri May 30 10:23:18 CST 2014
- */
- void insertSelective(XtGydm record);
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_gydm
- *
- * @ibatorgenerated Fri May 30 10:23:18 CST 2014
- */
- List<XtGydm> selectByExample(XtGydmExample example);
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_gydm
- *
- * @ibatorgenerated Fri May 30 10:23:18 CST 2014
- */
- XtGydm selectByPrimaryKey(XtGydmKey key);
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_gydm
- *
- * @ibatorgenerated Fri May 30 10:23:18 CST 2014
- */
- int updateByExampleSelective(XtGydm record, XtGydmExample example);
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_gydm
- *
- * @ibatorgenerated Fri May 30 10:23:18 CST 2014
- */
- int updateByExample(XtGydm record, XtGydmExample example);
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_gydm
- *
- * @ibatorgenerated Fri May 30 10:23:18 CST 2014
- */
- int updateByPrimaryKeySelective(XtGydm record);
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_gydm
- *
- * @ibatorgenerated Fri May 30 10:23:18 CST 2014
- */
- int updateByPrimaryKey(XtGydm record);
-
- List<XtGydm> selectBydmmc(XtGydm gydm);
-
- /**
- * 根据参数搜索XtGydm
- *
- * @return
- * @throws Exception
- */
- ResponseBean selectXtGydmByParam(Map<String, Object> paramMap, PageBean pageBean) throws Exception;
-
- /**
- * 搜索指定条件的XtGydm条数
- */
- public int countGydmByParam(Map<String, Object> paramMap);
-
- /**
- * 插入XtGydm并更新同类别下XtGydm.SXH
- * @param xtGydm
- * 需要插入的XtGydm
- */
- void insertXtGydm(final XtGydm xtGydm);
-
- /**
- * 修改XtGydm,同时更新同lbid下的XtGydm.SXH
- * @param yXtGydm
- * 原XtGydm
- * @param xXtGydm
- * 新XtGydm
- */
- void updateXtGydm(final XtGydm yXtGydm, final XtGydm xXtGydm);
-
- /**
- * 置废XtGydm,同时更新同lbid的XtGydm.SXH
- * @param xtGydm
- * 需要置废的XtGydm
- */
- void disableXtGydm(final XtGydm xtGydm);
-
- /**
- * 返回指定LBID中最大的DMID
- */
- int selectMaxDmidByLbid(Integer lbid);
-
- /**
- * 根据lbmc获取gydm
- */
- public List<XtGydm> selectGydmByLbmc(String lbmc);
- }
|