ParkBerthAppointmentParkRelDao.java 2.53 KB
package com.zteits.park.dao;
import com.zteits.clouds.api.dto.park.dto.ParkBerthAppointmentParkRelDTO;
import com.github.pagehelper.PageInfo;
import com.zteits.clouds.api.dto.park.dto.ParkBerthAppointmentParkRelDTO;
import com.zteits.park.domain.ParkBerthAppointmentParkRel;
import com.zteits.park.domain.ParkBerthAppointmentParkRelExample;
import com.zteits.clouds.api.dto.park.param.ParkBerthAppointmentParkRelRequest;

import java.util.List;

public interface ParkBerthAppointmentParkRelDao {

    /**
     * 保存
     * @param parkBerthAppointmentParkRel
     * @return
     */
    int saveParkBerthAppointmentParkRel(ParkBerthAppointmentParkRel parkBerthAppointmentParkRel);


    /**
     * 动态更新
     * @param record 需要更新的信息
     * @param example 更新时的where条件
     * @return
     */
    int updateByExampleSelective(ParkBerthAppointmentParkRel record, ParkBerthAppointmentParkRelExample example);


    /**
     * 根据主键更新
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(ParkBerthAppointmentParkRel record);

    /**
     * 动态查询
     * @param example
     * @return
     */
    List<ParkBerthAppointmentParkRel> selectByExample(ParkBerthAppointmentParkRelExample example);

    /**
     * 根据主键查询
     * @param id
     * @return
     */
    ParkBerthAppointmentParkRel queryByPrimaryKey(Long id);

    /**
     * 动态查询
     * @param request
     * @return
     */
    List<ParkBerthAppointmentParkRel> queryParkBerthAppointmentParkRel(ParkBerthAppointmentParkRelRequest request);

    /**
     * 逻辑批量删除
     * @param ids
     * @param opId
     * @param opName
     * @return
     */
    int batchDeleteParkBerthAppointmentParkRelByPrimaryKey(List<Long> ids);

    /**
     * 查询可预约车场列表
     * @param request
     * @return
     */
    List<ParkBerthAppointmentParkRelDTO> queryAppointmentBerthParkList(ParkBerthAppointmentParkRelRequest request);

    /**
     * 根据appointmentConfigId删除记录
     * @param plNos
     * @return
     */
    int deleteAppointmentParkRelByAppointmentConfigId(List<String> plNos);

    /**
     * 动态分页查询
     * @param request
     * @return
     */
    //PageInfo<ParkBerthAppointmentParkRel> queryParkBerthAppointmentParkRelForPage(ParkBerthAppointmentParkRelRequest request);

    /**
     * 分页查询
     * @Auther: wangfs
     * @param
     * @return
     */
    PageInfo<ParkBerthAppointmentParkRelDTO> queryParkBerthAppointmentParkRelForPage(ParkBerthAppointmentParkRelRequest request);

}