package ${package.Service};

import ${package.Entity}.${entity};
import ${superServiceClassPackage};

import com.shinsoft.tools.model.common.ResultJSON;


/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {

   ResultJSON query(int page, int rows,String params);

   ResultJSON queryByPK(String id);

   ResultJSON save(String userId, String json);

   ResultJSON remove(String userId, String id);

   ResultJSON removeBatch(String userId, String ids);

 }
</#if>
