JAvaは顔認識のソースコード【テスト効果図を含む】——ServiceImpl層(UserServiceImpl)を実現


 /**  
* @Title: BaseServiceImpl.java
* @Package org.service.impl
* @Description: TODO :
* @author A18ccms A18ccms_gmail_com  
* @date 2017-9-22  8:50:26
* @version V1.0  
*/
package org.service.impl;

import org.dao.IUserDao;
import org.dao.impl.UserDaoImpl;
import org.entity.Users;
import org.service.IUserService;

 /**   
 *    
 *  :test_face_photo   
 *  :BaseServiceImpl   
 *  :   Service 
 *  :Mu Xiongxiong  
 *  :2017-9-22  8:50:26   
 *  :Mu Xiongxiong   
 *  :2017-9-22  8:50:26   
 *  :   
 * @version    
 *    
 */
public class UserServiceImpl implements IUserService {

	private IUserDao userDao  = new UserDaoImpl();
	
	
	/**(  Javadoc)
	 * 

Description( ):

*

Title: save

* @return * @see org.service.IUserService#save() */ @Override public int save(Users user) { // TODO Auto-generated method stub return userDao.save(user); } /**( Javadoc) *

Description( ):

*

Title: queryInfoByUsername

* @param username * @return * @see org.service.IUserService#queryInfoByUsername(java.lang.String) */ @Override public Users queryInfoByUsername(String username) { // TODO Auto-generated method stub return userDao.queryInfoByUsername(username); } }