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.
		
		
		
		
			
				
					
					
						
							17 lines
						
					
					
						
							359 B
						
					
					
				
			
		
		
	
	
							17 lines
						
					
					
						
							359 B
						
					
					
				| package com.ynxbd.common.dao;
 | |
| 
 | |
| import com.ynxbd.common.bean.Dept;
 | |
| import com.ynxbd.common.config.db.DataBase;
 | |
| 
 | |
| import java.util.List;
 | |
| 
 | |
| public class DeptDao {
 | |
| 
 | |
|     /**
 | |
|      * 查询科室列表
 | |
|      */
 | |
|     public List<Dept> selectDeptList() {
 | |
|         String sql = "select * from dept";
 | |
|         return DataBase.select(sql, Dept.class);
 | |
|     }
 | |
| }
 | |
| 
 |