package com.cmvr.ti.service.ex;

import com.alibaba.fastjson2.JSONObject;
import com.cmvr.test.service.ex.ExTiProjectService;
import com.cmvr.ti.service.ITiProjectService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class ExTiProjectServiceImpl implements ExTiProjectService {

    private final ITiProjectService tiProjectService;

    @Override
    public JSONObject queryById(String id) {
        return JSONObject.from(tiProjectService.getById(id));
    }
}
