package com.ssm.manage.service;

import com.github.pagehelper.PageInfo;
import com.ssm.core.service.BaseService;
import com.ssm.manage.entity.ServiceOrders;
import com.ssm.manage.entity.SmsException;
import com.ssm.manage.entity.StoreSettlement;
import com.ssm.manage.query.ServiceOrdersRequest;
import com.ssm.manage.query.StoreSettlementRequest;

import java.util.List;

public interface SsmStoreSettlementService  extends BaseService<StoreSettlement> {

    int add(List<StoreSettlementRequest> serviceOrdersRequest, String phone) throws SmsException;
    int update(StoreSettlementRequest serviceOrdersRequest, String phone) throws SmsException;
    int tuifang(StoreSettlementRequest serviceOrdersRequest, String phone) throws SmsException;
    int roomChange(List<StoreSettlementRequest> serviceOrdersRequest, String phone) throws SmsException;
    int detele(StoreSettlementRequest serviceOrdersRequest, String phone) throws SmsException;
    int updateTime(StoreSettlementRequest serviceOrdersRequest, String phone) throws SmsException;
    int updateTimeX(StoreSettlementRequest serviceOrdersRequest, String phone) throws SmsException;

    PageInfo<StoreSettlement> selectPage(StoreSettlementRequest serviceOrdersRequest) throws SmsException;
}
