package cn.pluss.platform.deviceSignUnbind;

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

import cn.pluss.platform.api.Result;
import cn.pluss.platform.entity.DeviceSignUnbind;
import cn.pluss.platform.mapper.DeviceSignUnbindMapper;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface DeviceSignUnbindService extends IService<DeviceSignUnbind> {

    DeviceSignUnbind queryDeviceSignUnbind(DeviceSignUnbind deviceSignUnbind);

    default Page<DeviceSignUnbind> pageWithMerchantInfo(Page<DeviceSignUnbind> page, Wrapper<Object> queryWrapper) {
        return ((DeviceSignUnbindMapper) getBaseMapper()).selectPageWithMerchantInfo(page, queryWrapper);
    }

    List<DeviceSignUnbind> queryDeviceSignUnbindPage(Map map);

    Integer queryDeviceSignUnbindPageCount(Map map);

    /**
     * applyDeviceSignUnbind:(激活/解绑接口). <br/>
     *
     * @param orderNo
     * @param soleCode
     * @return
     * @author Administrator
     * @since JDK 1.8
     */
    Result<String> applyDeviceSignUnbind(String orderNo, String soleCode, String sn);
}

