package com.fkzy.warn.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fkzy.warn.common.request.RequestParameter;
import com.fkzy.warn.common.response.ApiResponse;
import com.fkzy.warn.model.EnterpriseProvince;

import java.util.List;

/**
 * @author zhangjing
 * @date 2023/10/16 18:17
 * @description
 */
public interface EnterpriseProvinceService extends IService<EnterpriseProvince> {

    /**
     * 保存
     * @param entity
     * @return
     */
    ApiResponse saveModel(EnterpriseProvince entity, String ticket);

    /**
     * 修改
     * @param entity
     * @return
     */
    ApiResponse updateModel(EnterpriseProvince entity,String ticket);

    /**
     * 删除
     * @param ids
     * @return
     */
    ApiResponse deleteModel(List<String> ids);

    /**
     * 分页查询
     * @param parameter
     * @return
     */
    Page<EnterpriseProvince> queryPage(RequestParameter parameter);



}
