package com.huimv.xt.dao; import java.util.Date; import java.util.List; import java.util.Map; import com.huimv.da.dataobject.DaLqda; import com.huimv.sj.dataobject.SjFwjl; import com.huimv.xt.dataobject.XtSbcs; import com.huimv.xt.dataobject.XtSbcsExample; public interface XtSbcsDAO { /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_sbcs * * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014 */ int countByExample(XtSbcsExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_sbcs * * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014 */ int deleteByExample(XtSbcsExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_sbcs * * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014 */ int deleteByPrimaryKey(Integer id); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_sbcs * * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014 */ void insert(XtSbcs record); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_sbcs * * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014 */ void insertSelective(XtSbcs record); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_sbcs * * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014 */ List selectByExample(XtSbcsExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_sbcs * * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014 */ XtSbcs selectByPrimaryKey(Integer id); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_sbcs * * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014 */ int updateByExampleSelective(XtSbcs record, XtSbcsExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_sbcs * * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014 */ int updateByExample(XtSbcs record, XtSbcsExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_sbcs * * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014 */ int updateByPrimaryKeySelective(XtSbcs record); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_sbcs * * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014 */ int updateByPrimaryKey(XtSbcs record); /** * 返回List集合 */ List selectXtsbcsByParam(Map searchParam); /** * 返回统计结果 */ int selectCountXtsbcsByParam(Map searchParam); /** * 统计最近一天访问记录的体重 */ int selectCountFwjlByParam(Map searchParam); /** * 根据最近一天访问记录体重的统计得到临界体重 */ String selectDqtzFwjlByParam(Map searchParam); /** * 返回指定yjsb里面的最大ID */ int selectSbcsMaxId(); List selectTxtzByLqid(String lqid); String selectLqidByJpid(Map searchParam); List selectPjtzByParam(Map searchParam); DaLqda selectLqdaByJqid(Map searchParam); /** * 获取访问记录最多访问时间 */ Date selectMaxFwsjByParam(Map searchParam); public int selectIdByZsid(int zsid); public int selectMcidByJqid (Map paramMap); }