package com.huigou.topsun.proofing.application.impl;

import com.huigou.topsun.proofing.application.ProofingApplyLookedApplication;
import com.huigou.topsun.proofing.domain.proofingApply.model.ProofingApplyLooked;
import com.huigou.topsun.proofing.repository.proofingApply.ProofingApplyLookedRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProofingApplyLookedApplicationImpl implements ProofingApplyLookedApplication {

    @Autowired
    ProofingApplyLookedRepository proofingApplyLookedRepository;

    @Override
    public ProofingApplyLooked findByProofingApplyId(String proofingApplyId) {
        return proofingApplyLookedRepository.findByProofingApplyId(proofingApplyId);
    }
}
