Blame view

src/main/java/com/rnt/service/UserService.java 769 Bytes
e80df919   atao   init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  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;
      }
  }