亚洲熟妇av一区二区三区,久久久久久精品观看sss,免费观看四虎精品国产永久,国产成人精品一区二三区熟女,天堂网在线最新版www资源网

進銷存管理系統(tǒng)的開發(fā)(進銷存管理系統(tǒng)的開發(fā)背景)

進銷存管理系統(tǒng)的功能需求:

1,實現(xiàn)采購訂單的持久化,對采購商品入庫處理,還有就是采購的退貨處理;

2,實現(xiàn)商品的入庫、出庫操作,查詢商品的庫存信息,修改商品的倉庫號

3,實現(xiàn)銷售訂單的添加,銷售發(fā)貨處理,并且銷售的退貨處理

4,實現(xiàn)新建員工培訓信息和查詢員工培訓記錄功能

5,實現(xiàn)對商品、供應商、客戶資料的管理,對員工用戶的管理,最重要的是對系統(tǒng)數(shù)據(jù)的備份和恢復

代碼的截圖如下所示:

進銷存管理系統(tǒng)的開發(fā)(進銷存管理系統(tǒng)的開發(fā)背景)

系統(tǒng)的截圖如下所示:

進銷存管理系統(tǒng)的開發(fā)(進銷存管理系統(tǒng)的開發(fā)背景)

進銷存管理系統(tǒng)的開發(fā)(進銷存管理系統(tǒng)的開發(fā)背景)

進銷存管理系統(tǒng)的開發(fā)(進銷存管理系統(tǒng)的開發(fā)背景)

進銷存管理系統(tǒng)的開發(fā)(進銷存管理系統(tǒng)的開發(fā)背景)

進銷存管理系統(tǒng)的開發(fā)(進銷存管理系統(tǒng)的開發(fā)背景)

bean層manage的代碼如下所示:

package com.xu.bean;

import javax.persistence.Column;

import javax.persistence.Entity;

import javax.persistence.GeneratedValue;

import javax.persistence.GenerationType;

import javax.persistence.Id;

import javax.persistence.Table;

import org.springframework.stereotype.Component;

/**

*

* @author 公眾號:springmeng

*管理員

*id:管理員編號

*name:管理員名字

*password:登錄密碼

*gender:性別

*age:年齡

*phone number:手機號碼

*deptId:部門id

*/

@Entity

@Table(name = "managers")

@Component

public class Managers {

@Id

@GeneratedValue(strategy=GenerationType.AUTO)

@Column(name="managers_id")

private Long id;

@Column(name="managers_name")

private String name;

@Column(name="managers_password")

private String password;

@Column(name="managers_gender")

private String gender;

@Column(name="managers_age")

private Long age;

@Column(name="managers_phonenumber")

private String phonenumber;

/*@ManyToOne(cascade=CascadeType.ALL,fetch=FetchType.LAZY,optional=false,targetEntity=Dept.class)

@JoinColumn(name="dept_name")

private String deptName;*/

public Long getId() {

return id;

}

public void setId(Long id) {

this.id = id;

}

public String getName() {

return name;

}

public void setName(String name) {

this.name = name;

}

public String getPassword() {

return password;

}

public void setPassword(String password) {

this.password = password;

}

public String getGender() {

return gender;

}

public void setGender(String gender) {

this.gender = gender;

}

public String getPhonenumber() {

return phonenumber;

}

public void setPhonenumber(String phonenumber) {

this.phonenumber = phonenumber;

}

public Long getAge() {

return age;

}

public void setAge(Long age) {

this.age = age;

}

/*public String getDeptName() {

return deptName;

}

public void setDeptName(String deptName) {

this.deptName = deptName;

}*/

}

Mananger的代碼如下所示:

package com.xu.service;

import java.util.List;

import com.xu.bean.Employee;

import com.xu.bean.Managers;

import com.xu.bean.Message;

import com.xu.bean.PurchaseItem;

import com.xu.bean.PurchaseOrder;

import com.xu.exception.ServiceException;

public interface ManagerService {

public int register(Managers manager)throws ServiceException;

public Managers login(String name,String password)throws ServiceException;

public int addPurchaseOrder(PurchaseOrder purchase,List<PurchaseItem> purchaseItem)throws ServiceException;

public List<PurchaseOrder> findAllPurchaseOrder()throws ServiceException;

public List<PurchaseOrder> findPurchaseOrderByPage(int currentPage)throws ServiceException;

public Long findPurchaseOrderCount()throws ServiceException;

public Long getTotalPage()throws ServiceException;

public PurchaseOrder delOrderByPurchaseId(Long orderId)throws ServiceException;

public List<PurchaseItem> delPurchaseItemByPurchaseId(Long orderId)throws ServiceException;

public List<PurchaseItem> findPurchaseItemByPurchaseOrderId(Long orderId)throws ServiceException;

public String findFlagByOrderId(Long orderId)throws ServiceException;

public int updateFlagByOrderId(String string, Long orderId)throws ServiceException;

public Employee employeelogin(String name, String password)throws ServiceException;

public int employeeregister(Employee employee)throws ServiceException;

public int updateStockByReturnPurchaseItem(List<PurchaseItem> purchaseItem)throws ServiceException;

public Employee updateEmplyeeByName(Employee employee)throws ServiceException;

public Managers updateManagersByName(Managers managers)throws ServiceException;

public Long findMessageCount()throws ServiceException;

public List<Message> findAllMessage()throws ServiceException;

public Message findMessageById(Long id)throws ServiceException;

public int updateEmployeeById(Long id)throws ServiceException;

public List<Message> findMessageByPage(int i)throws ServiceException;

public Long getMessageTotalPage()throws ServiceException;

public Long findMessageCounts()throws ServiceException;

歡迎轉(zhuǎn)發(fā),點擊了解更多可獲取項目相關文件。

版權聲明:本文內(nèi)容由互聯(lián)網(wǎng)用戶自發(fā)貢獻,該文觀點僅代表作者本人。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。如發(fā)現(xiàn)本站有涉嫌抄襲侵權/違法違規(guī)的內(nèi)容, 請發(fā)送郵件至 舉報,一經(jīng)查實,本站將立刻刪除。