package com.ssm.manage.service;

import com.ssm.core.service.BaseService;
import com.ssm.manage.entity.SmsException;
import com.ssm.manage.entity.StaffSalary;
import com.ssm.manage.query.StaffSalaryRequest;
import com.ssm.manage.response.StaffSalaryResponse;

import java.text.ParseException;
import java.util.List;

public interface SsmStaffSalaryService extends BaseService<StaffSalary> {
    List<StaffSalary> selectSalary(StaffSalaryRequest staffSalaryRequest) throws ParseException, SmsException;
    List<StaffSalary> selectSalarys(StaffSalaryRequest staffSalaryRequest) throws ParseException, SmsException;

    StaffSalaryResponse selectSalaryByStaff(StaffSalaryRequest staffSalaryRequest) throws ParseException, SmsException;

    int add(List<StaffSalaryRequest> staffSalaryRequests);

    int delete(StaffSalaryRequest staffSalaryRequest);
}
