package com.jsowell.pile.mapper; import com.jsowell.pile.domain.ClearingBillInfo; import com.jsowell.pile.dto.GetClearingBillDTO; import com.jsowell.pile.vo.web.MerchantClearingBillVO; import org.apache.ibatis.annotations.Param; import java.util.List; public interface ClearingBillInfoMapper { int deleteByPrimaryKey(Integer id); int insertSelective(ClearingBillInfo record); ClearingBillInfo selectByPrimaryKey(Integer id); int updateByPrimaryKeySelective(ClearingBillInfo record); int updateBatch(List list); int updateBatchSelective(List list); int batchInsert(@Param("list") List list); int insertOrUpdate(ClearingBillInfo record); int insertOrUpdateSelective(ClearingBillInfo record); List selectByMerchantId(@Param("merchantId") String merchantId, @Param("billStatus") String billStatus, @Param("tradeDate") String tradeDate); void updateStatus(@Param("clearingBillIds") List clearingBillIds, @Param("billStatus") String billStatus, @Param("withdrawCode") String withdrawCode); /** * 后管用 查询运营商账单列表 * * @param dto * @return */ List getMerchantClearingBillList(GetClearingBillDTO dto); List selectByWithdrawCode(@Param("withdrawCode") String withdrawCode); }