icustomerservice.java

来自「SSH示范」· Java 代码 · 共 80 行

JAVA
80
字号
package com.iplan.portal.order.service;

import java.util.List;

import com.iplan.portal.order.pojo.Customer;

/**
 * http://www.hao-se.cn
 * 
 * @author ws
 */
public interface ICustomerService {
	/**
	 * 根据id获得pojo
	 * 
	 * @param id id
	 * @return
	 */
	Customer getCustomerById(String id);

	/**
	 * 根据customerName获得pojo
	 * 
	 * @param areaId
	 * @param userId
	 * @param customerName
	 * @return
	 */
	Customer getCustomerByName(String areaId, String userId, String customerName);
	
	/**
	 * 获得pojo的list
	 * 
	 * @param areaId
	 * @param userId
	 * @return
	 */
	List getCustomerList(String areaId, String userId);

	/**
	 * 获得pojo的list
	 * 
	 * @param userId
	 * @param customerName
	 * @return
	 */
	List getCustomerListByUser(String userId, String customerName);
	
	/**
	 * 获得pojo的list
	 * 
	 * @param areaId
	 * @param userId
	 * @param customerName
	 * @return
	 */
	List getCustomerListByCusName(String areaId, String userId, String customerName);
	
	/**
	 * 保存pojo
	 * 
	 * @param customer
	 */
	void saveCustomer(Customer customer);

	/**
	 * 修改pojo
	 * 
	 * @param customer
	 */
	void updateCustomer(Customer customer);

	/**
	 * 删除pojo
	 * 
	 * @param customer
	 */
	void deleteCustomer(Customer customer);
}

⌨️ 快捷键说明

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