package com.gree.mall.manager.commonmapper;

import com.baomidou.mybatisplus.annotation.SqlParser;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gree.mall.manager.bean.sop.SopPushTaskData;
import com.gree.mall.manager.bean.sop.SopRuleData;
import com.gree.mall.manager.plus.entity.AdminCompanyWechat;
import com.gree.mall.manager.plus.entity.AdminUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

@Mapper
public interface SopRulePushMapper {


    IPage<SopRuleData> list(IPage page,
                            @Param("ruleName") String ruleName,
                            @Param("status") Integer status,
                            @Param("companyIds") List<String> companyIds,
                            @Param("id") String id);

    SopPushTaskData detailTask(String id);

    List<SopPushTaskData> getTaskPush(String id);
}
