2023-07-21 16:19:20 +08:00
|
|
|
package com.jsowell.pile.mapper;
|
|
|
|
|
|
|
|
|
|
import com.jsowell.pile.domain.ClearingBillInfo;
|
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);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 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-08-08 10:32:30 +08:00
|
|
|
List<ClearingBillInfo> selectByMerchantId(@Param("merchantId") String merchantId, @Param("billStatus") String billStatus);
|
2023-08-01 16:59:33 +08:00
|
|
|
|
|
|
|
|
void updateStatus(@Param("clearingBillIds") List<Integer> clearingBillIds, @Param("billStatus") String billStatus);
|
2023-07-21 16:19:20 +08:00
|
|
|
}
|