/**
 * All rights Reserved, Designed By www.freemud.cn
 *
 * @Title: IappWxappConfigManager
 * @Package cn.freemud.manager
 * @Description:
 * @author: ping.wu
 * @date: 2018/9/6 16:28
 * @version V1.0
 * @Copyright: 2018 www.freemud.cn Inc. All rights reserved.
 * 注意：本内容仅限于上海非码科技内部传阅，禁止外泄以及用于其他的商业目
 */
package cn.freemud.manager;

import cn.freemud.entities.db.OpenPlatformIappWxappConfig;
import cn.freemud.manager.dao.OpenPlatformIappWxappConfigDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class IappWxappConfigManager {

    @Autowired
    OpenPlatformIappWxappConfigDao iappWxappConfigDao;

    public OpenPlatformIappWxappConfig findIappWxappConfigByWxAppid(String wxAppid) {
        OpenPlatformIappWxappConfig iappWxappConfig = new OpenPlatformIappWxappConfig();
        iappWxappConfig.setWxAppid(wxAppid);
        return iappWxappConfigDao.selectOne(iappWxappConfig);
    }

}
