package com.sifang.modules.partner.dao;

import com.sifang.modules.partner.entity.CrmHrUploadFileDetail;
import com.sifang.modules.sys.common.persistence.BaseDao;
import com.sifang.modules.sys.common.persistence.Parameter;
import org.springframework.stereotype.Repository;

@Repository
public class CrmHrUploadFileDetailDao  extends BaseDao<CrmHrUploadFileDetail>  {

    public CrmHrUploadFileDetail getDetailByEntryId(String entryId,String projectId){
        CrmHrUploadFileDetail record = getByHql("from CrmHrUploadFileDetail where entryId = :p1 and projectId = :p2 ", new Parameter(entryId, projectId));
        return record;
    }
}
