package com.tuoheng.service;

import com.tuoheng.model.dto.LoginUser;
import com.tuoheng.model.entity.Area;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tuoheng.model.query.AreaQuery;
import com.tuoheng.until.JsonResult;
import org.springframework.stereotype.Service;

/**
* @author 小影
* @description 针对表【t_area】的数据库操作Service
* @createDate 2023-03-06 14:58:40
*/
public interface AreaService extends IService<Area> {
    /**
     * 查询区域信息
     * @param query
     * @return
     */
    JsonResult index(AreaQuery query);
    /**
     * 新增区域信息
     * @param entity
     * @return
     */
    JsonResult edit(Area entity, LoginUser loginUser);

    JsonResult deleteByIds(Long[] ids);

}
