⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 customerserviceimpl.java

📁 该程序能够准确的记录互联网用户上网所用的流量
💻 JAVA
字号:
package com.briup.customer.service.impl;import java.util.Set;import com.briup.common.dao.pojo.Product;import com.briup.common.dao.pojo.User;import com.briup.common.exception.CommonException;import com.briup.customer.dao.ICustomerDao;import com.briup.customer.service.ICustomerService;public class CustomerServiceImpl implements ICustomerService{	private ICustomerDao customerDao;	public void setCustomerDao(ICustomerDao customerDao){		this.customerDao=customerDao;	}			//	通过品牌名称查询品牌信息 	public Product getProductInfo(String name) throws Exception {		// TODO Auto-generated method stub		try {			return customerDao.getProductInfo(name);		} catch (CommonException e) {			e.printStackTrace();			throw new CommonException(e.getMessage());		}	}			//	根据品牌名称查找品牌信息		public Product getProductByName(String name) throws Exception {		try{			Product product = customerDao.findProductByName(name);			return product;		}catch(Exception e){			e.printStackTrace();			return null;		}	}	public Set getProduct(User user) throws Exception {		// TODO Auto-generated method stub		return null;	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -