package com.ruoyi.system.service.impl;
|
|
import java.util.List;
|
import java.util.Map;
|
|
import com.ruoyi.common.annotation.DataSource;
|
import com.ruoyi.common.enums.DataSourceType;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
import com.ruoyi.system.mapper.PayInfoMapper;
|
import com.ruoyi.system.domain.PayInfo;
|
import com.ruoyi.system.service.IPayInfoService;
|
|
/**
|
* 支付信息Service业务层处理
|
*/
|
@DataSource(DataSourceType.SQLSERVER)
|
@Service
|
public class PayInfoServiceImpl implements IPayInfoService {
|
@Autowired
|
private PayInfoMapper payInfoMapper;
|
|
/**
|
* 根据服务订单ID查询支付信息列表
|
*
|
* @param serviceOrdIDDt 服务订单ID
|
* @return 支付信息列表
|
*/
|
@Override
|
public List<PayInfo> selectPayInfoByServiceOrdIDDt(String serviceOrdIDDt) {
|
return payInfoMapper.selectPayInfoByServiceOrdIDDt(serviceOrdIDDt);
|
}
|
|
/**
|
* 根据服务订单ID查询最新发票信息
|
*
|
* @param serviceOrderId 服务订单ID
|
* @return 最新发票信息
|
*/
|
@Override
|
public Map<String, Object> selectLatestInvoiceInfo(String serviceOrderId) {
|
return payInfoMapper.selectLatestInvoiceInfo(serviceOrderId);
|
}
|
|
|
}
|