UserService.java
769 Bytes
package com.rnt.service;
import com.rnt.model.zf.CustBinding;
/**
* Copyright: Copyright (c) 2017 zteits
*
* @ClassName: com.rnt.service
* @Description: 用户信息
* @version: v1.0.0
* @author: atao
* @date: 2017/6/8 下午5:19
* Modification History:
* Date Author Version Description
* ---------------------------------------------------------*
* 2017/6/8 atao v1.0.0 创建
*/
public class UserService {
public CustBinding queryBindInfoByOpenId(String openId) {
CustBinding custBinding = CustBinding.dao.findFirst(
"select * from td_b_cust_binding t where t.data_state = 1 AND t.binding_type = 1 AND t.binding_id = ?",
openId);
return custBinding;
}
}