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

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Record;
import com.sifang.modules.sunshine.SystemSetting.entity.CrmElectricPlan;
import com.sifang.modules.sys.common.persistence.BaseDao;
import org.springframework.stereotype.Repository;

@Repository
public class ElectricPlanDao extends BaseDao<CrmElectricPlan> {

    public Record getElectricPlanById(String id){
        return Db.findFirst("select * from crm_electric_plan where id=?", id);
    }
}
