SchedulePlanService.java 894 Bytes
package com.bsth.service.schedule;

import com.bsth.entity.schedule.SchedulePlan;
import com.bsth.service.BaseService;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * Created by xu on 16/6/16.
 */
public interface SchedulePlanService extends BaseService<SchedulePlan, Long> {

    /**
     * 查找分组排班信息。
     * @param xlid 线路Id
     * @param scheduleDate 排班日期
     * @return
     */
    List<Map<String, Object>> findGroupInfo(Integer xlid, Date scheduleDate);

    /**
     * 更新分组排班信息。
     * @param clid 车辆id
     * @param clZbh 车辆自编号
     * @param xlid 线路id
     * @param scheduleDate 排班日期
     * @param lpName 路牌名字
     * @return
     */
    int updateGroupInfo_clinfo(Integer clid, String clZbh, Integer xlid, Date scheduleDate, String lpName);
}