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

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


/**
 * @author lzp
 * @date 2019/10/11 14:28
 */
@Repository
public class FactoryFittingRefundMsgDao extends BaseDao<CrmPlantformFittingRefundMsg> {


    public CrmPlantformFittingRefundMsg getByRefundId(String fundId){

        return getByHql("from CrmPlantformFittingRefundMsg where fittingRefundId = :p1 ",new Parameter(fundId));
    }


}
