New file |
| | |
| | | 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 ; |
| | | } |
| | | } |