EmployeeConfigInfoService.java
1.8 KB
package com.bsth.service.schedule;
import com.bsth.entity.schedule.EmployeeConfigInfo;
import com.bsth.entity.sys.CompanyAuthority;
import com.bsth.service.schedule.exception.ScheduleException;
import java.util.List;
/**
* Created by xu on 16/5/10.
*/
public interface EmployeeConfigInfoService extends BService<EmployeeConfigInfo, Long> {
// 验证驾驶员配置是否重复配置
void validate_jsy(EmployeeConfigInfo employeeConfigInfo) throws ScheduleException;
// 验证售票员配置是否重复配置
void validate_spy(EmployeeConfigInfo employeeConfigInfo) throws ScheduleException;
// 验证驾驶员是否配置在指定线路
void validate_jsy_config(EmployeeConfigInfo employeeConfigInfo) throws ScheduleException;
// 判定驾驶员所属公司和当前用户的所属公司
void validate_jsy_gs(EmployeeConfigInfo employeeConfigInfo, List<CompanyAuthority> companyAuthorityList) throws ScheduleException;
// 判定驾驶员所属分公司和当前用户的所属分公司
void validate_jsy_fgs(EmployeeConfigInfo employeeConfigInfo, List<CompanyAuthority> companyAuthorityList) throws ScheduleException;
// 验证售票员是否配置在指定线路
void validate_spy_config(EmployeeConfigInfo employeeConfigInfo) throws ScheduleException;
// 判定驾驶员所属公司和当前用户的所属公司
void validate_spy_gs(EmployeeConfigInfo employeeConfigInfo, List<CompanyAuthority> companyAuthorityList) throws ScheduleException;
// 判定驾驶员所属分公司和当前用户的所属分公司
void validate_spy_fgs(EmployeeConfigInfo employeeConfigInfo, List<CompanyAuthority> companyAuthorityList) throws ScheduleException;
void toggleCancel(Long id) throws ScheduleException;
Long getMaxDbbm(Integer xlId);
}