package com.sifang.modules.customer.dao;

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

@Repository
public class CrmCustomerEntryStockDao extends BaseDao<CrmCustomerEntryStock> {

    public CrmCustomerEntryStock findOneById(String powerStationCode) {
        return getByHql(" from CrmCustomerEntryStock where powerStationCode =:p1", new Parameter(powerStationCode));
    }

}
