/**
 * All rights Reserved, Designed By www.freemud.cn
 *
 * @Title: IappWxappConfigManager
 * @Package com.freemud.platform.order.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.manager.dao.OpenApiEncryptDao;
import cn.freemud.manager.dao.entity.OpenApiEncrypt;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class OpenApiEncryptManager {

    @Autowired
    private OpenApiEncryptDao openApiEncryptDao;

    public OpenApiEncrypt findOpenApiEncryptByPartnerId(String partnerId) {
        OpenApiEncrypt openApiEncrypt = new OpenApiEncrypt();
        openApiEncrypt.setAppid(partnerId);
        return openApiEncryptDao.selectOne(openApiEncrypt);
    }

}
