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 selectByExample(ParkBerthAppointmentConfigExample example); /** * 根据主键查询 * @param id * @return */ ParkBerthAppointmentConfig queryByPrimaryKey(Long id); /** * 动态查询 * @param request * @return */ List queryParkBerthAppointmentConfig(ParkBerthAppointmentConfigRequest request); /** * 逻辑批量删除 * @param ids * @return */ int batchDeleteParkBerthAppointmentConfigByPrimaryKey(List ids); /** * 动态分页查询 * @param request * @return */ PageInfo queryParkBerthAppointmentConfigForPage(ParkBerthAppointmentConfigRequest request); }