package com.ssm.manage.service;

import com.github.pagehelper.PageInfo;
import com.ssm.core.service.BaseService;
import com.ssm.manage.entity.CancelDebtList;
import com.ssm.manage.entity.SmsException;
import com.ssm.manage.extendEntity.CallEntity;
import com.ssm.manage.query.CancelDebtListRequest;
import com.ssm.manage.query.CashListRequest;
import com.ssm.manage.response.CancelDebtListReponse;
import com.ssm.manage.response.CashListResponse;

import java.text.ParseException;

public interface SsmCancelDebtListService  extends BaseService<CancelDebtList> {
    PageInfo<CancelDebtListReponse> selectPage(CancelDebtListRequest cashListRequest) throws SmsException, ParseException;
    PageInfo<CancelDebtListReponse> selectById(CancelDebtListRequest cashListRequest) throws SmsException, ParseException;

    int add(CancelDebtListRequest cancelDebtListRequest,String staffPhone) throws SmsException;
    int update(CancelDebtListRequest cancelDebtListRequest,String staffPhone) throws SmsException;
    int audit(CancelDebtList cancelDebtListRequest,String staffPhone) throws SmsException;
    int submit(CancelDebtList cancelDebtListRequest,String staffPhone) throws SmsException;
    int recycle(CancelDebtList cancelDebtListRequest,String staffPhone) throws SmsException;
    int theaudit(CancelDebtList cancelDebtListRequest,String staffPhone) throws SmsException;
    int delete(CancelDebtList cancelDebtListRequest) throws SmsException;

    void insert(CancelDebtList cancelDebtList);

    void deleteByDocNum(CancelDebtList cancelDebtList);
}
