SettingPaymentMethodMapper.java
1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.diligrp.etrade.admin.dao;
import com.diligrp.etrade.admin.domain.SettingPaymentMethodDto;
import com.diligrp.etrade.admin.model.SettingPaymentMethod;
import com.diligrp.etrade.core.mybatis.MybatisMapperSupport;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* @author dili
* @description 针对表【setting_payment_method(支付方式设置)】的数据库操作Mapper
* @createDate 2023-08-24 11:03:32
* @Entity com.diligrp.etrade.admin.model.SettingPaymentMethod
*/
@Repository
public interface SettingPaymentMethodMapper extends MybatisMapperSupport {
int deleteByPrimaryKey(Long id);
int insert(SettingPaymentMethod record);
int insertSelective(SettingPaymentMethod record);
SettingPaymentMethod selectByPrimaryKey(Long id);
int updateByPrimaryKeySelective(SettingPaymentMethod record);
int updateByPrimaryKey(SettingPaymentMethod record);
List<SettingPaymentMethodDto> selectAllType();
List<SettingPaymentMethodDto> selectTypeByMarketId(Long marketId);
List<SettingPaymentMethodDto> selectTypeByMarketIds(@Param("marketIds") List<Long> marketIds);
/**
* 批量新增数据
*
* @param entities List<SettingPaymentMethod> 实例对象列表
* @return 影响行数
*/
int insertBatch(@Param("entities") List<SettingPaymentMethod> entities);
int deleteBy(SettingPaymentMethod record);
}