|
|
|
@ -25,7 +25,6 @@ public interface BaseRepository <T, ID extends Serializable> extends JpaReposito
|
|
|
|
|
* 字符串,并且没有赋值,该方法将自动设置为uuid值
|
|
|
|
|
* @param item
|
|
|
|
|
* 持久对象,或者对象集合
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
T insert(T item);
|
|
|
|
|
|
|
|
|
@ -36,7 +35,6 @@ public interface BaseRepository <T, ID extends Serializable> extends JpaReposito
|
|
|
|
|
* @param item
|
|
|
|
|
* 持久对象,或者对象集合
|
|
|
|
|
* @param initParam 是否需要初始化值为null的属性,
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
T insert(T item,boolean initParam);
|
|
|
|
|
|
|
|
|
@ -45,7 +43,6 @@ public interface BaseRepository <T, ID extends Serializable> extends JpaReposito
|
|
|
|
|
*
|
|
|
|
|
* @param item
|
|
|
|
|
* 持久对象,或者对象集合
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
void update(Object... item);
|
|
|
|
|
|
|
|
|
@ -73,7 +70,6 @@ public interface BaseRepository <T, ID extends Serializable> extends JpaReposito
|
|
|
|
|
* @param qlString 基于jpa标准的ql语句
|
|
|
|
|
* @param values ql中的T参数值
|
|
|
|
|
* @return 返回执行后受影响的数据个数
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
int executeUpdate(String qlString, List<Object> values);
|
|
|
|
|
|
|
|
|
|