package com.zcloud.service.api.impl;

import com.zcloud.entity.PageData;
import com.zcloud.mapper.dsno2.api.OtherApiMapper;
import com.zcloud.service.api.OtherApiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author fangjiakai
 * @date 2023/07/31 9:04
 */
@Service
@Transactional //开启事物
public class OtherApiServiceImpl implements OtherApiService {

    @Autowired
    private OtherApiMapper otherApiMapper;

    @Override
    public List<PageData> getEightWorks(PageData pd) {
        return otherApiMapper.getEightWorks(pd);
    }

}
