package your.project.dao;  //改为你工程的相应package

import your.project.vo.BasicVo;
import com.github.walker.mybatis.paginator.PageBounds;

import java.util.List;
import java.util.Map;

/**
 * mybatis DAO基类
 * <p/>
 * Created by HuQingmiao on 2015-5-29.
 */
public interface BasicDao {

    public int save(BasicVo basicVo);

    public void saveBatch(List list);


    public int update(BasicVo basicVo);

    public int updateIgnoreNull(BasicVo basicVo);

    public void updateBatch(List list);


    public int delete(BasicVo basicVo);

    public void deleteBatch(List list);

    public int deleteByPK(Long id);

    public int deleteAll();


    public long count();

    public BasicVo findByPK(Long id);

    public List find(Map<String, Object> paramMap, PageBounds pageBounds);
}

@@ -324,20 +324,19 @@
  public 
-void
+int
  saveBat
@@ -455,20 +455,19 @@
  public 
-void
+int
  updateB
@@ -541,12 +541,11 @@
 lic 
-void
+int
  del

修改update,save,dealete接口的返回类型，使得接口返回受影响的记录条数