package com.zteits.pay.dao; import com.zteits.pay.domain.TdCCommonProblem; import com.zteits.pay.domain.TdCCommonProblemExample; import com.zteits.clouds.api.dto.pay.param.TdCCommonProblemRequest; import java.util.List; public interface TdCCommonProblemDao { /** * 保存 * @param tdCCommonProblem * @return */ int saveTdCCommonProblem(TdCCommonProblem tdCCommonProblem); /** * 动态更新 * @param record 需要更新的信息 * @param example 更新时的where条件 * @return */ int updateByExampleSelective(TdCCommonProblem record, TdCCommonProblemExample example); /** * 根据主键更新 * @param record * @return */ int updateByPrimaryKeySelective(TdCCommonProblem record); /** * 动态查询 * @param example * @return */ List selectByExample(TdCCommonProblemExample example); /** * 根据主键查询 * @param id * @return */ TdCCommonProblem queryByPrimaryKey(Long id); /** * 动态查询 * @param request * @return */ List queryTdCCommonProblem(TdCCommonProblemRequest request); /** * 逻辑批量删除 * @param ids * @param opId * @param opName * @return */ int batchDeleteTdCCommonProblemByPrimaryKey(List ids, String opId, String opName); /** * 动态分页查询 * @param request * @return */ //PageInfo queryTdCCommonProblemForPage(TdCCommonProblemRequest request); }