package ${package.Service};

import ${package.Entity}.${entity};
import ${superServiceClassPackage};
import ${package.Entity}.vo.${entity}Vo;
import cn.hutool.json.JSONObject;
import java.util.Map;
import com.baomidou.mybatisplus.core.metadata.IPage;
/**
 * <p>
 * $!{table.comment} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
#if(${kotlin})
interface ${table.serviceName} : ${superServiceClass}<${entity}>
#else
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {
        /**
         *保存$!{table.comment}
         * @param entity  $!{table.comment}业务数据
         * @return
         */
        JSONObject saveT(${entity} entity);
        /**
         *修改$!{table.comment}
         * @param  entity $!{table.comment}业务数据
         * @return
         */
        JSONObject update(${entity} entity);
        /**
         *删除$!{table.comment}数据
         * @param id $!{table.comment}主键尖
         * @return
         */
        JSONObject delete(String id);

        /**
         * 按照条件查询$!{table.comment}信息
         * @param pageQuery
         * @throws Exception
         */
        IPage<Map<String,Object>> findPageVo(${entity}Vo pageQuery) ;


 }
#end
