|
|
@@ -1,44 +0,0 @@
|
|
|
-package com.zheng.upms.rpc.api;
|
|
|
-
|
|
|
-import org.apache.ibatis.annotations.Param;
|
|
|
-
|
|
|
-import java.util.List;
|
|
|
-
|
|
|
-/**
|
|
|
- * baseService接口
|
|
|
- * @author shuzheng
|
|
|
- * @date 2016年7月7日 上午9:58:23
|
|
|
- */
|
|
|
-public interface BaseService<Record, Example> {
|
|
|
-
|
|
|
- int countByExample(Example example);
|
|
|
-
|
|
|
- int deleteByExample(Example example);
|
|
|
-
|
|
|
- int deleteByPrimaryKey(Integer id);
|
|
|
-
|
|
|
- int insert(Record record);
|
|
|
-
|
|
|
- int insertSelective(Record record);
|
|
|
-
|
|
|
- List<Record> selectByExampleWithBLOBs(Example example);
|
|
|
-
|
|
|
- List<Record> selectByExample(Example example);
|
|
|
-
|
|
|
- Record selectByPrimaryKey(Integer id);
|
|
|
-
|
|
|
- int updateByExampleSelective(@Param("record") Record record, @Param("example") Example example);
|
|
|
-
|
|
|
- int updateByExampleWithBLOBs(@Param("record") Record record, @Param("example") Example example);
|
|
|
-
|
|
|
- int updateByExample(@Param("record") Record record, @Param("example") Example example);
|
|
|
-
|
|
|
- int updateByPrimaryKeySelective(Record record);
|
|
|
-
|
|
|
- int updateByPrimaryKeyWithBLOBs(Record record);
|
|
|
-
|
|
|
- int updateByPrimaryKey(Record record);
|
|
|
-
|
|
|
- int deleteByPrimaryKeys(String ids);
|
|
|
-
|
|
|
-}
|