Files
jsowell-charger-web/jsowell-pile/src/main/java/com/jsowell/pile/mapper/ClearingBillInfoMapper.java

80 lines
2.0 KiB
Java
Raw Normal View History

2023-07-21 16:19:20 +08:00
package com.jsowell.pile.mapper;
import com.jsowell.pile.domain.ClearingBillInfo;
import com.jsowell.pile.dto.GetClearingBillDTO;
import com.jsowell.pile.vo.web.MerchantClearingBillVO;
2023-08-01 16:59:33 +08:00
import org.apache.ibatis.annotations.Param;
import java.util.List;
2023-07-21 16:19:20 +08:00
public interface ClearingBillInfoMapper {
/**
* delete by primary key
2023-08-22 17:06:20 +08:00
*
2023-07-21 16:19:20 +08:00
* @param id primaryKey
* @return deleteCount
*/
int deleteByPrimaryKey(Integer id);
/**
* insert record to table
2023-08-22 17:06:20 +08:00
*
2023-07-21 16:19:20 +08:00
* @param record the record
* @return insert count
*/
int insert(ClearingBillInfo record);
2023-09-21 11:36:24 +08:00
int insertOrUpdate(ClearingBillInfo record);
int insertOrUpdateSelective(ClearingBillInfo record);
2023-07-21 16:19:20 +08:00
/**
* insert record to table selective
2023-08-22 17:06:20 +08:00
*
2023-07-21 16:19:20 +08:00
* @param record the record
* @return insert count
*/
int insertSelective(ClearingBillInfo record);
/**
* select by primary key
2023-08-22 17:06:20 +08:00
*
2023-07-21 16:19:20 +08:00
* @param id primary key
* @return object by primary key
*/
ClearingBillInfo selectByPrimaryKey(Integer id);
/**
* update record selective
2023-08-22 17:06:20 +08:00
*
2023-07-21 16:19:20 +08:00
* @param record the updated record
* @return update count
*/
int updateByPrimaryKeySelective(ClearingBillInfo record);
/**
* update record
2023-08-22 17:06:20 +08:00
*
2023-07-21 16:19:20 +08:00
* @param record the updated record
* @return update count
*/
int updateByPrimaryKey(ClearingBillInfo record);
2023-08-01 16:59:33 +08:00
2023-09-21 11:36:24 +08:00
int updateBatch(List<ClearingBillInfo> list);
int updateBatchSelective(List<ClearingBillInfo> list);
int batchInsert(@Param("list") List<ClearingBillInfo> list);
2023-09-21 13:09:52 +08:00
List<ClearingBillInfo> selectByMerchantId(@Param("merchantId") String merchantId, @Param("billStatus") String billStatus, @Param("tradeDate") String tradeDate);
2023-08-01 16:59:33 +08:00
void updateStatus(@Param("clearingBillIds") List<Integer> clearingBillIds, @Param("billStatus") String billStatus);
/**
* 后管用 查询运营商账单列表
2023-09-21 11:36:24 +08:00
*
* @param dto
* @return
*/
List<MerchantClearingBillVO> getMerchantClearingBillList(GetClearingBillDTO dto);
2023-07-21 16:19:20 +08:00
}