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

📄 d002fbdf8600001d183ca9fc5b3b580e

📁 实训时做的物流系统
💻
字号:
package com.cost.biz;

import java.util.List;

import org.apache.struts.action.ActionErrors;

import com.cost.persistence.util.HibernateUtil;
import com.cost.persistence.hibernate.pojo.Userinfo;
import com.cost.persistence.hibernate.pojo.Order;

public class FeeOperate implements java.io.Serializable {
	//insert
	//update(DoorState,UpdateApplyState,OrderState)
	//select
	public static List FeeForAccounter(int userid){
		List list = HibernateUtil.currentSession().createQuery
		("from order where userinfoByUserId='"+userid+"'").list();
		return list;
	}
	public List FeeWaitForCheck(){
		List list = HibernateUtil.currentSession().createQuery
		("from Order where cancleState='0'").list();
		return list;
	}
	public List FeeWaitForRecord(){
		List list = HibernateUtil.currentSession().createQuery
		("from Order where cancleState='1'").list();
		return list;
	}
	public List FeeWaitForCancle(){
		List list = HibernateUtil.currentSession().createQuery
		("from Order where cancleState='2'").list();
		return list;
	}
	public Order FeeView(String orderNo){
		List list = HibernateUtil.currentSession().createQuery
		("from Order where orderNo='"+orderNo+"'").list();
		Order order = (Order)list.get(0);
		return order;
	}
    public ActionErrors FeeAdd(){
    	ActionErrors errors = new ActionErrors();
    	return errors;
    }
    public ActionErrors FeeUpdate(){
    	ActionErrors errors = new ActionErrors();
    	return errors;
    }
	public ActionErrors FeeCheck(){
    	ActionErrors errors = new ActionErrors();
    	return errors;
    }
    public ActionErrors FeeRecord(){
    	ActionErrors errors = new ActionErrors();
    	return errors;
    }
    public ActionErrors FeeCancle(){
    	ActionErrors errors = new ActionErrors();
    	return errors;
    }
}

⌨️ 快捷键说明

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