After completing the software engineering project, a product after-sales service system based on Java EE [source code + paper]


foreword

Today, seniors share with you a Java web graduation-design-design project:

Product after-sales service system based on Java EE

Project acquisition:
https://gitee.com/sinonfin/L-javaWebSha

1. Project design

1. Modular design

insert image description here
System Management Module
This module is mainly used to manage the system, including the setting of system authority, addition and deletion of system administrators, modification of passwords, user management, etc.
System privileges are prerequisites for system operation. The design system must classify the people who use the system. Different people can use different permissions. Administrator permissions cannot be granted arbitrarily, and can only be used by the company's senior management. Ordinary users use ordinary permissions. They can only modify and query their own information, and cannot query and modify other people's information, otherwise the information will be leaked and the company will become a mess.

Service Information Management Module
This module is mainly for managing and maintaining consumer information, and building data files for customer information, including adding, deleting and modifying after-sales service information. After the customer purchases, they can log in the customer information into the system, and then provide follow-up service to the customer. The customer can comment on the service and make suggestions. The company can issue questionnaires to customers from time to time and conduct satisfaction surveys.

Product installation information management
This module is mainly responsible for registering and deleting product installation information. Ensure that the service is in place and be responsible to customers. Customers can check the installation information and progress of the products they purchased.

Product maintenance information management
registers the addition, deletion and modification of product maintenance information (including maintenance time, maintenance content, maintenance amount, etc.). prone to problems.

Product return information management
mainly includes the addition, deletion and modification of product return information (including return date, reason for change, etc.);

User reply information management
This includes the addition, deletion and modification of user reply records, so as to understand the needs of users.

Complaint information management
It mainly includes product complaint information at the front desk, administrator viewing, replying, etc.

2. Realize the effect

insert image description here
insert image description here
insert image description here

2. Part of the source code

Some code examples:

管理员还可以对客户留言的投诉信息进行回复或者删除操作,相关界面如下:
删除留言
	public int delGuestBook(int id[]){
    
    
		DBO dbo=new DBO();
		dbo.open();
		try{
    
    
			for(int i = 0;i<id.length;i++){
    
    
  dbo.executeUpdate("delete from  guestbook  where  id = '"+id[i]+"'");	
	dbo.executeUpdate("delete from  replay  where  mid = '"+id[i]+"'");
			}
			return Constant.SUCCESS;
		}catch(Exception e){
    
    
			e.printStackTrace();
			return Constant.SYSTEM_ERROR;
		}finally{
    
    
			dbo.close();
		}
	}
回复留言
	public int reGuestBook(int mid ,String replay,String replayer){
    
    
		String sql = "insert into replay (mid,replay,replayer,replaytime)" +
	" values ('"+mid+"','"+replay+"','"+replayer+"','"+date+"') ";
	String sql2 = "update guestbook set replay='1' where id='"+mid+"' ";
		DBO dbo = new DBO();
		dbo.open();
		try{
    
    
			int i = dbo.executeUpdate(sql);
			int j = dbo.executeUpdate(sql2);
			if(i == j && i== 1)
				return Constant.SUCCESS;
			else
				return Constant.SYSTEM_ERROR;
		}catch(Exception e){
    
    
			e.printStackTrace();
			return Constant.SYSTEM_ERROR;
		}finally{
    
    
			dbo.close();
		}
	}

Project source code

Project acquisition:
https://gitee.com/sinonfin/L-javaWebSha

Guess you like

Origin blog.csdn.net/mojikopi/article/details/131783664