wzp
2025-09-03 a8553f9ef7e165b6348243af91caad1a987f8f9c
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
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);
    }