Administrator
2023-12-07 633254dd9b9d56ac0241abb3b962b7de86a3adb3
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
package com.dy.pipIrrSell.paymentMethod;
 
import com.dy.common.webUtil.QueryResultVo;
import com.dy.pipIrrGlobal.daoSe.SePaymentMethodMapper;
import com.dy.pipIrrGlobal.pojoSe.SePaymentMethod;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
/**
 * @author ZhuBaoMin
 * @date 2023/12/5 16:22
 * @LastEditTime 2023/12/5 16:22
 * @Description
 */
 
@Slf4j
@Service
public class PaymentMethodSv {
    @Autowired
    private SePaymentMethodMapper sePaymentMethodMapper;
 
    /**
     * 获取全部未删除付款方式
     * @return
     */
    public QueryResultVo<List<SePaymentMethod>> getPaymentMethods() {
        QueryResultVo<List<SePaymentMethod>> rsVo = new QueryResultVo<>() ;
        rsVo.obj = sePaymentMethodMapper.getPaymentMethods();
        return rsVo ;
    }
}