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)
	 * <p>Description(描述):注册 </p>
	 * <p>Title: save</p>
	 * @return
	 * @see org.service.IUserService#save()
	 */

	@Override
	public int save(Users user) {
		// TODO Auto-generated method stub
		return userDao.save(user);
	}

	/**(非 Javadoc)
	 * <p>Description(描述): 登陆</p>
	 * <p>Title: queryInfoByUsername</p>
	 * @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);
	}
	

}

posted @ 2017-09-26 11:56  穆雄雄  阅读(225)  评论(0编辑  收藏  举报