1234567891011121314151617181920212223242526272829303132333435 |
- package com.ylx.massage.mapper;
- import java.util.List;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import org.apache.ibatis.annotations.Param;
- import com.ylx.massage.domain.RefundVoucher;
- /**
- * 退款单(RefundVoucher)表数据库访问层
- *
- * @author makejava
- * @since 2024-07-02 17:42:09
- */
- public interface RefundVoucherMapper extends BaseMapper<RefundVoucher> {
- /**
- * 批量新增数据(MyBatis原生foreach方法)
- *
- * @param entities List<RefundVoucher> 实例对象列表
- * @return 影响行数
- */
- int insertBatch(@Param("entities") List<RefundVoucher> entities);
- /**
- * 批量新增或按主键更新数据(MyBatis原生foreach方法)
- *
- * @param entities List<RefundVoucher> 实例对象列表
- * @return 影响行数
- * @throws org.springframework.jdbc.BadSqlGrammarException 入参是空List的时候会抛SQL语句错误的异常,请自行校验入参
- */
- int insertOrUpdateBatch(@Param("entities") List<RefundVoucher> entities);
- }
|