ICrudSqlService.java
622 字节
package com.skua.modules.common.service;
/**
* <pre>
* 公共CURD服务接口,方法重载时,存在可变参数方法和定长参数方法,优先调用定长参数方法!
* </pre>
* @author sonin
* @version V0.1, 2022年4月13日 下午4:42:14
*/
public interface ICrudSqlService {
Boolean save(Object object) throws Exception;
Boolean save(Object... subObjs) throws Exception;
Boolean update(Object object) throws Exception;
Boolean update(Object... subObjs) throws Exception;
Boolean delete(Object object) throws Exception;
Boolean delete(Object... subObjs) throws Exception;
}