You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					
					
						
							19 lines
						
					
					
						
							549 B
						
					
					
				
			
		
		
	
	
							19 lines
						
					
					
						
							549 B
						
					
					
				| package com.ynxbd.common.dao.sys;
 | |
| 
 | |
| import com.ynxbd.common.config.db.DataBase;
 | |
| 
 | |
| public class SysUserDao {
 | |
| 
 | |
|     /**
 | |
|      * 根据openid查询绑定健康卡的用户
 | |
|      *
 | |
|      * @param username 用户名
 | |
|      * @return 患者集合
 | |
|      */
 | |
|     public String selectByUsername(String username) {
 | |
|         String sql = "select password from sys_user where isDisabled= 0 and deletedState= 0 and username= ?";
 | |
|         return DataBase.selectByColumn(sql, String.class, ps -> {
 | |
|             ps.setString(1, username);
 | |
|         });
 | |
|     }
 | |
| }
 | |
| 
 |