package com.ruoyi.system.service.impl;

//import com.tianyi.voucher.common.ApiResult;
//import com.tianyi.voucher.common.ReturnResult;
//import com.tianyi.voucher.constant.ApiConstant;
//import com.tianyi.voucher.model.doc.CustomDocRequestModel;
//import com.tianyi.voucher.service.AuxiliaryQueryService;
//import com.tianyi.voucher.utils.VoucherUtils;
import com.ruoyi.system.common.ApiResult;
import com.ruoyi.system.service.AuxiliaryQueryService;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * @Author jiuli
 * @Date 2024/3/26
 */
@Service
public class AuxiliaryQueryServiceImpl {
//        implements AuxiliaryQueryService {

//    private static final Logger logger = LoggerFactory.getLogger(AuxiliaryQueryServiceImpl.class);
//
//    @Override
//    public ApiResult query() {
//        ReturnResult result = VoucherUtils.invokeByGet(StringUtils.EMPTY, StringUtils.EMPTY, ApiConstant.AUXILIARY_ACCOUNTING_DETAIL_QUERY);
//        logger.info("返回数据:" + result.getData());
//        return new ApiResult<>(200, "操作成功!", result.getData());
//    }
//
//    @Override
//    public ApiResult find(CustomDocRequestModel customDocRequestModel) {
//        ReturnResult result = VoucherUtils.callVoucherQuery(customDocRequestModel, ApiConstant.CUSTOM_DOCUMENT_MAINTENANCE_LIST_QUERY);
//        logger.info("返回数据:" + result.getData());
//        return new ApiResult<>(200, "操作成功!", result.getData());
//    }
}
