package com.njzscloud.supervisory.biz.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njzscloud.supervisory.biz.pojo.entity.BizAuditConfigEntity;
import com.njzscloud.supervisory.biz.pojo.result.SearchAuditConfigResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 审核配置
 */
@Mapper
public interface BizAuditConfigMapper extends BaseMapper<BizAuditConfigEntity> {

    IPage<SearchAuditConfigResult> paging(Page<Object> page, @Param("ew") QueryWrapper<BizAuditConfigEntity> ew);

    void modify(@Param("id") Long id, @Param("cityRole") String cityRole, @Param("areaRole") String areaRole);

    String getAreaName(@Param("area") String area);

    List<Map<String, Object>> listPicture();
}
