ParkBerthAppointmentConfigDao.java 1.74 KB
package com.zteits.park.dao;
import com.github.pagehelper.PageInfo;
import com.zteits.park.domain.ParkBerthAppointmentConfig;
import com.zteits.park.domain.ParkBerthAppointmentConfigExample;
import com.zteits.clouds.api.dto.park.param.ParkBerthAppointmentConfigRequest;

import java.util.List;

public interface ParkBerthAppointmentConfigDao {

    /**
     * 保存
     * @param parkBerthAppointmentConfig
     * @return
     */
    int saveParkBerthAppointmentConfig(ParkBerthAppointmentConfig parkBerthAppointmentConfig);


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


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

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

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

    /**
     * 动态查询
     * @param request
     * @return
     */
    List<ParkBerthAppointmentConfig> queryParkBerthAppointmentConfig(ParkBerthAppointmentConfigRequest request);

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

    /**
     * 动态分页查询
     * @param request
     * @return
     */
    PageInfo<ParkBerthAppointmentConfig> queryParkBerthAppointmentConfigForPage(ParkBerthAppointmentConfigRequest request);

}