package com.sifang.modules.sunshine.SystemSetting.dao;

import com.sifang.modules.sunshine.SystemSetting.entity.SiteReceiptInformation;
import com.sifang.modules.sys.common.persistence.BaseDao;
import com.sifang.modules.sys.common.persistence.Parameter;
import org.springframework.stereotype.Repository;

@Repository
public class SiteReceiptInformationDao extends BaseDao<SiteReceiptInformation> {


    public SiteReceiptInformation getSiteReceiptInformationBySiteId(String siteId){
      return getByHql("from SiteReceiptInformation a where a.siteId =:p1 ",new Parameter(siteId));
    }
}
