zhubaomin
2025-04-14 d2263e86d837ef331d77fd39dccd79f100041e76
pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/paymentMethod/PaymentMethodSv.java
New file
@@ -0,0 +1,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 ;
    }
}