TTInfoService.java
841 Bytes
package com.bsth.service.schedule;
import com.bsth.entity.schedule.TTInfo;
import com.bsth.service.schedule.exception.ScheduleException;
import java.util.List;
import java.util.Map;
/**
* Created by xu on 16/5/12.
*/
public interface TTInfoService extends BService<TTInfo, Long> {
void validate_name(TTInfo ttInfo) throws ScheduleException;
void validate_n_d(TTInfo ttInfo) throws ScheduleException;
void validate_s_d(TTInfo ttInfo) throws ScheduleException;
void toggleCancel(Long id) throws ScheduleException;
void backUp(Long ttInfoId) throws ScheduleException;
List<Map<String, Object>> getLineStationRouteVersions(Integer lineId);
String getLineVersionDesc(Integer lineId, Integer version);
List<Map<String, Object>> getLineVersions(Integer lineId, Integer status);
}