package com.zteits.pay.dao; import com.zteits.pay.domain.TdCCustPersonFreeze; import com.zteits.pay.domain.TdCCustPersonFreezeExample; import com.zteits.clouds.api.dto.pay.param.TdCCustPersonFreezeRequest; import java.util.List; public interface TdCCustPersonFreezeDao { /** * 逻辑删除-通过主键 * @param id * @return */ int deleteTdCCustPersonFreezeByPrimaryKey(Long id,String opId,String opName); /** * 保存 * @param tdCCustPersonFreeze * @return */ int saveTdCCustPersonFreeze(TdCCustPersonFreeze tdCCustPersonFreeze); /** * 动态更新 * @param record 需要更新的信息 * @param example 更新时的where条件 * @return */ int updateByExampleSelective(TdCCustPersonFreeze record, TdCCustPersonFreezeExample example); /** * 根据主键更新 * @param record * @return */ int updateByPrimaryKeySelective(TdCCustPersonFreeze record); /** * 动态查询 * @param example * @return */ List selectByExample(TdCCustPersonFreezeExample example); /** * 根据主键查询 * @param id * @return */ TdCCustPersonFreeze queryByPrimaryKey(Long id); /** * 动态查询 * @param request * @return */ List queryTdCCustPersonFreeze(TdCCustPersonFreezeRequest request); /** * 逻辑批量删除 * @param ids * @param opId * @param opName * @return */ int batchDeleteTdCCustPersonFreezeByPrimaryKey(List ids, String opId, String opName); /** * 动态分页查询 * @param request * @return */ //PageInfo queryTdCCustPersonFreezeForPage(TdCCustPersonFreezeRequest request); }